stalwart-0.15.5
checks.x86_64-linux.nixos-eta
· build #761
· 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 unicode-ident v1.0.2315 Compiling quote v1.0.4416 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 const-oid v0.9.632 Compiling allocator-api2 v0.2.2133 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 cpufeatures v0.2.1740 Compiling futures-sink v0.3.3141 Compiling autocfg v1.5.042 Compiling futures-io v0.3.3143 Compiling slab v0.4.1244 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 percent-encoding v2.3.250 Compiling pkg-config v0.3.3251 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 fnv v1.0.760 Compiling zmij v1.0.2161 Compiling rustls v0.23.3662 Compiling thiserror v2.0.1863 Compiling utf8_iter v1.0.464 Compiling base64ct v1.8.365 Compiling serde_json v1.0.14966 Compiling lock_api v0.4.1467 Compiling bitflags v2.11.068 Compiling httparse v1.10.169 Compiling generic-array v0.14.770 Compiling getrandom v0.4.171 Compiling time-core v0.1.872 Compiling powerfmt v0.2.073 Compiling num-conv v0.2.074 Compiling tower-service v0.3.375 Compiling hashbrown v0.16.176 Compiling ipnet v2.11.077 Compiling try-lock v0.2.578 Compiling httpdate v1.0.379 Compiling vcpkg v0.2.1580 Compiling futures-channel v0.3.3181 Compiling form_urlencoded v1.2.282 Compiling atomic-waker v1.1.283 Compiling either v1.15.084 Compiling tinyvec_macros v0.1.185 Compiling sha1_smol v1.0.186 Compiling rustversion v1.0.2287 Compiling data-encoding v2.10.088 Compiling zstd-safe v7.2.489 Compiling time-macros v0.2.2790 Compiling tower-layer v0.3.391 Compiling want v0.3.192 Compiling num-traits v0.2.1993 Compiling pem-rfc7468 v0.7.094 Compiling simd-adler32 v0.3.895 Compiling ryu v1.0.2396 Compiling simdutf8 v0.1.597 Compiling spin v0.9.898 Compiling crc32fast v1.5.099 Compiling tinyvec v1.10.0100 Compiling minimal-lexical v0.2.1101 Compiling adler2 v2.0.1102 Compiling aho-corasick v1.1.4103 Compiling sync_wrapper v1.0.2104 Compiling heck v0.5.0105 Compiling regex-syntax v0.8.9106 Compiling rustix v1.1.3107 Compiling iri-string v0.7.10108 Compiling thiserror v1.0.69109 Compiling linux-raw-sys v0.11.0110 Compiling anyhow v1.0.101111 Compiling semver v1.0.27112 Compiling ahash v0.8.12113 Compiling byteorder v1.5.0114 Compiling lazy_static v1.5.0115 Compiling pure-rust-locales v0.8.2116 Compiling iana-time-zone v0.1.65117 Compiling num-bigint-dig v0.8.6118 Compiling syn v1.0.109119 Compiling crunchy v0.2.4120 Compiling siphasher v1.0.2121 Compiling rustc_version v0.4.1122 Compiling encoding_rs v0.8.35123 Compiling miniz_oxide v0.8.9124 Compiling zlib-rs v0.6.0125 Compiling crc-catalog v2.4.0126 Compiling cfg_aliases v0.2.1127 Compiling libbz2-rs-sys v0.2.2128 Compiling getrandom v0.1.16129 Compiling rayon-core v1.13.0130 Compiling constant_time_eq v0.3.1131 Compiling oid-registry v0.8.1132 Compiling crc v3.4.0133 Compiling bumpalo v3.19.1134 Compiling crossbeam-epoch v0.9.18135 Compiling crossbeam-channel v0.5.15136 Compiling arrayvec v0.7.6137 Compiling tagptr v0.2.0138 Compiling concurrent-queue v2.5.0139 Compiling nix v0.30.1140 Compiling pem v3.0.6141 Compiling glob v0.3.3142 Compiling resolv-conf v0.7.6143 Compiling tiny-keccak v2.0.2144 Compiling nom v7.1.3145 Compiling opaque-debug v0.3.1146 Compiling parking v2.2.1147 Compiling deflate64 v0.1.10148 Compiling ppmd-rust v1.4.0149 Compiling quick-xml v0.38.4150 Compiling static_assertions v1.1.0151 Compiling rustls v0.21.12152 Compiling indexmap v2.13.0153 Compiling core2 v0.4.0154 Compiling curve25519-dalek v4.1.3155 Compiling itertools v0.14.0156 Compiling bzip2 v0.6.1157 Compiling proc-macro-error-attr v1.0.4158 Compiling rle-decode-fast v1.0.3159 Compiling rtrb v0.3.2160 Compiling castaway v0.2.4161 Compiling xxhash-rust v0.8.15162 Compiling psl-types v2.0.11163 Compiling md5 v0.8.0164 Compiling foldhash v0.1.5165 Compiling constant_time_eq v0.4.2166 Compiling once_cell v1.21.3167 Compiling arrayref v0.3.9168 Compiling psl v2.1.190169 Compiling hashbrown v0.15.5170 Compiling zopfli v0.8.3171 Compiling unicode-normalization v0.1.25172 Compiling proc-macro-error v1.0.4173 Compiling libloading v0.8.9174 Compiling farmhash v1.1.5175 Compiling base64 v0.21.7176 Compiling adler32 v1.2.0177 Compiling paste v1.0.15178 Compiling ident_case v1.0.1179 Compiling nohash-hasher v0.2.0180 Compiling base16ct v0.2.0181 Compiling clang-sys v1.8.1182 Compiling strsim v0.11.1183 Compiling bindgen v0.72.1184 Compiling http-types v2.12.0185 Compiling regex-automata v0.4.14186 Compiling fast-float v0.2.0187 Compiling waker-fn v1.2.0188 Compiling event-listener v2.5.3189 Compiling winnow v0.7.14190 Compiling getrandom v0.2.17191 Compiling errno v0.3.14192 Compiling mio v1.1.1193 Compiling socket2 v0.6.2194 Compiling syn v2.0.115195 Compiling signal-hook-registry v1.4.8196 Compiling gethostname v1.1.0197 Compiling libflate_lz77 v2.2.0198 Compiling rand_core v0.9.5199 Compiling fastrand v1.9.0200 Compiling dary_heap v0.3.8201 Compiling mail-builder v0.4.4202 Compiling rand_core v0.6.4203 Compiling tracing-core v0.1.36204 Compiling num-integer v0.1.46205 Compiling async-channel v1.9.0206 Compiling rustls-pemfile v1.0.4207 Compiling phf_shared v0.13.1208 Compiling azure_core v0.21.0209 Compiling jobserver v0.1.34210 Compiling parking_lot v0.12.5211 Compiling rand_core v0.5.1212 Compiling libflate v2.2.1213 Compiling itertools v0.13.0214 Compiling fastrand v2.3.0215 Compiling deranged v0.5.6216 Compiling uuid v1.21.0217 Compiling cc v1.2.56218 Compiling futures-lite v1.13.0219 Compiling unicode-bidi v0.3.18220 Compiling unicode-properties v0.1.4221 Compiling const-random-macro v0.1.16222 Compiling rustc-hash v2.1.1223 Compiling infer v0.2.3224 Compiling password-hash v0.5.0225 Compiling ff v0.13.1226 Compiling dyn-clone v1.0.20227 Compiling base64 v0.13.1228 Compiling num-bigint v0.4.6229 Compiling num-iter v0.1.45230 Compiling toml_datetime v0.7.5+spec-1.1.0231 Compiling moka v0.12.13232 Compiling group v0.13.0233 Compiling phf_generator v0.13.1234 Compiling proc-macro-error-attr2 v2.0.0235 Compiling socket2 v0.5.10236 Compiling event-listener v5.4.1237 Compiling phf_shared v0.12.1238 Compiling stringprep v0.1.5239 Compiling indexmap v1.9.3240 Compiling phf v0.13.1241 Compiling openssl-probe v0.1.6242 Compiling hashbrown v0.14.5243 Compiling fallible-iterator v0.2.0244 Compiling chrono-tz v0.10.4245 Compiling const-random v0.1.18246 Compiling phf v0.12.1247 Compiling phf_codegen v0.13.1248 Compiling dlv-list v0.5.2249 Compiling event-listener-strategy v0.5.4250 Compiling num_cpus v1.17.0251 Compiling rusticata-macros v4.1.0252 Compiling regex v1.12.3253 Compiling mysql_common v0.35.5254 Compiling crc16 v0.4.0255 Compiling hashbrown v0.12.3256 Compiling openssl-probe v0.2.1257 Compiling termcolor v1.4.1258 Compiling toml_parser v1.0.8+spec-1.1.0259 Compiling async-lock v3.4.2260 Compiling cexpr v0.6.0261 Compiling jieba-macros v0.8.1262 Compiling btoi v0.4.3263 Compiling whoami v2.1.1264 Compiling crossbeam-deque v0.8.6265 Compiling privdrop v0.5.6266 Compiling cedarwood v0.4.6267 Compiling home v0.5.12268 Compiling linked-hash-map v0.5.6269 Compiling RustyXML v0.3.0270 Compiling twox-hash v2.1.2271 Compiling time v0.3.47272 Compiling saturating v0.1.0273 Compiling rustls-native-certs v0.6.3274 Compiling scheduled-thread-pool v0.2.7275 Compiling hashlink v0.10.0276 Compiling lru v0.14.0277 Compiling ordered-multimap v0.7.3278 Compiling whatlang v0.18.0279 Compiling keyed_priority_queue v0.4.2280 Compiling arc-swap v1.8.2281 Compiling crossbeam-queue v0.3.12282 Compiling nibble_vec v0.1.0283 Compiling toml_edit v0.23.10+spec-1.0.0284 Compiling lru-cache v0.1.2285 Compiling hex v0.4.3286 Compiling fallible-streaming-iterator v0.1.9287 Compiling endian-type v0.1.2288 Compiling fallible-iterator v0.3.0289 Compiling bit-vec v0.8.0290 Compiling nohash v0.2.0291 Compiling md5 v0.7.0292 Compiling maplit v1.0.2293 Compiling bytemuck v1.25.0294 Compiling radix_trie v0.2.1295 Compiling r2d2 v0.8.10296 Compiling bitpacking v0.9.3297 Compiling lz4_flex v0.12.0298 Compiling prometheus v0.14.0299 Compiling urlencoding v2.1.3300 Compiling rust-ini v0.21.3301 Compiling radium v0.7.0302 Compiling typewit_proc_macros v1.8.1303 Compiling virtue v0.0.18304 Compiling object v0.37.3305 Compiling base32 v0.5.1306 Compiling decancer v3.3.3307 Compiling cfb v0.7.3308 Compiling bit-set v0.8.0309 Compiling ppv-lite86 v0.2.21310 Compiling doc-comment v0.3.4311 Compiling unicode-script v0.5.8312 Compiling common v0.15.5 (/build/source/crates/common)313 Compiling rayon v1.11.0314 Compiling unty v0.0.4315 Compiling gimli v0.32.3316 Compiling tap v1.0.1317 Compiling hostname v0.4.2318 Compiling phf_shared v0.11.3319 Compiling funty v2.0.0320 Compiling roaring v0.11.3321 Compiling precomputed-hash v0.1.1322 Compiling typewit v1.14.2323 Compiling wyz v0.5.1324 Compiling same-file v1.0.6325 Compiling heck v0.4.1326 Compiling opentelemetry-semantic-conventions v0.29.0327 Compiling term v1.2.1328 Compiling keccak v0.1.6329 Compiling rustc-demangle v0.1.27330 Compiling imagesize v0.14.0331 Compiling unicode-security v0.1.2332 Compiling ring v0.17.14333 Compiling zstd-sys v2.0.16+zstd.1.5.7334 Compiling libz-sys v1.1.23335 Compiling blake3 v1.8.3336 Compiling lz4-sys v1.11.1+lz4-1.10.0337 Compiling bzip2-sys v0.1.13+1.0.8338 Compiling libsqlite3-sys v0.35.0339 Compiling fixedbitset v0.5.7340 Compiling new_debug_unreachable v1.0.6341 Compiling walkdir v2.5.0342 Compiling const_panic v0.2.15343 Compiling proc-macro-crate v3.4.0344 Compiling ena v0.14.4345 Compiling string_cache v0.8.9346 Compiling rand_chacha v0.3.1347 Compiling rand_chacha v0.9.0348 Compiling rand_chacha v0.2.2349 Compiling bitvec v1.0.1350 Compiling petgraph v0.7.1351 Compiling konst_kernel v0.3.15352 Compiling crypto-common v0.1.7353 Compiling block-buffer v0.10.4354 Compiling infer v0.19.0355 Compiling rand v0.7.3356 Compiling ascii-canvas v4.0.0357 Compiling lalrpop-util v0.22.2358 Compiling rand v0.8.5359 Compiling itertools v0.10.5360 Compiling unicode-xid v0.2.6361 Compiling konst v0.3.16362 Compiling unicode-general-category v1.1.0363 Compiling sha1collisiondetection v0.3.4364 Compiling generic-array v1.3.5365 Compiling buffered-reader v1.4.0366 Compiling bincode_derive v2.0.1367 Compiling synstructure v0.13.2368 Compiling rand v0.9.2369 Compiling zstd v0.13.3370 Compiling darling_core v0.20.11371 Compiling proc-macro-error2 v2.0.1372 Compiling digest v0.10.7373 Compiling memsec v0.7.0374 Compiling utf-8 v0.7.6375 Compiling jemalloc-sys v0.5.4+5.3.0-patched376 Compiling memory-stats v1.2.0377 Compiling mime v0.3.17378 Compiling yasna v0.5.2379 Compiling sha3 v0.10.8380 Compiling include-flate-compress v0.3.1381 Compiling snafu-derive v0.7.5382 Compiling nuid v0.5.0383 Compiling zeroize_derive v1.4.3384 Compiling serde_derive v1.0.228385 Compiling tokio-macros v2.6.0386 Compiling displaydoc v0.2.5387 Compiling zerofrom-derive v0.1.6388 Compiling futures-macro v0.3.31389 Compiling yoke-derive v0.8.1390 Compiling zerovec-derive v0.11.2391 Compiling tracing-attributes v0.1.31392 Compiling thiserror-impl v2.0.18393 Compiling async-trait v0.1.89394 Compiling ptr_meta_derive v0.3.1395 Compiling bytecheck_derive v0.8.2396 Compiling munge_macro v0.4.7397 Compiling rkyv_derive v0.8.15398 Compiling thiserror-impl v1.0.69399 Compiling enum-as-inner v0.6.1400 Compiling hashify v0.2.7401 Compiling asn1-rs-impl v0.2.0402 Compiling asn1-rs-derive v0.6.0403 Compiling pin-project-internal v1.1.10404 Compiling event_macro v0.15.5 (/build/source/crates/trc/event-macro)405 Compiling curve25519-dalek-derive v0.1.1406 Compiling include-flate-codegen v0.3.1407 Compiling prost-derive v0.13.5408 Compiling flate2 v1.1.9409 Compiling maybe-async v0.2.10410 Compiling serde_repr v0.1.20411 Compiling proc_macros v0.15.5 (/build/source/crates/utils/proc-macros)412 Compiling ptr_meta v0.3.1413 Compiling lalrpop v0.22.2414 Compiling rancor v0.1.1415 Compiling async-stream-impl v0.3.6416 Compiling futures-util v0.3.31417 Compiling munge v0.4.7418 Compiling bytecheck v0.8.2419 Compiling zeroize v1.8.2420 Compiling fancy-regex v0.17.0421 Compiling rustls-pki-types v1.14.0422 Compiling der v0.7.10423 Compiling rend v0.5.3424 Compiling include-flate v0.3.1425 Compiling darling_macro v0.20.11426 Compiling addr2line v0.25.1427 Compiling rasn-derive v0.10.6428 Compiling async-stream v0.3.6429 Compiling tracing v0.1.44430 Compiling asn1-rs v0.7.1431 Compiling webpki-roots v1.0.6432 Compiling rustls-pemfile v2.2.0433 Compiling rustls-native-certs v0.8.3434 Compiling rustls-webpki v0.102.8435 Compiling pin-project v1.1.10436 Compiling jieba-rs v0.8.1437 Compiling zerofrom v0.1.6438 Compiling webpki-roots v0.26.11439 Compiling block-padding v0.3.3440 Compiling crypto-bigint v0.5.5441 Compiling digest v0.9.0442 Compiling block-buffer v0.9.0443 Compiling aws-region v0.25.5444 Compiling crypto-mac v0.10.0445 Compiling rustls-native-certs v0.7.3446 Compiling cipher v0.2.5447 Compiling inout v0.1.4448 Compiling yoke v0.8.1449 Compiling aead v0.5.2450 Compiling universal-hash v0.5.1451 Compiling sha-1 v0.9.8452 Compiling sha2 v0.9.9453 Compiling opentelemetry v0.29.1454 Compiling md-5 v0.9.1455 Compiling hmac v0.10.1456 Compiling dbl v0.3.2457 Compiling rev_lines v0.3.0458 Compiling cipher v0.4.4459 Compiling sha2 v0.10.9460 Compiling hmac v0.12.1461 Compiling zerovec v0.11.5462 Compiling zerotrie v0.2.3463 Compiling signature v2.2.0464 Compiling sha1 v0.10.6465 Compiling md-5 v0.10.6466 Compiling polyval v0.6.2467 Compiling blake2 v0.10.6468 Compiling blowfish v0.7.0469 Compiling bitvec-nom2 v0.2.1470 Compiling ripemd v0.1.3471 Compiling hkdf v0.12.4472 Compiling rfc6979 v0.4.0473 Compiling ghash v0.5.1474 Compiling aes v0.8.4475 Compiling ed25519 v2.2.3476 Compiling ctr v0.9.2477 Compiling salsa20 v0.10.2478 Compiling argon2 v0.5.3479 Compiling backtrace v0.3.76480 Compiling cmac v0.7.2481 Compiling darling v0.20.11482 Compiling cast5 v0.11.1483 Compiling idea v0.5.1484 Compiling pwhash v1.0.0485 Compiling camellia v0.1.0486 Compiling ecb v0.1.2487 Compiling mysql-common-derive v0.32.1488 Compiling cbc v0.1.2489 Compiling des v0.8.1490 Compiling eax v0.5.0491 Compiling ocb3 v0.1.0492 Compiling pbkdf2 v0.12.2493 Compiling lzma-rust2 v0.13.0494 Compiling spki v0.7.3495 Compiling blowfish v0.9.1496 Compiling twofish v0.7.1497 Compiling cfb-mode v0.8.2498 Compiling tinystr v0.8.2499 Compiling potential_utf v0.1.4500 Compiling pkcs8 v0.10.2501 Compiling scrypt v0.11.0502 Compiling icu_collections v2.1.1503 Compiling icu_locale_core v2.1.1504 Compiling pkcs1 v0.7.5505 Compiling sec1 v0.7.3506 Compiling signatory v0.27.1507 Compiling dsa v0.6.3508 Compiling der-parser v10.0.0509 Compiling snafu v0.7.5510 Compiling aes-gcm-siv v0.11.1511 Compiling aes-gcm v0.10.3512 Compiling ed25519-dalek v2.2.0513 Compiling x25519-dalek v2.0.1514 Compiling rsa v0.9.10515 Compiling nkeys v0.4.5516 Compiling elliptic-curve v0.13.8517 Compiling x509-parser v0.18.1518 Compiling librocksdb-sys v0.17.3+10.4.2519 Compiling icu_provider v2.1.1520 Compiling primeorder v0.13.6521 Compiling ecdsa v0.16.9522 Compiling icu_normalizer v2.1.1523 Compiling icu_properties v2.1.2524 Compiling bytes v1.11.1525 Compiling serde_urlencoded v0.7.1526 Compiling chrono v0.4.43527 Compiling serde_qs v0.8.5528 Compiling quick-xml v0.31.0529 Compiling quick-xml v0.32.0530 Compiling serde_nanos v0.1.4531 Compiling rust-stemmers v1.2.0532 Compiling bincode v2.0.1533 Compiling bincode v1.3.3534 Compiling zip v6.0.0535 Compiling quick_cache v0.6.18536 Compiling p256 v0.13.2537 Compiling p384 v0.13.1538 Compiling p521 v0.13.3539 Compiling futures-executor v0.3.31540 Compiling futures v0.3.31541 Compiling opentelemetry_sdk v0.29.0542 Compiling tokio v1.49.0543 Compiling http v1.4.0544 Compiling http v0.2.12545 Compiling postgres-protocol v0.6.10546 Compiling prost v0.13.5547 Compiling lber v0.5.1548 Compiling postgres-types v0.2.12549 Compiling rasn v0.10.6550 Compiling rustls-webpki v0.103.9551 Compiling sct v0.7.1552 Compiling rustls-webpki v0.101.7553 Compiling rcgen v0.14.7554 Compiling rcgen v0.12.1555 Compiling biscuit v0.7.0556 Compiling idna_adapter v1.2.1557 Compiling http-body v1.0.1558 Compiling tungstenite v0.28.0559 Compiling form-data v0.6.0560 Compiling idna v1.1.0561 Compiling http-body v0.4.6562 Compiling http-body-util v0.1.3563 Compiling url v2.5.8564 Compiling rkyv v0.8.15565 Compiling totp-rs v5.7.0566 Compiling rasn-pkix v0.10.6567 Compiling sequoia-openpgp v2.2.0568 Compiling rocksdb v0.24.0569 Compiling rasn-cms v0.10.6570 Compiling mail-parser v0.11.2571 Compiling compact_str v0.9.0572 Compiling smtp-proto v0.2.0573 Compiling jmap-tools v0.1.3574 Compiling tokio-util v0.7.18575 Compiling tower v0.5.3576 Compiling tokio-stream v0.1.18577 Compiling tokio-rustls v0.24.1578 Compiling deadpool-runtime v0.1.4579 Compiling hyper v0.14.32580 Compiling tryhard v0.5.2581 Compiling proxy-header v0.1.2582 Compiling tokio-tungstenite v0.28.0583 Compiling deadpool v0.12.3584 Compiling deadpool v0.10.0585 Compiling tokio-rustls v0.26.4586 Compiling attohttpc v0.28.5587 Compiling hickory-proto v0.26.0-alpha.1588 Compiling tower-http v0.6.8589 Compiling h2 v0.4.13590 Compiling tower v0.4.13591 Compiling tokio-postgres v0.7.16592 Compiling combine v4.6.7593 Compiling h2 v0.3.27594 Compiling mysql_async v0.36.1595 Compiling async-nats v0.44.2596 Compiling ldap3 v0.12.1597 Compiling mail-send v0.5.2598 Compiling aws-creds v0.37.0599 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 redis v0.32.7610 Compiling mail-auth v0.7.5611 Compiling hyper-rustls v0.27.7612 Compiling hyper-timeout v0.5.2613 Compiling tonic v0.12.3614 Compiling reqwest v0.12.28615 Compiling opentelemetry-proto v0.29.0616 Compiling hickory-client v0.24.4617 Compiling opentelemetry-http v0.29.0618 Compiling dns-update v0.1.6619 Compiling opentelemetry-otlp v0.29.0620 Compiling trc v0.15.5 (/build/source/crates/trc)621 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: `directory` (lib) generated 8 warnings (run `cargo fix --lib -p directory` to apply 6 suggestions)824warning: unused variable: `ctx`825 --> crates/common/src/scripts/plugins/llm_prompt.rs:19:19826 |82719 | pub async fn exec(ctx: PluginContext<'_>) -> trc::Result<Variable> {828 | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`829830warning: 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 21m 02s998warning: 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 21 minutes 3 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.64s1357warning: 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-e16f263791e097b0)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/nyg4fpzwalcrvv3sshpkz0pci8c32p61-stalwart-0.15.51369shrinking /nix/store/nyg4fpzwalcrvv3sshpkz0pci8c32p61-stalwart-0.15.5/bin/stalwart1370checking for references to /build/ in /nix/store/nyg4fpzwalcrvv3sshpkz0pci8c32p61-stalwart-0.15.5...1371patching script interpreter paths in /nix/store/nyg4fpzwalcrvv3sshpkz0pci8c32p61-stalwart-0.15.51372stripping (with command strip and flags -S -p) in /nix/store/nyg4fpzwalcrvv3sshpkz0pci8c32p61-stalwart-0.15.5/lib /nix/store/nyg4fpzwalcrvv3sshpkz0pci8c32p61-stalwart-0.15.5/bin