stalwart-0.15.5
checks.x86_64-linux.nixos-eta
· build #615
· raw
1structuredAttrs is enabled
unpackPhase
2unpacking source archive /nix/store/v96a568vgkdp6c4p0s28ll3525fq7y68-source3source root is source4Executing cargoSetupPostUnpackHook5Finished cargoSetupPostUnpackHookpatchPhase
6applying patch /nix/store/1nawx5prczx9vynlvhn4783iz6m68vlr-return-empty-s3-blob-for-empty-range.patch7patching file crates/store/src/backend/s3/mod.rs8Executing cargoSetupPostPatchHook9Validating consistency between /build/source/Cargo.lock and /build/stalwart-0.15.5-vendor-rust-s3-r2-signing-fixes/Cargo.lock10Finished cargoSetupPostPatchHookbuildPhase
11Executing cargoBuildHook12cargoBuildHook flags: -j 48 --target x86_64-unknown-linux-gnu --offline --profile release --no-default-features --features=sqlite\,postgres\,mysql\,rocks\,s3\,redis\,azure\,nats -p stalwart13 Compiling proc-macro2 v1.0.10614 Compiling quote v1.0.4415 Compiling unicode-ident v1.0.2316 Compiling libc v0.2.18217 Compiling cfg-if v1.0.418 Compiling version_check v0.9.519 Compiling serde_core v1.0.22820 Compiling typenum v1.19.021 Compiling serde v1.0.22822 Compiling shlex v1.3.023 Compiling find-msvc-tools v0.1.924 Compiling memchr v2.8.025 Compiling subtle v2.6.126 Compiling smallvec v1.15.127 Compiling parking_lot_core v0.9.1228 Compiling pin-project-lite v0.2.1629 Compiling itoa v1.0.1730 Compiling equivalent v1.0.231 Compiling allocator-api2 v0.2.2132 Compiling const-oid v0.9.633 Compiling scopeguard v1.2.034 Compiling portable-atomic v1.13.135 Compiling foldhash v0.2.036 Compiling critical-section v1.2.037 Compiling futures-core v0.3.3138 Compiling zerocopy v0.8.3939 Compiling futures-sink v0.3.3140 Compiling cpufeatures v0.2.1741 Compiling autocfg v1.5.042 Compiling slab v0.4.1243 Compiling futures-io v0.3.3144 Compiling log v0.4.2945 Compiling untrusted v0.9.046 Compiling pin-utils v0.1.047 Compiling stable_deref_trait v1.2.148 Compiling futures-task v0.3.3149 Compiling pkg-config v0.3.3250 Compiling percent-encoding v2.3.251 Compiling crossbeam-utils v0.8.2152 Compiling litemap v0.8.153 Compiling writeable v0.6.254 Compiling icu_normalizer_data v2.1.155 Compiling icu_properties_data v2.1.256 Compiling libm v0.2.1657 Compiling getrandom v0.3.458 Compiling base64 v0.22.159 Compiling lock_api v0.4.1460 Compiling futures-channel v0.3.3161 Compiling fnv v1.0.762 Compiling thiserror v2.0.1863 Compiling zmij v1.0.2164 Compiling utf8_iter v1.0.465 Compiling rustls v0.23.3666 Compiling bitflags v2.11.067 Compiling base64ct v1.8.368 Compiling serde_json v1.0.14969 Compiling getrandom v0.4.170 Compiling httparse v1.10.171 Compiling generic-array v0.14.772 Compiling form_urlencoded v1.2.273 Compiling time-core v0.1.874 Compiling num-conv v0.2.075 Compiling powerfmt v0.2.076 Compiling tower-service v0.3.377 Compiling ipnet v2.11.078 Compiling try-lock v0.2.579 Compiling httpdate v1.0.380 Compiling vcpkg v0.2.1581 Compiling either v1.15.082 Compiling atomic-waker v1.1.283 Compiling tinyvec_macros v0.1.184 Compiling sha1_smol v1.0.185 Compiling rustversion v1.0.2286 Compiling data-encoding v2.10.087 Compiling zstd-safe v7.2.488 Compiling hashbrown v0.16.189 Compiling num-traits v0.2.1990 Compiling tower-layer v0.3.391 Compiling ryu v1.0.2392 Compiling simdutf8 v0.1.593 Compiling crc32fast v1.5.094 Compiling pem-rfc7468 v0.7.095 Compiling want v0.3.196 Compiling tinyvec v1.10.097 Compiling spin v0.9.898 Compiling simd-adler32 v0.3.899 Compiling adler2 v2.0.1100 Compiling minimal-lexical v0.2.1101 Compiling aho-corasick v1.1.4102 Compiling sync_wrapper v1.0.2103 Compiling heck v0.5.0104 Compiling regex-syntax v0.8.9105 Compiling iri-string v0.7.10106 Compiling thiserror v1.0.69107 Compiling rustix v1.1.3108 Compiling time-macros v0.2.27109 Compiling lazy_static v1.5.0110 Compiling semver v1.0.27111 Compiling anyhow v1.0.101112 Compiling linux-raw-sys v0.11.0113 Compiling ahash v0.8.12114 Compiling iana-time-zone v0.1.65115 Compiling byteorder v1.5.0116 Compiling pure-rust-locales v0.8.2117 Compiling num-bigint-dig v0.8.6118 Compiling syn v1.0.109119 Compiling crunchy v0.2.4120 Compiling miniz_oxide v0.8.9121 Compiling siphasher v1.0.2122 Compiling encoding_rs v0.8.35123 Compiling nom v7.1.3124 Compiling zlib-rs v0.6.0125 Compiling crc-catalog v2.4.0126 Compiling rayon-core v1.13.0127 Compiling libbz2-rs-sys v0.2.2128 Compiling bumpalo v3.19.1129 Compiling arrayvec v0.7.6130 Compiling constant_time_eq v0.3.1131 Compiling oid-registry v0.8.1132 Compiling rustc_version v0.4.1133 Compiling cfg_aliases v0.2.1134 Compiling crc v3.4.0135 Compiling getrandom v0.1.16136 Compiling tagptr v0.2.0137 Compiling indexmap v2.13.0138 Compiling nix v0.30.1139 Compiling pem v3.0.6140 Compiling resolv-conf v0.7.6141 Compiling deflate64 v0.1.10142 Compiling parking v2.2.1143 Compiling ppmd-rust v1.4.0144 Compiling opaque-debug v0.3.1145 Compiling glob v0.3.3146 Compiling tiny-keccak v2.0.2147 Compiling quick-xml v0.38.4148 Compiling rustls v0.21.12149 Compiling static_assertions v1.1.0150 Compiling syn v2.0.115151 Compiling core2 v0.4.0152 Compiling curve25519-dalek v4.1.3153 Compiling bzip2 v0.6.1154 Compiling itertools v0.14.0155 Compiling proc-macro-error-attr v1.0.4156 Compiling foldhash v0.1.5157 Compiling castaway v0.2.4158 Compiling rtrb v0.3.2159 Compiling rle-decode-fast v1.0.3160 Compiling arrayref v0.3.9161 Compiling clang-sys v1.8.1162 Compiling psl-types v2.0.11163 Compiling once_cell v1.21.3164 Compiling xxhash-rust v0.8.15165 Compiling md5 v0.8.0166 Compiling zopfli v0.8.3167 Compiling constant_time_eq v0.4.2168 Compiling psl v2.1.190169 Compiling hashbrown v0.15.5170 Compiling unicode-normalization v0.1.25171 Compiling proc-macro-error v1.0.4172 Compiling libloading v0.8.9173 Compiling crossbeam-epoch v0.9.18174 Compiling crossbeam-channel v0.5.15175 Compiling concurrent-queue v2.5.0176 Compiling tracing-core v0.1.36177 Compiling dary_heap v0.3.8178 Compiling adler32 v1.2.0179 Compiling bindgen v0.72.1180 Compiling ident_case v1.0.1181 Compiling fastrand v1.9.0182 Compiling nohash-hasher v0.2.0183 Compiling fast-float v0.2.0184 Compiling strsim v0.11.1185 Compiling base64 v0.21.7186 Compiling http-types v2.12.0187 Compiling winnow v0.7.14188 Compiling jobserver v0.1.34189 Compiling getrandom v0.2.17190 Compiling event-listener v2.5.3191 Compiling libflate_lz77 v2.2.0192 Compiling waker-fn v1.2.0193 Compiling farmhash v1.1.5194 Compiling paste v1.0.15195 Compiling gethostname v1.1.0196 Compiling base16ct v0.2.0197 Compiling const-random-macro v0.1.16198 Compiling mail-builder v0.4.4199 Compiling libflate v2.2.1200 Compiling futures-lite v1.13.0201 Compiling cc v1.2.56202 Compiling async-channel v1.9.0203 Compiling rustls-pemfile v1.0.4204 Compiling azure_core v0.21.0205 Compiling phf_shared v0.13.1206 Compiling errno v0.3.14207 Compiling mio v1.1.1208 Compiling socket2 v0.6.2209 Compiling rand_core v0.6.4210 Compiling signal-hook-registry v1.4.8211 Compiling regex-automata v0.4.14212 Compiling parking_lot v0.12.5213 Compiling rand_core v0.9.5214 Compiling rand_core v0.5.1215 Compiling const-random v0.1.18216 Compiling itertools v0.13.0217 Compiling infer v0.2.3218 Compiling unicode-bidi v0.3.18219 Compiling fastrand v2.3.0220 Compiling dyn-clone v1.0.20221 Compiling base64 v0.13.1222 Compiling toml_datetime v0.7.5+spec-1.1.0223 Compiling password-hash v0.5.0224 Compiling ff v0.13.1225 Compiling rustc-hash v2.1.1226 Compiling unicode-properties v0.1.4227 Compiling dlv-list v0.5.2228 Compiling phf v0.13.1229 Compiling phf_generator v0.13.1230 Compiling socket2 v0.5.10231 Compiling event-listener v5.4.1232 Compiling proc-macro-error-attr2 v2.0.0233 Compiling phf_shared v0.12.1234 Compiling group v0.13.0235 Compiling indexmap v1.9.3236 Compiling hashbrown v0.14.5237 Compiling fallible-iterator v0.2.0238 Compiling num-integer v0.1.46239 Compiling openssl-probe v0.1.6240 Compiling chrono-tz v0.10.4241 Compiling event-listener-strategy v0.5.4242 Compiling phf v0.12.1243 Compiling phf_codegen v0.13.1244 Compiling num_cpus v1.17.0245 Compiling termcolor v1.4.1246 Compiling mysql_common v0.35.5247 Compiling num-bigint v0.4.6248 Compiling hashbrown v0.12.3249 Compiling deranged v0.5.6250 Compiling uuid v1.21.0251 Compiling openssl-probe v0.2.1252 Compiling rusticata-macros v4.1.0253 Compiling crc16 v0.4.0254 Compiling stringprep v0.1.5255 Compiling jieba-macros v0.8.1256 Compiling async-lock v3.4.2257 Compiling btoi v0.4.3258 Compiling whoami v2.1.1259 Compiling crossbeam-deque v0.8.6260 Compiling cedarwood v0.4.6261 Compiling toml_parser v1.0.8+spec-1.1.0262 Compiling RustyXML v0.3.0263 Compiling ordered-multimap v0.7.3264 Compiling twox-hash v2.1.2265 Compiling linked-hash-map v0.5.6266 Compiling home v0.5.12267 Compiling saturating v0.1.0268 Compiling rustls-native-certs v0.6.3269 Compiling scheduled-thread-pool v0.2.7270 Compiling lru v0.14.0271 Compiling whatlang v0.18.0272 Compiling moka v0.12.13273 Compiling hashlink v0.10.0274 Compiling keyed_priority_queue v0.4.2275 Compiling crossbeam-queue v0.3.12276 Compiling privdrop v0.5.6277 Compiling num-iter v0.1.45278 Compiling arc-swap v1.8.2279 Compiling cexpr v0.6.0280 Compiling lru-cache v0.1.2281 Compiling nibble_vec v0.1.0282 Compiling rust-ini v0.21.3283 Compiling endian-type v0.1.2284 Compiling nohash v0.2.0285 Compiling md5 v0.7.0286 Compiling ring v0.17.14287 Compiling zstd-sys v2.0.16+zstd.1.5.7288 Compiling libz-sys v1.1.23289 Compiling blake3 v1.8.3290 Compiling lz4-sys v1.11.1+lz4-1.10.0291 Compiling bzip2-sys v0.1.13+1.0.8292 Compiling libsqlite3-sys v0.35.0293 Compiling maplit v1.0.2294 Compiling fallible-streaming-iterator v0.1.9295 Compiling bytemuck v1.25.0296 Compiling hex v0.4.3297 Compiling bit-vec v0.8.0298 Compiling toml_edit v0.23.10+spec-1.0.0299 Compiling fallible-iterator v0.3.0300 Compiling radix_trie v0.2.1301 Compiling r2d2 v0.8.10302 Compiling lz4_flex v0.12.0303 Compiling bitpacking v0.9.3304 Compiling typewit_proc_macros v1.8.1305 Compiling base32 v0.5.1306 Compiling rayon v1.11.0307 Compiling bit-set v0.8.0308 Compiling roaring v0.11.3309 Compiling prometheus v0.14.0310 Compiling urlencoding v2.1.3311 Compiling virtue v0.0.18312 Compiling decancer v3.3.3313 Compiling regex v1.12.3314 Compiling radium v0.7.0315 Compiling object v0.37.3316 Compiling typewit v1.14.2317 Compiling cfb v0.7.3318 Compiling time v0.3.47319 Compiling proc-macro-crate v3.4.0320 Compiling ppv-lite86 v0.2.21321 Compiling doc-comment v0.3.4322 Compiling tap v1.0.1323 Compiling unty v0.0.4324 Compiling zstd v0.13.3325 Compiling gimli v0.32.3326 Compiling common v0.15.5 (/build/source/crates/common)327 Compiling unicode-script v0.5.8328 Compiling hostname v0.4.2329 Compiling wyz v0.5.1330 Compiling phf_shared v0.11.3331 Compiling same-file v1.0.6332 Compiling new_debug_unreachable v1.0.6333 Compiling crypto-common v0.1.7334 Compiling block-buffer v0.10.4335 Compiling term v1.2.1336 Compiling imagesize v0.14.0337 Compiling rustc-demangle v0.1.27338 Compiling include-flate-compress v0.3.1339 Compiling keccak v0.1.6340 Compiling funty v2.0.0341 Compiling digest v0.10.7342 Compiling bincode_derive v2.0.1343 Compiling synstructure v0.13.2344 Compiling darling_core v0.20.11345 Compiling rand_chacha v0.3.1346 Compiling rand_chacha v0.9.0347 Compiling rand_chacha v0.2.2348 Compiling proc-macro-error2 v2.0.1349 Compiling infer v0.19.0350 Compiling unicode-security v0.1.2351 Compiling precomputed-hash v0.1.1352 Compiling fixedbitset v0.5.7353 Compiling opentelemetry-semantic-conventions v0.29.0354 Compiling heck v0.4.1355 Compiling rand v0.8.5356 Compiling string_cache v0.8.9357 Compiling ascii-canvas v4.0.0358 Compiling sha3 v0.10.8359 Compiling ena v0.14.4360 Compiling rand v0.9.2361 Compiling rand v0.7.3362 Compiling bitvec v1.0.1363 Compiling petgraph v0.7.1364 Compiling walkdir v2.5.0365 Compiling konst_kernel v0.3.15366 Compiling const_panic v0.2.15367 Compiling lalrpop-util v0.22.2368 Compiling itertools v0.10.5369 Compiling unicode-xid v0.2.6370 Compiling unicode-general-category v1.1.0371 Compiling sha1collisiondetection v0.3.4372 Compiling konst v0.3.16373 Compiling generic-array v1.3.5374 Compiling buffered-reader v1.4.0375 Compiling memsec v0.7.0376 Compiling utf-8 v0.7.6377 Compiling jemalloc-sys v0.5.4+5.3.0-patched378 Compiling memory-stats v1.2.0379 Compiling snafu-derive v0.7.5380 Compiling mime v0.3.17381 Compiling fancy-regex v0.17.0382 Compiling zeroize_derive v1.4.3383 Compiling serde_derive v1.0.228384 Compiling tokio-macros v2.6.0385 Compiling displaydoc v0.2.5386 Compiling zerofrom-derive v0.1.6387 Compiling futures-macro v0.3.31388 Compiling yoke-derive v0.8.1389 Compiling zerovec-derive v0.11.2390 Compiling tracing-attributes v0.1.31391 Compiling thiserror-impl v2.0.18392 Compiling async-trait v0.1.89393 Compiling ptr_meta_derive v0.3.1394 Compiling bytecheck_derive v0.8.2395 Compiling munge_macro v0.4.7396 Compiling rkyv_derive v0.8.15397 Compiling thiserror-impl v1.0.69398 Compiling enum-as-inner v0.6.1399 Compiling hashify v0.2.7400 Compiling asn1-rs-derive v0.6.0401 Compiling asn1-rs-impl v0.2.0402 Compiling pin-project-internal v1.1.10403 Compiling yasna v0.5.2404 Compiling event_macro v0.15.5 (/build/source/crates/trc/event-macro)405 Compiling zeroize v1.8.2406 Compiling curve25519-dalek-derive v0.1.1407 Compiling darling_macro v0.20.11408 Compiling rustls-pki-types v1.14.0409 Compiling der v0.7.10410 Compiling ptr_meta v0.3.1411 Compiling munge v0.4.7412 Compiling flate2 v1.1.9413 Compiling include-flate-codegen v0.3.1414 Compiling futures-util v0.3.31415 Compiling rancor v0.1.1416 Compiling prost-derive v0.13.5417 Compiling nuid v0.5.0418 Compiling maybe-async v0.2.10419 Compiling serde_repr v0.1.20420 Compiling proc_macros v0.15.5 (/build/source/crates/utils/proc-macros)421 Compiling addr2line v0.25.1422 Compiling bytecheck v0.8.2423 Compiling bitvec-nom2 v0.2.1424 Compiling lalrpop v0.22.2425 Compiling webpki-roots v1.0.6426 Compiling rustls-pemfile v2.2.0427 Compiling rustls-native-certs v0.8.3428 Compiling rustls-webpki v0.102.8429 Compiling webpki-roots v0.26.11430 Compiling zerofrom v0.1.6431 Compiling rend v0.5.3432 Compiling rustls-native-certs v0.7.3433 Compiling async-stream-impl v0.3.6434 Compiling yoke v0.8.1435 Compiling darling v0.20.11436 Compiling asn1-rs v0.7.1437 Compiling mysql-common-derive v0.32.1438 Compiling rasn-derive v0.10.6439 Compiling zerotrie v0.2.3440 Compiling tracing v0.1.44441 Compiling zerovec v0.11.5442 Compiling include-flate v0.3.1443 Compiling block-padding v0.3.3444 Compiling crypto-bigint v0.5.5445 Compiling digest v0.9.0446 Compiling block-buffer v0.9.0447 Compiling cipher v0.2.5448 Compiling crypto-mac v0.10.0449 Compiling dbl v0.3.2450 Compiling opentelemetry v0.29.1451 Compiling jieba-rs v0.8.1452 Compiling universal-hash v0.5.1453 Compiling aead v0.5.2454 Compiling pin-project v1.1.10455 Compiling aws-region v0.25.5456 Compiling inout v0.1.4457 Compiling sha-1 v0.9.8458 Compiling md-5 v0.9.1459 Compiling sha2 v0.9.9460 Compiling async-stream v0.3.6461 Compiling rev_lines v0.3.0462 Compiling spki v0.7.3463 Compiling hmac v0.10.1464 Compiling polyval v0.6.2465 Compiling blowfish v0.7.0466 Compiling cipher v0.4.4467 Compiling sha2 v0.10.9468 Compiling hmac v0.12.1469 Compiling signature v2.2.0470 Compiling sha1 v0.10.6471 Compiling md-5 v0.10.6472 Compiling blake2 v0.10.6473 Compiling ripemd v0.1.3474 Compiling ghash v0.5.1475 Compiling pkcs8 v0.10.2476 Compiling aes v0.8.4477 Compiling hkdf v0.12.4478 Compiling rfc6979 v0.4.0479 Compiling ed25519 v2.2.3480 Compiling tinystr v0.8.2481 Compiling potential_utf v0.1.4482 Compiling ctr v0.9.2483 Compiling salsa20 v0.10.2484 Compiling pwhash v1.0.0485 Compiling pkcs1 v0.7.5486 Compiling sec1 v0.7.3487 Compiling icu_collections v2.1.1488 Compiling signatory v0.27.1489 Compiling cmac v0.7.2490 Compiling ecb v0.1.2491 Compiling twofish v0.7.1492 Compiling argon2 v0.5.3493 Compiling cbc v0.1.2494 Compiling ocb3 v0.1.0495 Compiling icu_locale_core v2.1.1496 Compiling eax v0.5.0497 Compiling pbkdf2 v0.12.2498 Compiling lzma-rust2 v0.13.0499 Compiling der-parser v10.0.0500 Compiling cfb-mode v0.8.2501 Compiling camellia v0.1.0502 Compiling aes-gcm-siv v0.11.1503 Compiling aes-gcm v0.10.3504 Compiling des v0.8.1505 Compiling idea v0.5.1506 Compiling backtrace v0.3.76507 Compiling scrypt v0.11.0508 Compiling dsa v0.6.3509 Compiling blowfish v0.9.1510 Compiling cast5 v0.11.1511 Compiling rsa v0.9.10512 Compiling librocksdb-sys v0.17.3+10.4.2513 Compiling elliptic-curve v0.13.8514 Compiling x509-parser v0.18.1515 Compiling ed25519-dalek v2.2.0516 Compiling x25519-dalek v2.0.1517 Compiling ecdsa v0.16.9518 Compiling primeorder v0.13.6519 Compiling icu_provider v2.1.1520 Compiling snafu v0.7.5521 Compiling nkeys v0.4.5522 Compiling zip v6.0.0523 Compiling icu_properties v2.1.2524 Compiling icu_normalizer v2.1.1525 Compiling p256 v0.13.2526 Compiling p384 v0.13.1527 Compiling p521 v0.13.3528 Compiling bytes v1.11.1529 Compiling serde_urlencoded v0.7.1530 Compiling chrono v0.4.43531 Compiling serde_qs v0.8.5532 Compiling quick-xml v0.31.0533 Compiling quick-xml v0.32.0534 Compiling serde_nanos v0.1.4535 Compiling rust-stemmers v1.2.0536 Compiling bincode v2.0.1537 Compiling bincode v1.3.3538 Compiling rustls-webpki v0.103.9539 Compiling rustls-webpki v0.101.7540 Compiling sct v0.7.1541 Compiling rcgen v0.14.7542 Compiling rcgen v0.12.1543 Compiling quick_cache v0.6.18544 Compiling futures-executor v0.3.31545 Compiling futures v0.3.31546 Compiling opentelemetry_sdk v0.29.0547 Compiling tokio v1.49.0548 Compiling http v1.4.0549 Compiling http v0.2.12550 Compiling postgres-protocol v0.6.10551 Compiling prost v0.13.5552 Compiling lber v0.5.1553 Compiling idna_adapter v1.2.1554 Compiling postgres-types v0.2.12555 Compiling idna v1.1.0556 Compiling biscuit v0.7.0557 Compiling rasn v0.10.6558 Compiling http-body v0.4.6559 Compiling url v2.5.8560 Compiling http-body v1.0.1561 Compiling tungstenite v0.28.0562 Compiling form-data v0.6.0563 Compiling http-body-util v0.1.3564 Compiling rkyv v0.8.15565 Compiling totp-rs v5.7.0566 Compiling sequoia-openpgp v2.2.0567 Compiling rasn-pkix v0.10.6568 Compiling rocksdb v0.24.0569 Compiling attohttpc v0.28.5570 Compiling rasn-cms v0.10.6571 Compiling mail-parser v0.11.2572 Compiling smtp-proto v0.2.0573 Compiling compact_str v0.9.0574 Compiling jmap-tools v0.1.3575 Compiling tokio-util v0.7.18576 Compiling tokio-rustls v0.26.4577 Compiling tower v0.5.3578 Compiling tokio-stream v0.1.18579 Compiling tokio-rustls v0.24.1580 Compiling deadpool-runtime v0.1.4581 Compiling hyper v0.14.32582 Compiling tryhard v0.5.2583 Compiling proxy-header v0.1.2584 Compiling tokio-tungstenite v0.28.0585 Compiling aws-creds v0.37.0586 Compiling deadpool v0.12.3587 Compiling deadpool v0.10.0588 Compiling hickory-proto v0.26.0-alpha.1589 Compiling tower-http v0.6.8590 Compiling h2 v0.4.13591 Compiling tower v0.4.13592 Compiling tokio-postgres v0.7.16593 Compiling combine v4.6.7594 Compiling h2 v0.3.27595 Compiling mysql_async v0.36.1596 Compiling async-nats v0.44.2597 Compiling ldap3 v0.12.1598 Compiling mail-send v0.5.2599 Compiling hyper-rustls v0.24.2600 Compiling rust-s3 v0.35.1601 Compiling calcard v0.3.2602 Compiling sieve-rs v0.7.1603 Compiling calcard v0.1.3604 Compiling deadpool-postgres v0.14.1605 Compiling hyper v1.8.1606 Compiling hickory-proto v0.24.4607 Compiling hickory-resolver v0.26.0-alpha.1608 Compiling hyper-util v0.1.20609 Compiling mail-auth v0.7.5610 Compiling redis v0.32.7611 Compiling hyper-rustls v0.27.7612 Compiling hyper-timeout v0.5.2613 Compiling tonic v0.12.3614 Compiling reqwest v0.12.28615 Compiling hickory-client v0.24.4616 Compiling opentelemetry-proto v0.29.0617 Compiling opentelemetry-http v0.29.0618 Compiling dns-update v0.1.6619 Compiling trc v0.15.5 (/build/source/crates/trc)620 Compiling opentelemetry-otlp v0.29.0621 Compiling azure_storage v0.21.0622 Compiling azure_svc_blobstorage v0.21.0623 Compiling utils v0.15.5 (/build/source/crates/utils)624 Compiling types v0.15.5 (/build/source/crates/types)625 Compiling nlp v0.15.5 (/build/source/crates/nlp)626 Compiling jmap_proto v0.15.5 (/build/source/crates/jmap-proto)627 Compiling imap_proto v0.15.5 (/build/source/crates/imap-proto)628 Compiling dav-proto v0.15.5 (/build/source/crates/dav-proto)629 Compiling azure_storage_blobs v0.21.0630 Compiling jemallocator v0.5.4631 Compiling rusqlite v0.37.0632 Compiling store v0.15.5 (/build/source/crates/store)633 Compiling directory v0.15.5 (/build/source/crates/directory)634warning: variable does not need to be mutable635 --> crates/directory/src/backend/internal/manage.rs:269:9636 |637269 | mut tenant_id: Option<u32>,638 | ----^^^^^^^^^639 | |640 | help: remove this `mut`641 |642 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default643644warning: variable does not need to be mutable645 --> crates/directory/src/backend/internal/manage.rs:976:13646 |647976 | let mut pinfo_name =648 | ----^^^^^^^^^^649 | |650 | help: remove this `mut`651652warning: variable does not need to be mutable653 --> crates/directory/src/backend/internal/manage.rs:990:13654 |655990 | let mut used_quota: Option<i64> = None;656 | ----^^^^^^^^^^657 | |658 | help: remove this `mut`659660warning: unused variable: `tenant`661 --> crates/directory/src/backend/internal/manage.rs:703:13662 |663703 | let tenant = principal.data.iter().find_map(|data| {664 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tenant`665 |666 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default667668warning: unused variable: `used_quota`669 --> crates/directory/src/backend/internal/manage.rs:990:13670 |671990 | let mut used_quota: Option<i64> = None;672 | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_used_quota`673674warning: variable `tenant_id` is assigned to, but never used675 --> crates/directory/src/backend/internal/manage.rs:2307:13676 |6772307 | let mut tenant_id = None;678 | ^^^^^^^^^^^^^679 |680 = note: consider using `_tenant_id` instead681682warning: value assigned to `tenant_id` is never read683 --> crates/directory/src/backend/internal/manage.rs:2383:21684 |6852383 | tenant_id = Some(tid);686 | ^^^^^^^^^^^^^^^^^^^^^687 |688 = help: maybe it is overwritten before being read?689 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default690691warning: unused variable: `is_enterprise`692 --> crates/directory/src/core/config.rs:32:9693 |69432 | is_enterprise: bool,695 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`696697warning: unused import: `*`698 --> crates/common/src/config/smtp/session.rs:25:52699 |70025 | expr::{if_block::IfBlock, tokenizer::TokenMap, *},701 | ^702 |703 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default704705warning: unused import: `TenantInfo`706 --> crates/common/src/core.rs:9:40707 |7089 | auth::{AccessToken, ResourceToken, TenantInfo},709 | ^^^^^^^^^^710711warning: unused import: `std::time::Instant`712 --> crates/common/src/scripts/plugins/llm_prompt.rs:7:5713 |7147 | use std::time::Instant;715 | ^^^^^^^^^^^^^^^^^^716717warning: unused import: `directory::Permission`718 --> crates/common/src/scripts/plugins/llm_prompt.rs:9:5719 |7209 | use directory::Permission;721 | ^^^^^^^^^^^^^^^^^^^^^722723warning: unused import: `compiler::Number`724 --> crates/common/src/scripts/plugins/llm_prompt.rs:10:26725 |72610 | use sieve::{FunctionMap, compiler::Number, runtime::Variable};727 | ^^^^^^^^^^^^^^^^728729warning: unused imports: `AiEvent` and `SecurityEvent`730 --> crates/common/src/scripts/plugins/llm_prompt.rs:11:11731 |73211 | use trc::{AiEvent, SecurityEvent};733 | ^^^^^^^ ^^^^^^^^^^^^^734735warning: variable does not need to be mutable736 --> crates/common/src/auth/access_token.rs:92:13737 |73892 | let mut permissions = role_permissions.finalize();739 | ----^^^^^^^^^^^740 | |741 | help: remove this `mut`742 |743 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default744745warning: variable does not need to be mutable746 --> crates/common/src/auth/access_token.rs:93:13747 |74893 | let mut tenant = None;749 | ----^^^^^^750 | |751 | help: remove this `mut`752753warning: variable does not need to be mutable754 --> crates/common/src/config/mod.rs:53:9755 |75653 | mut stores: Stores,757 | ----^^^^^^758 | |759 | help: remove this `mut`760761warning: use of deprecated method `tokio::net::TcpSocket::set_tos`: `tos` related methods have been renamed `tos_v4` since they are IPv4-specific.762 --> crates/common/src/config/server/listener.rs:119:40763 |764119 | ... socket.set_tos(value)765 | ^^^^^^^766 |767 = note: `#[warn(deprecated)]` on by default768769warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead770 --> crates/common/src/config/smtp/auth.rs:246:41771 |772246 | let key = RsaKey::<Sha256>::from_rsa_pem(&pk)773 | ^^^^^^^^^^^^774775warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead776 --> crates/common/src/config/smtp/auth.rs:247:48777 |778247 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))779 | ^^^^^^^^^^^^^^780781warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead782 --> crates/common/src/config/smtp/auth.rs:255:47783 |784255 | let key_clone = RsaKey::<Sha256>::from_rsa_pem(&pk)785 | ^^^^^^^^^^^^786787warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead788 --> crates/common/src/config/smtp/auth.rs:256:48789 |790256 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))791 | ^^^^^^^^^^^^^^792793warning: use of deprecated method `tokio::net::TcpStream::set_linger`: `SO_LINGER` causes the socket to block the thread on drop794 --> crates/common/src/listener/listen.rs:292:38795 |796292 | && let Err(err) = stream.set_linger(self.linger)797 | ^^^^^^^^^^798799warning: variable `tenant_id` is assigned to, but never used800 --> crates/common/src/auth/access_token.rs:49:13801 |80249 | let mut tenant_id = None;803 | ^^^^^^^^^^^^^804 |805 = note: consider using `_tenant_id` instead806 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default807808warning: value assigned to `tenant_id` is never read809 --> crates/common/src/auth/access_token.rs:56:45810 |81156 | PrincipalData::Tenant(v) => tenant_id = Some(v),812 | ^^^^^^^^^^^^^^^^^^^813 |814 = help: maybe it is overwritten before being read?815 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default816817warning: unused variable: `stores`818 --> crates/common/src/config/telemetry.rs:163:39819 |820163 | pub fn parse(config: &mut Config, stores: &Stores) -> Self {821 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stores`822823warning: unused variable: `ctx`824 --> crates/common/src/scripts/plugins/llm_prompt.rs:19:19825 |82619 | pub async fn exec(ctx: PluginContext<'_>) -> trc::Result<Variable> {827 | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`828829warning: `directory` (lib) generated 8 warnings (run `cargo fix --lib -p directory` to apply 6 suggestions)830warning: unused variable: `is_enterprise`831 --> crates/common/src/telemetry/mod.rs:99:52832 |83399 | pub fn spawn(self, builder: SubscriberBuilder, is_enterprise: bool) {834 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`835836 Compiling groupware v0.15.5 (/build/source/crates/groupware)837 Compiling spam-filter v0.15.5 (/build/source/crates/spam-filter)838 Compiling http_proto v0.15.5 (/build/source/crates/http-proto)839 Compiling email v0.15.5 (/build/source/crates/email)840 Compiling dav v0.15.5 (/build/source/crates/dav)841 Compiling smtp v0.15.5 (/build/source/crates/smtp)842 Compiling imap v0.15.5 (/build/source/crates/imap)843 Compiling managesieve v0.15.5 (/build/source/crates/managesieve)844 Compiling pop3 v0.15.5 (/build/source/crates/pop3)845 Compiling services v0.15.5 (/build/source/crates/services)846 Compiling migration v0.15.5 (/build/source/crates/migration)847warning: unused import: `smtp::reporting::SmtpReporting`848 --> crates/services/src/housekeeper/mod.rs:14:5849 |85014 | use smtp::reporting::SmtpReporting;851 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^852 |853 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default854855warning: unused imports: `IterateParams`, `TelemetryClass`, and `key::DeserializeBigEndian`856 --> crates/services/src/task_manager/index.rs:14:5857 |85814 | IterateParams, SerializeInfallible, ValueKey,859 | ^^^^^^^^^^^^^860...86120 | TelemetryClass, ValueClass, key::DeserializeBigEndian,862 | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^863864warning: unused import: `blob_hash::BlobHash`865 --> crates/services/src/task_manager/index.rs:25:5866 |86725 | blob_hash::BlobHash,868 | ^^^^^^^^^^^^^^^^^^^869870warning: unused import: `Archiver`871 --> crates/migration/src/blob.rs:11:19872 |87311 | AnyClass, Archiver, BatchBuilder, BlobLink, BlobOp, ValueClass, key::DeserializeBigEndian,874 | ^^^^^^^^875 |876 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default877878warning: unused import: `Serialize`879 --> crates/migration/src/blob.rs:9:40880 |8819 | IterateParams, SUBSPACE_BLOB_LINK, Serialize, SerializeInfallible, U32_LEN, U64_LEN, ValueKey,882 | ^^^^^^^^^883884warning: unused variable: `deleted_at`885 --> crates/migration/src/blob.rs:218:33886 |887218 | OldType::Undelete { deleted_at, size } => {888 | ^^^^^^^^^^ help: try ignoring the field: `deleted_at: _`889 |890 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default891892warning: unused variable: `size`893 --> crates/migration/src/blob.rs:218:45894 |895218 | OldType::Undelete { deleted_at, size } => {896 | ^^^^ help: try ignoring the field: `size: _`897898 Compiling jmap v0.15.5 (/build/source/crates/jmap)899warning: `migration` (lib) generated 4 warnings (run `cargo fix --lib -p migration` to apply 3 suggestions)900warning: `common` (lib) generated 20 warnings (run `cargo fix --lib -p common` to apply 12 suggestions)901 Compiling http v0.15.5 (/build/source/crates/http)902warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`903 --> crates/http/src/management/queue.rs:15:29904 |90515 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};906 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^907 |908 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default909910warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`911 --> crates/http/src/management/report.rs:8:29912 |9138 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};914 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^915916warning: unused import: `self`917 --> crates/http/src/management/stores.rs:17:33918 |91917 | backend::internal::manage::{self, ManageDirectory},920 | ^^^^921922warning: variable does not need to be mutable923 --> crates/http/src/management/principal.rs:270:21924 |925270 | let mut tenant = access_token.tenant.map(|t| t.id);926 | ----^^^^^^927 | |928 | help: remove this `mut`929 |930 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default931932warning: variable does not need to be mutable933 --> crates/http/src/management/principal.rs:363:21934 |935363 | let mut tenant = access_token.tenant.map(|t| t.id);936 | ----^^^^^^937 | |938 | help: remove this `mut`939940warning: variable does not need to be mutable941 --> crates/http/src/management/queue.rs:139:13942 |943139 | let mut tenant_domains: Option<Vec<String>> = None;944 | ----^^^^^^^^^^^^^^945 | |946 | help: remove this `mut`947948warning: variable does not need to be mutable949 --> crates/http/src/management/report.rs:49:13950 |95149 | let mut tenant_domains: Option<Vec<String>> = None;952 | ----^^^^^^^^^^^^^^953 | |954 | help: remove this `mut`955956warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_der`: use `from_key_der()` instead957 --> crates/http/src/management/dkim.rs:256:55958 |959256 | Algorithm::Rsa => match RsaKey::<Sha256>::from_der(&der).and_then(|key| {960 | ^^^^^^^^961 |962 = note: `#[warn(deprecated)]` on by default963964warning: unused variable: `body`965 --> crates/http/src/management/stores.rs:81:9966 |96781 | body: Option<Vec<u8>>,968 | ^^^^ help: if this is intentional, prefix it with an underscore: `_body`969 |970 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default971972warning: unused variable: `session`973 --> crates/http/src/management/stores.rs:82:9974 |97582 | session: &HttpSessionData,976 | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`977978warning: struct `Timestamp` is never constructed979 --> crates/http/src/management/mod.rs:202:19980 |981202 | pub(super) struct Timestamp(u64);982 | ^^^^^^^^^983 |984 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default985986warning: method `into_inner` is never used987 --> crates/http/src/management/mod.rs:238:12988 |989237 | impl Timestamp {990 | -------------- method in this implementation991238 | pub fn into_inner(self) -> u64 {992 | ^^^^^^^^^^993994warning: `http` (lib) generated 12 warnings (run `cargo fix --lib -p http` to apply 9 suggestions)995warning: `services` (lib) generated 3 warnings (run `cargo fix --lib -p services` to apply 3 suggestions)996 Compiling stalwart v0.15.5 (/build/source/crates/main)997 Finished `release` profile [optimized] target(s) in 18m 30s998warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1999note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`1000Executing cargoInstallPostBuildHook1001Finished cargoInstallPostBuildHook1002Finished cargoBuildHook1003buildPhase completed in 18 minutes 31 secondscheckPhase
1004Executing cargoCheckHook1005cargoCheckHook flags: -j 48 --profile release --no-default-features --features=sqlite\,postgres\,mysql\,rocks\,s3\,redis\,azure\,nats --target x86_64-unknown-linux-gnu --offline -p stalwart -- --skip=directory::imap::imap_directory --skip=directory::internal::internal_directory --skip=directory::ldap::ldap_directory --skip=directory::sql::sql_directory --skip=directory::oidc::oidc_directory --skip=store::blob::blob_tests --skip=store::lookup::lookup_tests --skip=smtp::lookup::sql::lookup_sql --skip=directory::smtp::lmtp_directory --skip=imap::imap_tests --skip=jmap::jmap_tests --skip=smtp::inbound::data::data --skip=smtp::inbound::scripts::sieve_scripts --skip=smtp::outbound::lmtp::lmtp_delivery --skip=smtp::outbound::extensions::extensions --skip=smtp::outbound::smtp::smtp_delivery --skip=smtp::outbound::lmtp::lmtp_delivery --skip=smtp::queue::retry::queue_retry --skip=smtp::queue::virtualq::virtual_queue --skip=store::store_tests --skip=cluster::cluster_tests --skip=webdav::webdav_tests --skip=config::parser::tests::toml_parse --skip=backend::sqlite::pool::SqliteConnectionManager::with_init --skip=smtp::reporting::analyze::report_analyze --skip=smtp::inbound::dmarc::dmarc --skip=smtp::queue::concurrent::concurrent_queue --skip=smtp::inbound::auth::auth --skip=smtp::inbound::antispam::antispam --skip=smtp::inbound::vrfy::vrfy_expn --skip=smtp::management::queue::manage_queue --skip=smtp::outbound::mta_sts::mta_sts_verify --skip=smtp::outbound::dane::dane_verify --skip=responses::tests::parse_responses --skip=store::search_tests1006warning: variable does not need to be mutable1007 --> crates/directory/src/backend/internal/manage.rs:269:91008 |1009269 | mut tenant_id: Option<u32>,1010 | ----^^^^^^^^^1011 | |1012 | help: remove this `mut`1013 |1014 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default10151016warning: variable does not need to be mutable1017 --> crates/directory/src/backend/internal/manage.rs:976:131018 |1019976 | let mut pinfo_name =1020 | ----^^^^^^^^^^1021 | |1022 | help: remove this `mut`10231024warning: variable does not need to be mutable1025 --> crates/directory/src/backend/internal/manage.rs:990:131026 |1027990 | let mut used_quota: Option<i64> = None;1028 | ----^^^^^^^^^^1029 | |1030 | help: remove this `mut`10311032warning: unused variable: `tenant`1033 --> crates/directory/src/backend/internal/manage.rs:703:131034 |1035703 | let tenant = principal.data.iter().find_map(|data| {1036 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tenant`1037 |1038 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default10391040warning: unused variable: `used_quota`1041 --> crates/directory/src/backend/internal/manage.rs:990:131042 |1043990 | let mut used_quota: Option<i64> = None;1044 | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_used_quota`10451046warning: variable `tenant_id` is assigned to, but never used1047 --> crates/directory/src/backend/internal/manage.rs:2307:131048 |10492307 | let mut tenant_id = None;1050 | ^^^^^^^^^^^^^1051 |1052 = note: consider using `_tenant_id` instead10531054warning: value assigned to `tenant_id` is never read1055 --> crates/directory/src/backend/internal/manage.rs:2383:211056 |10572383 | tenant_id = Some(tid);1058 | ^^^^^^^^^^^^^^^^^^^^^1059 |1060 = help: maybe it is overwritten before being read?1061 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default10621063warning: unused variable: `is_enterprise`1064 --> crates/directory/src/core/config.rs:32:91065 |106632 | is_enterprise: bool,1067 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`10681069warning: `directory` (lib) generated 8 warnings (run `cargo fix --lib -p directory` to apply 6 suggestions)1070warning: unused import: `*`1071 --> crates/common/src/config/smtp/session.rs:25:521072 |107325 | expr::{if_block::IfBlock, tokenizer::TokenMap, *},1074 | ^1075 |1076 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default10771078warning: unused import: `TenantInfo`1079 --> crates/common/src/core.rs:9:401080 |10819 | auth::{AccessToken, ResourceToken, TenantInfo},1082 | ^^^^^^^^^^10831084warning: unused import: `std::time::Instant`1085 --> crates/common/src/scripts/plugins/llm_prompt.rs:7:51086 |10877 | use std::time::Instant;1088 | ^^^^^^^^^^^^^^^^^^10891090warning: unused import: `directory::Permission`1091 --> crates/common/src/scripts/plugins/llm_prompt.rs:9:51092 |10939 | use directory::Permission;1094 | ^^^^^^^^^^^^^^^^^^^^^10951096warning: unused import: `compiler::Number`1097 --> crates/common/src/scripts/plugins/llm_prompt.rs:10:261098 |109910 | use sieve::{FunctionMap, compiler::Number, runtime::Variable};1100 | ^^^^^^^^^^^^^^^^11011102warning: unused imports: `AiEvent` and `SecurityEvent`1103 --> crates/common/src/scripts/plugins/llm_prompt.rs:11:111104 |110511 | use trc::{AiEvent, SecurityEvent};1106 | ^^^^^^^ ^^^^^^^^^^^^^11071108warning: variable does not need to be mutable1109 --> crates/common/src/auth/access_token.rs:92:131110 |111192 | let mut permissions = role_permissions.finalize();1112 | ----^^^^^^^^^^^1113 | |1114 | help: remove this `mut`1115 |1116 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default11171118warning: variable does not need to be mutable1119 --> crates/common/src/auth/access_token.rs:93:131120 |112193 | let mut tenant = None;1122 | ----^^^^^^1123 | |1124 | help: remove this `mut`11251126warning: variable does not need to be mutable1127 --> crates/common/src/config/mod.rs:53:91128 |112953 | mut stores: Stores,1130 | ----^^^^^^1131 | |1132 | help: remove this `mut`11331134warning: use of deprecated method `tokio::net::TcpSocket::set_tos`: `tos` related methods have been renamed `tos_v4` since they are IPv4-specific.1135 --> crates/common/src/config/server/listener.rs:119:401136 |1137119 | ... socket.set_tos(value)1138 | ^^^^^^^1139 |1140 = note: `#[warn(deprecated)]` on by default11411142warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead1143 --> crates/common/src/config/smtp/auth.rs:246:411144 |1145246 | let key = RsaKey::<Sha256>::from_rsa_pem(&pk)1146 | ^^^^^^^^^^^^11471148warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead1149 --> crates/common/src/config/smtp/auth.rs:247:481150 |1151247 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))1152 | ^^^^^^^^^^^^^^11531154warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead1155 --> crates/common/src/config/smtp/auth.rs:255:471156 |1157255 | let key_clone = RsaKey::<Sha256>::from_rsa_pem(&pk)1158 | ^^^^^^^^^^^^11591160warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead1161 --> crates/common/src/config/smtp/auth.rs:256:481162 |1163256 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))1164 | ^^^^^^^^^^^^^^11651166warning: use of deprecated method `tokio::net::TcpStream::set_linger`: `SO_LINGER` causes the socket to block the thread on drop1167 --> crates/common/src/listener/listen.rs:292:381168 |1169292 | && let Err(err) = stream.set_linger(self.linger)1170 | ^^^^^^^^^^11711172warning: variable `tenant_id` is assigned to, but never used1173 --> crates/common/src/auth/access_token.rs:49:131174 |117549 | let mut tenant_id = None;1176 | ^^^^^^^^^^^^^1177 |1178 = note: consider using `_tenant_id` instead1179 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default11801181warning: value assigned to `tenant_id` is never read1182 --> crates/common/src/auth/access_token.rs:56:451183 |118456 | PrincipalData::Tenant(v) => tenant_id = Some(v),1185 | ^^^^^^^^^^^^^^^^^^^1186 |1187 = help: maybe it is overwritten before being read?1188 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default11891190warning: unused variable: `stores`1191 --> crates/common/src/config/telemetry.rs:163:391192 |1193163 | pub fn parse(config: &mut Config, stores: &Stores) -> Self {1194 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stores`11951196warning: unused variable: `ctx`1197 --> crates/common/src/scripts/plugins/llm_prompt.rs:19:191198 |119919 | pub async fn exec(ctx: PluginContext<'_>) -> trc::Result<Variable> {1200 | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`12011202warning: unused variable: `is_enterprise`1203 --> crates/common/src/telemetry/mod.rs:99:521204 |120599 | pub fn spawn(self, builder: SubscriberBuilder, is_enterprise: bool) {1206 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`12071208warning: `common` (lib) generated 20 warnings (run `cargo fix --lib -p common` to apply 12 suggestions)1209warning: unused import: `smtp::reporting::SmtpReporting`1210 --> crates/services/src/housekeeper/mod.rs:14:51211 |121214 | use smtp::reporting::SmtpReporting;1213 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1214 |1215 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default12161217warning: unused imports: `IterateParams`, `TelemetryClass`, and `key::DeserializeBigEndian`1218 --> crates/services/src/task_manager/index.rs:14:51219 |122014 | IterateParams, SerializeInfallible, ValueKey,1221 | ^^^^^^^^^^^^^1222...122320 | TelemetryClass, ValueClass, key::DeserializeBigEndian,1224 | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^12251226warning: unused import: `blob_hash::BlobHash`1227 --> crates/services/src/task_manager/index.rs:25:51228 |122925 | blob_hash::BlobHash,1230 | ^^^^^^^^^^^^^^^^^^^12311232warning: unused import: `Archiver`1233 --> crates/migration/src/blob.rs:11:191234 |123511 | AnyClass, Archiver, BatchBuilder, BlobLink, BlobOp, ValueClass, key::DeserializeBigEndian,1236 | ^^^^^^^^1237 |1238 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default12391240warning: unused import: `Serialize`1241 --> crates/migration/src/blob.rs:9:401242 |12439 | IterateParams, SUBSPACE_BLOB_LINK, Serialize, SerializeInfallible, U32_LEN, U64_LEN, ValueKey,1244 | ^^^^^^^^^12451246warning: unused variable: `deleted_at`1247 --> crates/migration/src/blob.rs:218:331248 |1249218 | OldType::Undelete { deleted_at, size } => {1250 | ^^^^^^^^^^ help: try ignoring the field: `deleted_at: _`1251 |1252 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default12531254warning: unused variable: `size`1255 --> crates/migration/src/blob.rs:218:451256 |1257218 | OldType::Undelete { deleted_at, size } => {1258 | ^^^^ help: try ignoring the field: `size: _`12591260warning: `services` (lib) generated 3 warnings (run `cargo fix --lib -p services` to apply 3 suggestions)1261warning: `migration` (lib) generated 4 warnings (run `cargo fix --lib -p migration` to apply 3 suggestions)1262warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`1263 --> crates/http/src/management/queue.rs:15:291264 |126515 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};1266 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1267 |1268 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default12691270warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`1271 --> crates/http/src/management/report.rs:8:291272 |12738 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};1274 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^12751276warning: unused import: `self`1277 --> crates/http/src/management/stores.rs:17:331278 |127917 | backend::internal::manage::{self, ManageDirectory},1280 | ^^^^12811282warning: variable does not need to be mutable1283 --> crates/http/src/management/principal.rs:270:211284 |1285270 | let mut tenant = access_token.tenant.map(|t| t.id);1286 | ----^^^^^^1287 | |1288 | help: remove this `mut`1289 |1290 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default12911292warning: variable does not need to be mutable1293 --> crates/http/src/management/principal.rs:363:211294 |1295363 | let mut tenant = access_token.tenant.map(|t| t.id);1296 | ----^^^^^^1297 | |1298 | help: remove this `mut`12991300warning: variable does not need to be mutable1301 --> crates/http/src/management/queue.rs:139:131302 |1303139 | let mut tenant_domains: Option<Vec<String>> = None;1304 | ----^^^^^^^^^^^^^^1305 | |1306 | help: remove this `mut`13071308warning: variable does not need to be mutable1309 --> crates/http/src/management/report.rs:49:131310 |131149 | let mut tenant_domains: Option<Vec<String>> = None;1312 | ----^^^^^^^^^^^^^^1313 | |1314 | help: remove this `mut`13151316warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_der`: use `from_key_der()` instead1317 --> crates/http/src/management/dkim.rs:256:551318 |1319256 | Algorithm::Rsa => match RsaKey::<Sha256>::from_der(&der).and_then(|key| {1320 | ^^^^^^^^1321 |1322 = note: `#[warn(deprecated)]` on by default13231324warning: unused variable: `body`1325 --> crates/http/src/management/stores.rs:81:91326 |132781 | body: Option<Vec<u8>>,1328 | ^^^^ help: if this is intentional, prefix it with an underscore: `_body`1329 |1330 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default13311332warning: unused variable: `session`1333 --> crates/http/src/management/stores.rs:82:91334 |133582 | session: &HttpSessionData,1336 | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`13371338warning: struct `Timestamp` is never constructed1339 --> crates/http/src/management/mod.rs:202:191340 |1341202 | pub(super) struct Timestamp(u64);1342 | ^^^^^^^^^1343 |1344 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default13451346warning: method `into_inner` is never used1347 --> crates/http/src/management/mod.rs:238:121348 |1349237 | impl Timestamp {1350 | -------------- method in this implementation1351238 | pub fn into_inner(self) -> u64 {1352 | ^^^^^^^^^^13531354warning: `http` (lib) generated 12 warnings (run `cargo fix --lib -p http` to apply 9 suggestions)1355 Compiling stalwart v0.15.5 (/build/source/crates/main)1356 Finished `release` profile [optimized] target(s) in 22.99s1357warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.11358note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`1359 Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/stalwart-1462106556f3ccad)13601361running 0 tests13621363test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s13641365Finished cargoCheckHookinstallPhase
1366Executing cargoInstallHook1367Finished cargoInstallHookfixupPhase
1368shrinking RPATHs of ELF executables and libraries in /nix/store/gic4xa0sk17p26dhx46gr80651l5wf21-stalwart-0.15.51369shrinking /nix/store/gic4xa0sk17p26dhx46gr80651l5wf21-stalwart-0.15.5/bin/stalwart1370checking for references to /build/ in /nix/store/gic4xa0sk17p26dhx46gr80651l5wf21-stalwart-0.15.5...1371patching script interpreter paths in /nix/store/gic4xa0sk17p26dhx46gr80651l5wf21-stalwart-0.15.51372stripping (with command strip and flags -S -p) in /nix/store/gic4xa0sk17p26dhx46gr80651l5wf21-stalwart-0.15.5/lib /nix/store/gic4xa0sk17p26dhx46gr80651l5wf21-stalwart-0.15.5/bin