stalwart-0.15.5
checks.x86_64-linux.nixos-eta
· build #920
· raw
unpackPhase
1unpacking source archive /nix/store/v96a568vgkdp6c4p0s28ll3525fq7y68-source2source root is source3Executing cargoSetupPostUnpackHook4Finished cargoSetupPostUnpackHookpatchPhase
5applying patch /nix/store/1nawx5prczx9vynlvhn4783iz6m68vlr-return-empty-s3-blob-for-empty-range.patch6patching file crates/store/src/backend/s3/mod.rs7Executing cargoSetupPostPatchHook8Validating consistency between /build/source/Cargo.lock and /build/stalwart-0.15.5-vendor-rust-s3-r2-signing-fixes/Cargo.lock9Finished cargoSetupPostPatchHookbuildPhase
10Executing cargoBuildHook11cargoBuildHook flags: -j 48 --target x86_64-unknown-linux-gnu --offline --profile release --no-default-features --features=sqlite\,postgres\,mysql\,rocks\,s3\,redis\,azure\,nats\,jemallocator/unprefixed_malloc_on_supported_platforms -p stalwart12 Compiling proc-macro2 v1.0.10613 Compiling quote v1.0.4414 Compiling unicode-ident v1.0.2315 Compiling libc v0.2.18216 Compiling cfg-if v1.0.417 Compiling version_check v0.9.518 Compiling serde_core v1.0.22819 Compiling typenum v1.19.020 Compiling serde v1.0.22821 Compiling shlex v1.3.022 Compiling find-msvc-tools v0.1.923 Compiling memchr v2.8.024 Compiling subtle v2.6.125 Compiling smallvec v1.15.126 Compiling parking_lot_core v0.9.1227 Compiling pin-project-lite v0.2.1628 Compiling itoa v1.0.1729 Compiling equivalent v1.0.230 Compiling const-oid v0.9.631 Compiling allocator-api2 v0.2.2132 Compiling portable-atomic v1.13.133 Compiling scopeguard v1.2.034 Compiling foldhash v0.2.035 Compiling critical-section v1.2.036 Compiling futures-core v0.3.3137 Compiling zerocopy v0.8.3938 Compiling cpufeatures v0.2.1739 Compiling futures-sink v0.3.3140 Compiling autocfg v1.5.041 Compiling slab v0.4.1242 Compiling futures-io v0.3.3143 Compiling pin-utils v0.1.044 Compiling log v0.4.2945 Compiling untrusted v0.9.046 Compiling futures-task v0.3.3147 Compiling stable_deref_trait v1.2.148 Compiling pkg-config v0.3.3249 Compiling percent-encoding v2.3.250 Compiling crossbeam-utils v0.8.2151 Compiling writeable v0.6.252 Compiling litemap v0.8.153 Compiling icu_normalizer_data v2.1.154 Compiling icu_properties_data v2.1.255 Compiling libm v0.2.1656 Compiling getrandom v0.3.457 Compiling base64 v0.22.158 Compiling lock_api v0.4.1459 Compiling futures-channel v0.3.3160 Compiling fnv v1.0.761 Compiling rustls v0.23.3662 Compiling utf8_iter v1.0.463 Compiling thiserror v2.0.1864 Compiling zmij v1.0.2165 Compiling bitflags v2.11.066 Compiling serde_json v1.0.14967 Compiling base64ct v1.8.368 Compiling getrandom v0.4.169 Compiling generic-array v0.14.770 Compiling httparse v1.10.171 Compiling powerfmt v0.2.072 Compiling time-core v0.1.873 Compiling num-conv v0.2.074 Compiling form_urlencoded v1.2.275 Compiling tower-service v0.3.376 Compiling try-lock v0.2.577 Compiling ipnet v2.11.078 Compiling httpdate v1.0.379 Compiling either v1.15.080 Compiling atomic-waker v1.1.281 Compiling vcpkg v0.2.1582 Compiling rustversion v1.0.2283 Compiling tinyvec_macros v0.1.184 Compiling sha1_smol v1.0.185 Compiling tower-layer v0.3.386 Compiling zstd-safe v7.2.487 Compiling data-encoding v2.10.088 Compiling ryu v1.0.2389 Compiling time-macros v0.2.2790 Compiling want v0.3.191 Compiling spin v0.9.892 Compiling crc32fast v1.5.093 Compiling num-traits v0.2.1994 Compiling tinyvec v1.10.095 Compiling simdutf8 v0.1.596 Compiling simd-adler32 v0.3.897 Compiling adler2 v2.0.198 Compiling minimal-lexical v0.2.199 Compiling hashbrown v0.16.1100 Compiling pem-rfc7468 v0.7.0101 Compiling lazy_static v1.5.0102 Compiling aho-corasick v1.1.4103 Compiling sync_wrapper v1.0.2104 Compiling regex-syntax v0.8.9105 Compiling heck v0.5.0106 Compiling rustix v1.1.3107 Compiling thiserror v1.0.69108 Compiling iri-string v0.7.10109 Compiling anyhow v1.0.101110 Compiling linux-raw-sys v0.11.0111 Compiling semver v1.0.27112 Compiling ahash v0.8.12113 Compiling byteorder v1.5.0114 Compiling iana-time-zone v0.1.65115 Compiling pure-rust-locales v0.8.2116 Compiling crunchy v0.2.4117 Compiling num-bigint-dig v0.8.6118 Compiling siphasher v1.0.2119 Compiling syn v1.0.109120 Compiling encoding_rs v0.8.35121 Compiling nom v7.1.3122 Compiling miniz_oxide v0.8.9123 Compiling zlib-rs v0.6.0124 Compiling crc-catalog v2.4.0125 Compiling crc v3.4.0126 Compiling rustc_version v0.4.1127 Compiling arrayvec v0.7.6128 Compiling constant_time_eq v0.3.1129 Compiling rayon-core v1.13.0130 Compiling oid-registry v0.8.1131 Compiling cfg_aliases v0.2.1132 Compiling tagptr v0.2.0133 Compiling bumpalo v3.19.1134 Compiling libbz2-rs-sys v0.2.2135 Compiling getrandom v0.1.16136 Compiling pem v3.0.6137 Compiling tiny-keccak v2.0.2138 Compiling nix v0.30.1139 Compiling parking v2.2.1140 Compiling ppmd-rust v1.4.0141 Compiling glob v0.3.3142 Compiling resolv-conf v0.7.6143 Compiling deflate64 v0.1.10144 Compiling opaque-debug v0.3.1145 Compiling quick-xml v0.38.4146 Compiling static_assertions v1.1.0147 Compiling rustls v0.21.12148 Compiling crossbeam-epoch v0.9.18149 Compiling crossbeam-channel v0.5.15150 Compiling concurrent-queue v2.5.0151 Compiling once_cell v1.21.3152 Compiling curve25519-dalek v4.1.3153 Compiling syn v2.0.115154 Compiling zopfli v0.8.3155 Compiling core2 v0.4.0156 Compiling itertools v0.14.0157 Compiling proc-macro-error-attr v1.0.4158 Compiling rle-decode-fast v1.0.3159 Compiling constant_time_eq v0.4.2160 Compiling rtrb v0.3.2161 Compiling xxhash-rust v0.8.15162 Compiling arrayref v0.3.9163 Compiling md5 v0.8.0164 Compiling indexmap v2.13.0165 Compiling tracing-core v0.1.36166 Compiling castaway v0.2.4167 Compiling psl-types v2.0.11168 Compiling clang-sys v1.8.1169 Compiling foldhash v0.1.5170 Compiling libflate_lz77 v2.2.0171 Compiling unicode-normalization v0.1.25172 Compiling libloading v0.8.9173 Compiling proc-macro-error v1.0.4174 Compiling psl v2.1.190175 Compiling base16ct v0.2.0176 Compiling fast-float v0.2.0177 Compiling hashbrown v0.15.5178 Compiling bindgen v0.72.1179 Compiling bzip2 v0.6.1180 Compiling waker-fn v1.2.0181 Compiling adler32 v1.2.0182 Compiling fastrand v1.9.0183 Compiling http-types v2.12.0184 Compiling strsim v0.11.1185 Compiling farmhash v1.1.5186 Compiling paste v1.0.15187 Compiling gethostname v1.1.0188 Compiling event-listener v2.5.3189 Compiling nohash-hasher v0.2.0190 Compiling winnow v0.7.14191 Compiling dary_heap v0.3.8192 Compiling mail-builder v0.4.4193 Compiling jobserver v0.1.34194 Compiling getrandom v0.2.17195 Compiling ident_case v1.0.1196 Compiling base64 v0.21.7197 Compiling async-channel v1.9.0198 Compiling futures-lite v1.13.0199 Compiling azure_core v0.21.0200 Compiling phf_shared v0.13.1201 Compiling libflate v2.2.1202 Compiling itertools v0.13.0203 Compiling cc v1.2.56204 Compiling const-random-macro v0.1.16205 Compiling infer v0.2.3206 Compiling rustc-hash v2.1.1207 Compiling unicode-bidi v0.3.18208 Compiling rustls-pemfile v1.0.4209 Compiling regex-automata v0.4.14210 Compiling base64 v0.13.1211 Compiling dyn-clone v1.0.20212 Compiling unicode-properties v0.1.4213 Compiling fastrand v2.3.0214 Compiling toml_datetime v0.7.5+spec-1.1.0215 Compiling phf v0.13.1216 Compiling event-listener v5.4.1217 Compiling proc-macro-error-attr2 v2.0.0218 Compiling phf_generator v0.13.1219 Compiling phf_shared v0.12.1220 Compiling indexmap v1.9.3221 Compiling hashbrown v0.14.5222 Compiling const-random v0.1.18223 Compiling chrono-tz v0.10.4224 Compiling fallible-iterator v0.2.0225 Compiling openssl-probe v0.1.6226 Compiling dlv-list v0.5.2227 Compiling openssl-probe v0.2.1228 Compiling mysql_common v0.35.5229 Compiling phf_codegen v0.13.1230 Compiling hashbrown v0.12.3231 Compiling phf v0.12.1232 Compiling crc16 v0.4.0233 Compiling event-listener-strategy v0.5.4234 Compiling errno v0.3.14235 Compiling socket2 v0.6.2236 Compiling mio v1.1.1237 Compiling stringprep v0.1.5238 Compiling socket2 v0.5.10239 Compiling signal-hook-registry v1.4.8240 Compiling rand_core v0.6.4241 Compiling rusticata-macros v4.1.0242 Compiling num_cpus v1.17.0243 Compiling termcolor v1.4.1244 Compiling rand_core v0.9.5245 Compiling parking_lot v0.12.5246 Compiling rand_core v0.5.1247 Compiling num-integer v0.1.46248 Compiling async-lock v3.4.2249 Compiling password-hash v0.5.0250 Compiling ff v0.13.1251 Compiling btoi v0.4.3252 Compiling jieba-macros v0.8.1253 Compiling whoami v2.1.1254 Compiling crossbeam-deque v0.8.6255 Compiling cedarwood v0.4.6256 Compiling saturating v0.1.0257 Compiling RustyXML v0.3.0258 Compiling home v0.5.12259 Compiling linked-hash-map v0.5.6260 Compiling twox-hash v2.1.2261 Compiling scheduled-thread-pool v0.2.7262 Compiling group v0.13.0263 Compiling num-bigint v0.4.6264 Compiling num-iter v0.1.45265 Compiling ordered-multimap v0.7.3266 Compiling rustls-native-certs v0.6.3267 Compiling lru-cache v0.1.2268 Compiling whatlang v0.18.0269 Compiling hashlink v0.10.0270 Compiling lru v0.14.0271 Compiling keyed_priority_queue v0.4.2272 Compiling arc-swap v1.8.2273 Compiling deranged v0.5.6274 Compiling uuid v1.21.0275 Compiling crossbeam-queue v0.3.12276 Compiling nibble_vec v0.1.0277 Compiling bytemuck v1.25.0278 Compiling nohash v0.2.0279 Compiling md5 v0.7.0280 Compiling fallible-streaming-iterator v0.1.9281 Compiling maplit v1.0.2282 Compiling endian-type v0.1.2283 Compiling fallible-iterator v0.3.0284 Compiling hex v0.4.3285 Compiling bit-vec v0.8.0286 Compiling r2d2 v0.8.10287 Compiling bitpacking v0.9.3288 Compiling radix_trie v0.2.1289 Compiling lz4_flex v0.12.0290 Compiling urlencoding v2.1.3291 Compiling radium v0.7.0292 Compiling typewit_proc_macros v1.8.1293 Compiling base32 v0.5.1294 Compiling prometheus v0.14.0295 Compiling rust-ini v0.21.3296 Compiling virtue v0.0.18297 Compiling roaring v0.11.3298 Compiling object v0.37.3299 Compiling cexpr v0.6.0300 Compiling rayon v1.11.0301 Compiling moka v0.12.13302 Compiling bit-set v0.8.0303 Compiling decancer v3.3.3304 Compiling cfb v0.7.3305 Compiling unicode-script v0.5.8306 Compiling unty v0.0.4307 Compiling gimli v0.32.3308 Compiling common v0.15.5 (/build/source/crates/common)309 Compiling tap v1.0.1310 Compiling doc-comment v0.3.4311 Compiling typewit v1.14.2312 Compiling hostname v0.4.2313 Compiling phf_shared v0.11.3314 Compiling regex v1.12.3315 Compiling wyz v0.5.1316 Compiling heck v0.4.1317 Compiling new_debug_unreachable v1.0.6318 Compiling precomputed-hash v0.1.1319 Compiling ring v0.17.14320 Compiling zstd-sys v2.0.16+zstd.1.5.7321 Compiling libz-sys v1.1.23322 Compiling blake3 v1.8.3323 Compiling privdrop v0.5.6324 Compiling bzip2-sys v0.1.13+1.0.8325 Compiling lz4-sys v1.11.1+lz4-1.10.0326 Compiling toml_parser v1.0.8+spec-1.1.0327 Compiling libsqlite3-sys v0.35.0328 Compiling unicode-security v0.1.2329 Compiling rustc-demangle v0.1.27330 Compiling opentelemetry-semantic-conventions v0.29.0331 Compiling same-file v1.0.6332 Compiling crypto-common v0.1.7333 Compiling block-buffer v0.10.4334 Compiling term v1.2.1335 Compiling funty v2.0.0336 Compiling keccak v0.1.6337 Compiling imagesize v0.14.0338 Compiling fixedbitset v0.5.7339 Compiling digest v0.10.7340 Compiling walkdir v2.5.0341 Compiling bincode_derive v2.0.1342 Compiling konst_kernel v0.3.15343 Compiling infer v0.19.0344 Compiling sha3 v0.10.8345 Compiling string_cache v0.8.9346 Compiling ena v0.14.4347 Compiling const_panic v0.2.15348 Compiling toml_edit v0.23.10+spec-1.0.0349 Compiling ascii-canvas v4.0.0350 Compiling petgraph v0.7.1351 Compiling lalrpop-util v0.22.2352 Compiling itertools v0.10.5353 Compiling unicode-xid v0.2.6354 Compiling bitvec v1.0.1355 Compiling konst v0.3.16356 Compiling sha1collisiondetection v0.3.4357 Compiling unicode-general-category v1.1.0358 Compiling generic-array v1.3.5359 Compiling zstd v0.13.3360 Compiling buffered-reader v1.4.0361 Compiling memsec v0.7.0362 Compiling utf-8 v0.7.6363 Compiling jemalloc-sys v0.5.4+5.3.0-patched364 Compiling memory-stats v1.2.0365 Compiling mime v0.3.17366 Compiling rusqlite v0.37.0367 Compiling include-flate-compress v0.3.1368 Compiling time v0.3.47369 Compiling ppv-lite86 v0.2.21370 Compiling proc-macro-crate v3.4.0371 Compiling jemallocator v0.5.4372 Compiling synstructure v0.13.2373 Compiling darling_core v0.20.11374 Compiling proc-macro-error2 v2.0.1375 Compiling snafu-derive v0.7.5376 Compiling rand_chacha v0.3.1377 Compiling rand_chacha v0.9.0378 Compiling rand_chacha v0.2.2379 Compiling rand v0.7.3380 Compiling rand v0.8.5381 Compiling rand v0.9.2382 Compiling lalrpop v0.22.2383 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 yoke-derive v0.8.1389 Compiling futures-macro v0.3.31390 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-derive v0.6.0402 Compiling asn1-rs-impl v0.2.0403 Compiling pin-project-internal v1.1.10404 Compiling event_macro v0.15.5 (/build/source/crates/trc/event-macro)405 Compiling flate2 v1.1.9406 Compiling curve25519-dalek-derive v0.1.1407 Compiling include-flate-codegen v0.3.1408 Compiling ptr_meta v0.3.1409 Compiling prost-derive v0.13.5410 Compiling rancor v0.1.1411 Compiling nuid v0.5.0412 Compiling maybe-async v0.2.10413 Compiling serde_repr v0.1.20414 Compiling proc_macros v0.15.5 (/build/source/crates/utils/proc-macros)415 Compiling async-stream-impl v0.3.6416 Compiling zeroize v1.8.2417 Compiling rasn-derive v0.10.6418 Compiling munge v0.4.7419 Compiling rustls-pki-types v1.14.0420 Compiling der v0.7.10421 Compiling addr2line v0.25.1422 Compiling bytecheck v0.8.2423 Compiling futures-util v0.3.31424 Compiling rend v0.5.3425 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 bitvec-nom2 v0.2.1430 Compiling yasna v0.5.2431 Compiling include-flate v0.3.1432 Compiling rustls-native-certs v0.7.3433 Compiling webpki-roots v0.26.11434 Compiling fancy-regex v0.17.0435 Compiling asn1-rs v0.7.1436 Compiling pin-project v1.1.10437 Compiling darling_macro v0.20.11438 Compiling zerofrom v0.1.6439 Compiling aws-region v0.25.5440 Compiling rev_lines v0.3.0441 Compiling yoke v0.8.1442 Compiling async-stream v0.3.6443 Compiling block-padding v0.3.3444 Compiling crypto-bigint v0.5.5445 Compiling digest v0.9.0446 Compiling block-buffer v0.9.0447 Compiling crypto-mac v0.10.0448 Compiling cipher v0.2.5449 Compiling dbl v0.3.2450 Compiling aead v0.5.2451 Compiling universal-hash v0.5.1452 Compiling inout v0.1.4453 Compiling zerovec v0.11.5454 Compiling tracing v0.1.44455 Compiling zerotrie v0.2.3456 Compiling hmac v0.10.1457 Compiling sha-1 v0.9.8458 Compiling sha2 v0.9.9459 Compiling md-5 v0.9.1460 Compiling polyval v0.6.2461 Compiling blowfish v0.7.0462 Compiling jieba-rs v0.8.1463 Compiling cipher v0.4.4464 Compiling opentelemetry v0.29.1465 Compiling ghash v0.5.1466 Compiling sha2 v0.10.9467 Compiling hmac v0.12.1468 Compiling signature v2.2.0469 Compiling sha1 v0.10.6470 Compiling md-5 v0.10.6471 Compiling blake2 v0.10.6472 Compiling ripemd v0.1.3473 Compiling hkdf v0.12.4474 Compiling ed25519 v2.2.3475 Compiling rfc6979 v0.4.0476 Compiling spki v0.7.3477 Compiling aes v0.8.4478 Compiling ctr v0.9.2479 Compiling salsa20 v0.10.2480 Compiling pwhash v1.0.0481 Compiling cmac v0.7.2482 Compiling cfb-mode v0.8.2483 Compiling idea v0.5.1484 Compiling darling v0.20.11485 Compiling cast5 v0.11.1486 Compiling cbc v0.1.2487 Compiling camellia v0.1.0488 Compiling backtrace v0.3.76489 Compiling mysql-common-derive v0.32.1490 Compiling ecb v0.1.2491 Compiling pkcs8 v0.10.2492 Compiling eax v0.5.0493 Compiling argon2 v0.5.3494 Compiling ocb3 v0.1.0495 Compiling pbkdf2 v0.12.2496 Compiling lzma-rust2 v0.13.0497 Compiling twofish v0.7.1498 Compiling des v0.8.1499 Compiling blowfish v0.9.1500 Compiling scrypt v0.11.0501 Compiling pkcs1 v0.7.5502 Compiling sec1 v0.7.3503 Compiling signatory v0.27.1504 Compiling tinystr v0.8.2505 Compiling potential_utf v0.1.4506 Compiling dsa v0.6.3507 Compiling icu_collections v2.1.1508 Compiling icu_locale_core v2.1.1509 Compiling aes-gcm-siv v0.11.1510 Compiling aes-gcm v0.10.3511 Compiling rsa v0.9.10512 Compiling snafu v0.7.5513 Compiling der-parser v10.0.0514 Compiling elliptic-curve v0.13.8515 Compiling ed25519-dalek v2.2.0516 Compiling x25519-dalek v2.0.1517 Compiling x509-parser v0.18.1518 Compiling nkeys v0.4.5519 Compiling primeorder v0.13.6520 Compiling ecdsa v0.16.9521 Compiling zip v6.0.0522 Compiling icu_provider v2.1.1523 Compiling bytes v1.11.1524 Compiling serde_urlencoded v0.7.1525 Compiling chrono v0.4.43526 Compiling serde_qs v0.8.5527 Compiling quick-xml v0.31.0528 Compiling quick-xml v0.32.0529 Compiling rust-stemmers v1.2.0530 Compiling serde_nanos v0.1.4531 Compiling bincode v2.0.1532 Compiling bincode v1.3.3533 Compiling icu_normalizer v2.1.1534 Compiling icu_properties v2.1.2535 Compiling p384 v0.13.1536 Compiling p256 v0.13.2537 Compiling p521 v0.13.3538 Compiling quick_cache v0.6.18539 Compiling tokio v1.49.0540 Compiling http v1.4.0541 Compiling http v0.2.12542 Compiling postgres-protocol v0.6.10543 Compiling prost v0.13.5544 Compiling lber v0.5.1545 Compiling librocksdb-sys v0.17.3+10.4.2546 Compiling futures-executor v0.3.31547 Compiling futures v0.3.31548 Compiling opentelemetry_sdk v0.29.0549 Compiling postgres-types v0.2.12550 Compiling idna_adapter v1.2.1551 Compiling idna v1.1.0552 Compiling rustls-webpki v0.103.9553 Compiling sct v0.7.1554 Compiling rustls-webpki v0.101.7555 Compiling rcgen v0.14.7556 Compiling rcgen v0.12.1557 Compiling http-body v0.4.6558 Compiling url v2.5.8559 Compiling biscuit v0.7.0560 Compiling rasn v0.10.6561 Compiling http-body v1.0.1562 Compiling tungstenite v0.28.0563 Compiling form-data v0.6.0564 Compiling http-body-util v0.1.3565 Compiling totp-rs v5.7.0566 Compiling rkyv v0.8.15567 Compiling sequoia-openpgp v2.2.0568 Compiling rasn-pkix v0.10.6569 Compiling mail-parser v0.11.2570 Compiling compact_str v0.9.0571 Compiling smtp-proto v0.2.0572 Compiling jmap-tools v0.1.3573 Compiling rasn-cms v0.10.6574 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 tokio-rustls v0.26.4584 Compiling attohttpc v0.28.5585 Compiling rocksdb v0.24.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 h2 v0.3.27593 Compiling combine v4.6.7594 Compiling tokio-postgres v0.7.16595 Compiling mysql_async v0.36.1596 Compiling async-nats v0.44.2597 Compiling ldap3 v0.12.1598 Compiling aws-creds v0.37.0599 Compiling mail-send v0.5.2600 Compiling hyper-rustls v0.24.2601 Compiling rust-s3 v0.35.1602 Compiling deadpool-postgres v0.14.1603 Compiling calcard v0.3.2604 Compiling sieve-rs v0.7.1605 Compiling calcard v0.1.3606 Compiling hickory-proto v0.24.4607 Compiling hyper v1.8.1608 Compiling hickory-resolver v0.26.0-alpha.1609 Compiling hyper-util v0.1.20610 Compiling redis v0.32.7611 Compiling mail-auth v0.7.5612 Compiling hyper-rustls v0.27.7613 Compiling hyper-timeout v0.5.2614 Compiling tonic v0.12.3615 Compiling reqwest v0.12.28616 Compiling hickory-client v0.24.4617 Compiling opentelemetry-proto v0.29.0618 Compiling opentelemetry-http v0.29.0619 Compiling dns-update v0.1.6620 Compiling opentelemetry-otlp v0.29.0621 Compiling trc v0.15.5 (/build/source/crates/trc)622 Compiling azure_svc_blobstorage v0.21.0623 Compiling azure_storage v0.21.0624 Compiling utils v0.15.5 (/build/source/crates/utils)625 Compiling types v0.15.5 (/build/source/crates/types)626 Compiling nlp v0.15.5 (/build/source/crates/nlp)627 Compiling imap_proto v0.15.5 (/build/source/crates/imap-proto)628 Compiling jmap_proto v0.15.5 (/build/source/crates/jmap-proto)629 Compiling dav-proto v0.15.5 (/build/source/crates/dav-proto)630 Compiling azure_storage_blobs v0.21.0631 Compiling store v0.15.5 (/build/source/crates/store)632 Compiling directory v0.15.5 (/build/source/crates/directory)633warning: variable does not need to be mutable634 --> crates/directory/src/backend/internal/manage.rs:269:9635 |636269 | mut tenant_id: Option<u32>,637 | ----^^^^^^^^^638 | |639 | help: remove this `mut`640 |641 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default642643warning: variable does not need to be mutable644 --> crates/directory/src/backend/internal/manage.rs:976:13645 |646976 | let mut pinfo_name =647 | ----^^^^^^^^^^648 | |649 | help: remove this `mut`650651warning: variable does not need to be mutable652 --> crates/directory/src/backend/internal/manage.rs:990:13653 |654990 | let mut used_quota: Option<i64> = None;655 | ----^^^^^^^^^^656 | |657 | help: remove this `mut`658659warning: unused variable: `tenant`660 --> crates/directory/src/backend/internal/manage.rs:703:13661 |662703 | let tenant = principal.data.iter().find_map(|data| {663 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tenant`664 |665 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default666667warning: unused variable: `used_quota`668 --> crates/directory/src/backend/internal/manage.rs:990:13669 |670990 | let mut used_quota: Option<i64> = None;671 | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_used_quota`672673warning: variable `tenant_id` is assigned to, but never used674 --> crates/directory/src/backend/internal/manage.rs:2307:13675 |6762307 | let mut tenant_id = None;677 | ^^^^^^^^^^^^^678 |679 = note: consider using `_tenant_id` instead680681warning: value assigned to `tenant_id` is never read682 --> crates/directory/src/backend/internal/manage.rs:2383:21683 |6842383 | tenant_id = Some(tid);685 | ^^^^^^^^^^^^^^^^^^^^^686 |687 = help: maybe it is overwritten before being read?688 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default689690warning: unused variable: `is_enterprise`691 --> crates/directory/src/core/config.rs:32:9692 |69332 | is_enterprise: bool,694 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`695696warning: unused import: `*`697 --> crates/common/src/config/smtp/session.rs:25:52698 |69925 | expr::{if_block::IfBlock, tokenizer::TokenMap, *},700 | ^701 |702 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default703704warning: unused import: `TenantInfo`705 --> crates/common/src/core.rs:9:40706 |7079 | auth::{AccessToken, ResourceToken, TenantInfo},708 | ^^^^^^^^^^709710warning: unused import: `std::time::Instant`711 --> crates/common/src/scripts/plugins/llm_prompt.rs:7:5712 |7137 | use std::time::Instant;714 | ^^^^^^^^^^^^^^^^^^715716warning: unused import: `directory::Permission`717 --> crates/common/src/scripts/plugins/llm_prompt.rs:9:5718 |7199 | use directory::Permission;720 | ^^^^^^^^^^^^^^^^^^^^^721722warning: unused import: `compiler::Number`723 --> crates/common/src/scripts/plugins/llm_prompt.rs:10:26724 |72510 | use sieve::{FunctionMap, compiler::Number, runtime::Variable};726 | ^^^^^^^^^^^^^^^^727728warning: unused imports: `AiEvent` and `SecurityEvent`729 --> crates/common/src/scripts/plugins/llm_prompt.rs:11:11730 |73111 | use trc::{AiEvent, SecurityEvent};732 | ^^^^^^^ ^^^^^^^^^^^^^733734warning: variable does not need to be mutable735 --> crates/common/src/auth/access_token.rs:92:13736 |73792 | let mut permissions = role_permissions.finalize();738 | ----^^^^^^^^^^^739 | |740 | help: remove this `mut`741 |742 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default743744warning: variable does not need to be mutable745 --> crates/common/src/auth/access_token.rs:93:13746 |74793 | let mut tenant = None;748 | ----^^^^^^749 | |750 | help: remove this `mut`751752warning: variable does not need to be mutable753 --> crates/common/src/config/mod.rs:53:9754 |75553 | mut stores: Stores,756 | ----^^^^^^757 | |758 | help: remove this `mut`759760warning: use of deprecated method `tokio::net::TcpSocket::set_tos`: `tos` related methods have been renamed `tos_v4` since they are IPv4-specific.761 --> crates/common/src/config/server/listener.rs:119:40762 |763119 | ... socket.set_tos(value)764 | ^^^^^^^765 |766 = note: `#[warn(deprecated)]` on by default767768warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead769 --> crates/common/src/config/smtp/auth.rs:246:41770 |771246 | let key = RsaKey::<Sha256>::from_rsa_pem(&pk)772 | ^^^^^^^^^^^^773774warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead775 --> crates/common/src/config/smtp/auth.rs:247:48776 |777247 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))778 | ^^^^^^^^^^^^^^779780warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead781 --> crates/common/src/config/smtp/auth.rs:255:47782 |783255 | let key_clone = RsaKey::<Sha256>::from_rsa_pem(&pk)784 | ^^^^^^^^^^^^785786warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead787 --> crates/common/src/config/smtp/auth.rs:256:48788 |789256 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))790 | ^^^^^^^^^^^^^^791792warning: use of deprecated method `tokio::net::TcpStream::set_linger`: `SO_LINGER` causes the socket to block the thread on drop793 --> crates/common/src/listener/listen.rs:292:38794 |795292 | && let Err(err) = stream.set_linger(self.linger)796 | ^^^^^^^^^^797798warning: variable `tenant_id` is assigned to, but never used799 --> crates/common/src/auth/access_token.rs:49:13800 |80149 | let mut tenant_id = None;802 | ^^^^^^^^^^^^^803 |804 = note: consider using `_tenant_id` instead805 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default806807warning: value assigned to `tenant_id` is never read808 --> crates/common/src/auth/access_token.rs:56:45809 |81056 | PrincipalData::Tenant(v) => tenant_id = Some(v),811 | ^^^^^^^^^^^^^^^^^^^812 |813 = help: maybe it is overwritten before being read?814 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default815816warning: unused variable: `stores`817 --> crates/common/src/config/telemetry.rs:163:39818 |819163 | pub fn parse(config: &mut Config, stores: &Stores) -> Self {820 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stores`821822warning: `directory` (lib) generated 8 warnings (run `cargo fix --lib -p directory` to apply 6 suggestions)823warning: 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: unused variable: `is_enterprise`830 --> crates/common/src/telemetry/mod.rs:99:52831 |83299 | pub fn spawn(self, builder: SubscriberBuilder, is_enterprise: bool) {833 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`834835 Compiling groupware v0.15.5 (/build/source/crates/groupware)836 Compiling spam-filter v0.15.5 (/build/source/crates/spam-filter)837 Compiling http_proto v0.15.5 (/build/source/crates/http-proto)838 Compiling email v0.15.5 (/build/source/crates/email)839 Compiling dav v0.15.5 (/build/source/crates/dav)840 Compiling smtp v0.15.5 (/build/source/crates/smtp)841 Compiling imap v0.15.5 (/build/source/crates/imap)842 Compiling managesieve v0.15.5 (/build/source/crates/managesieve)843 Compiling pop3 v0.15.5 (/build/source/crates/pop3)844 Compiling services v0.15.5 (/build/source/crates/services)845 Compiling migration v0.15.5 (/build/source/crates/migration)846warning: unused import: `smtp::reporting::SmtpReporting`847 --> crates/services/src/housekeeper/mod.rs:14:5848 |84914 | use smtp::reporting::SmtpReporting;850 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^851 |852 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default853854warning: unused imports: `IterateParams`, `TelemetryClass`, and `key::DeserializeBigEndian`855 --> crates/services/src/task_manager/index.rs:14:5856 |85714 | IterateParams, SerializeInfallible, ValueKey,858 | ^^^^^^^^^^^^^859...86020 | TelemetryClass, ValueClass, key::DeserializeBigEndian,861 | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^862863warning: unused import: `blob_hash::BlobHash`864 --> crates/services/src/task_manager/index.rs:25:5865 |86625 | blob_hash::BlobHash,867 | ^^^^^^^^^^^^^^^^^^^868869warning: unused import: `Archiver`870 --> crates/migration/src/blob.rs:11:19871 |87211 | AnyClass, Archiver, BatchBuilder, BlobLink, BlobOp, ValueClass, key::DeserializeBigEndian,873 | ^^^^^^^^874 |875 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default876877warning: unused import: `Serialize`878 --> crates/migration/src/blob.rs:9:40879 |8809 | IterateParams, SUBSPACE_BLOB_LINK, Serialize, SerializeInfallible, U32_LEN, U64_LEN, ValueKey,881 | ^^^^^^^^^882883warning: unused variable: `deleted_at`884 --> crates/migration/src/blob.rs:218:33885 |886218 | OldType::Undelete { deleted_at, size } => {887 | ^^^^^^^^^^ help: try ignoring the field: `deleted_at: _`888 |889 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default890891warning: unused variable: `size`892 --> crates/migration/src/blob.rs:218:45893 |894218 | OldType::Undelete { deleted_at, size } => {895 | ^^^^ help: try ignoring the field: `size: _`896897 Compiling jmap v0.15.5 (/build/source/crates/jmap)898warning: `migration` (lib) generated 4 warnings (run `cargo fix --lib -p migration` to apply 3 suggestions)899warning: `common` (lib) generated 20 warnings (run `cargo fix --lib -p common` to apply 12 suggestions)900 Compiling http v0.15.5 (/build/source/crates/http)901warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`902 --> crates/http/src/management/queue.rs:15:29903 |90415 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};905 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^906 |907 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default908909warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`910 --> crates/http/src/management/report.rs:8:29911 |9128 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};913 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^914915warning: unused import: `self`916 --> crates/http/src/management/stores.rs:17:33917 |91817 | backend::internal::manage::{self, ManageDirectory},919 | ^^^^920921warning: variable does not need to be mutable922 --> crates/http/src/management/principal.rs:270:21923 |924270 | let mut tenant = access_token.tenant.map(|t| t.id);925 | ----^^^^^^926 | |927 | help: remove this `mut`928 |929 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default930931warning: variable does not need to be mutable932 --> crates/http/src/management/principal.rs:363:21933 |934363 | let mut tenant = access_token.tenant.map(|t| t.id);935 | ----^^^^^^936 | |937 | help: remove this `mut`938939warning: variable does not need to be mutable940 --> crates/http/src/management/queue.rs:139:13941 |942139 | let mut tenant_domains: Option<Vec<String>> = None;943 | ----^^^^^^^^^^^^^^944 | |945 | help: remove this `mut`946947warning: variable does not need to be mutable948 --> crates/http/src/management/report.rs:49:13949 |95049 | let mut tenant_domains: Option<Vec<String>> = None;951 | ----^^^^^^^^^^^^^^952 | |953 | help: remove this `mut`954955warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_der`: use `from_key_der()` instead956 --> crates/http/src/management/dkim.rs:256:55957 |958256 | Algorithm::Rsa => match RsaKey::<Sha256>::from_der(&der).and_then(|key| {959 | ^^^^^^^^960 |961 = note: `#[warn(deprecated)]` on by default962963warning: unused variable: `body`964 --> crates/http/src/management/stores.rs:81:9965 |96681 | body: Option<Vec<u8>>,967 | ^^^^ help: if this is intentional, prefix it with an underscore: `_body`968 |969 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default970971warning: unused variable: `session`972 --> crates/http/src/management/stores.rs:82:9973 |97482 | session: &HttpSessionData,975 | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`976977warning: struct `Timestamp` is never constructed978 --> crates/http/src/management/mod.rs:202:19979 |980202 | pub(super) struct Timestamp(u64);981 | ^^^^^^^^^982 |983 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default984985warning: method `into_inner` is never used986 --> crates/http/src/management/mod.rs:238:12987 |988237 | impl Timestamp {989 | -------------- method in this implementation990238 | pub fn into_inner(self) -> u64 {991 | ^^^^^^^^^^992993warning: `http` (lib) generated 12 warnings (run `cargo fix --lib -p http` to apply 9 suggestions)994warning: `services` (lib) generated 3 warnings (run `cargo fix --lib -p services` to apply 3 suggestions)995 Compiling stalwart v0.15.5 (/build/source/crates/main)996 Finished `release` profile [optimized] target(s) in 20m 06s997warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1998note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`999Executing cargoInstallPostBuildHook1000Finished cargoInstallPostBuildHook1001Finished cargoBuildHook1002buildPhase completed in 20 minutes 7 secondscheckPhase
1003Executing cargoCheckHook1004cargoCheckHook flags: -j 48 --profile release --no-default-features --features=sqlite\,postgres\,mysql\,rocks\,s3\,redis\,azure\,nats\,jemallocator/unprefixed_malloc_on_supported_platforms --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_tests1005warning: variable does not need to be mutable1006 --> crates/directory/src/backend/internal/manage.rs:269:91007 |1008269 | mut tenant_id: Option<u32>,1009 | ----^^^^^^^^^1010 | |1011 | help: remove this `mut`1012 |1013 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default10141015warning: variable does not need to be mutable1016 --> crates/directory/src/backend/internal/manage.rs:976:131017 |1018976 | let mut pinfo_name =1019 | ----^^^^^^^^^^1020 | |1021 | help: remove this `mut`10221023warning: variable does not need to be mutable1024 --> crates/directory/src/backend/internal/manage.rs:990:131025 |1026990 | let mut used_quota: Option<i64> = None;1027 | ----^^^^^^^^^^1028 | |1029 | help: remove this `mut`10301031warning: unused variable: `tenant`1032 --> crates/directory/src/backend/internal/manage.rs:703:131033 |1034703 | let tenant = principal.data.iter().find_map(|data| {1035 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tenant`1036 |1037 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default10381039warning: unused variable: `used_quota`1040 --> crates/directory/src/backend/internal/manage.rs:990:131041 |1042990 | let mut used_quota: Option<i64> = None;1043 | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_used_quota`10441045warning: variable `tenant_id` is assigned to, but never used1046 --> crates/directory/src/backend/internal/manage.rs:2307:131047 |10482307 | let mut tenant_id = None;1049 | ^^^^^^^^^^^^^1050 |1051 = note: consider using `_tenant_id` instead10521053warning: value assigned to `tenant_id` is never read1054 --> crates/directory/src/backend/internal/manage.rs:2383:211055 |10562383 | tenant_id = Some(tid);1057 | ^^^^^^^^^^^^^^^^^^^^^1058 |1059 = help: maybe it is overwritten before being read?1060 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default10611062warning: unused variable: `is_enterprise`1063 --> crates/directory/src/core/config.rs:32:91064 |106532 | is_enterprise: bool,1066 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`10671068warning: `directory` (lib) generated 8 warnings (run `cargo fix --lib -p directory` to apply 6 suggestions)1069warning: unused import: `*`1070 --> crates/common/src/config/smtp/session.rs:25:521071 |107225 | expr::{if_block::IfBlock, tokenizer::TokenMap, *},1073 | ^1074 |1075 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default10761077warning: unused import: `TenantInfo`1078 --> crates/common/src/core.rs:9:401079 |10809 | auth::{AccessToken, ResourceToken, TenantInfo},1081 | ^^^^^^^^^^10821083warning: unused import: `std::time::Instant`1084 --> crates/common/src/scripts/plugins/llm_prompt.rs:7:51085 |10867 | use std::time::Instant;1087 | ^^^^^^^^^^^^^^^^^^10881089warning: unused import: `directory::Permission`1090 --> crates/common/src/scripts/plugins/llm_prompt.rs:9:51091 |10929 | use directory::Permission;1093 | ^^^^^^^^^^^^^^^^^^^^^10941095warning: unused import: `compiler::Number`1096 --> crates/common/src/scripts/plugins/llm_prompt.rs:10:261097 |109810 | use sieve::{FunctionMap, compiler::Number, runtime::Variable};1099 | ^^^^^^^^^^^^^^^^11001101warning: unused imports: `AiEvent` and `SecurityEvent`1102 --> crates/common/src/scripts/plugins/llm_prompt.rs:11:111103 |110411 | use trc::{AiEvent, SecurityEvent};1105 | ^^^^^^^ ^^^^^^^^^^^^^11061107warning: variable does not need to be mutable1108 --> crates/common/src/auth/access_token.rs:92:131109 |111092 | let mut permissions = role_permissions.finalize();1111 | ----^^^^^^^^^^^1112 | |1113 | help: remove this `mut`1114 |1115 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default11161117warning: variable does not need to be mutable1118 --> crates/common/src/auth/access_token.rs:93:131119 |112093 | let mut tenant = None;1121 | ----^^^^^^1122 | |1123 | help: remove this `mut`11241125warning: variable does not need to be mutable1126 --> crates/common/src/config/mod.rs:53:91127 |112853 | mut stores: Stores,1129 | ----^^^^^^1130 | |1131 | help: remove this `mut`11321133warning: use of deprecated method `tokio::net::TcpSocket::set_tos`: `tos` related methods have been renamed `tos_v4` since they are IPv4-specific.1134 --> crates/common/src/config/server/listener.rs:119:401135 |1136119 | ... socket.set_tos(value)1137 | ^^^^^^^1138 |1139 = note: `#[warn(deprecated)]` on by default11401141warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead1142 --> crates/common/src/config/smtp/auth.rs:246:411143 |1144246 | let key = RsaKey::<Sha256>::from_rsa_pem(&pk)1145 | ^^^^^^^^^^^^11461147warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead1148 --> crates/common/src/config/smtp/auth.rs:247:481149 |1150247 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))1151 | ^^^^^^^^^^^^^^11521153warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead1154 --> crates/common/src/config/smtp/auth.rs:255:471155 |1156255 | let key_clone = RsaKey::<Sha256>::from_rsa_pem(&pk)1157 | ^^^^^^^^^^^^11581159warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead1160 --> crates/common/src/config/smtp/auth.rs:256:481161 |1162256 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))1163 | ^^^^^^^^^^^^^^11641165warning: use of deprecated method `tokio::net::TcpStream::set_linger`: `SO_LINGER` causes the socket to block the thread on drop1166 --> crates/common/src/listener/listen.rs:292:381167 |1168292 | && let Err(err) = stream.set_linger(self.linger)1169 | ^^^^^^^^^^11701171warning: variable `tenant_id` is assigned to, but never used1172 --> crates/common/src/auth/access_token.rs:49:131173 |117449 | let mut tenant_id = None;1175 | ^^^^^^^^^^^^^1176 |1177 = note: consider using `_tenant_id` instead1178 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default11791180warning: value assigned to `tenant_id` is never read1181 --> crates/common/src/auth/access_token.rs:56:451182 |118356 | PrincipalData::Tenant(v) => tenant_id = Some(v),1184 | ^^^^^^^^^^^^^^^^^^^1185 |1186 = help: maybe it is overwritten before being read?1187 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default11881189warning: unused variable: `stores`1190 --> crates/common/src/config/telemetry.rs:163:391191 |1192163 | pub fn parse(config: &mut Config, stores: &Stores) -> Self {1193 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stores`11941195warning: unused variable: `ctx`1196 --> crates/common/src/scripts/plugins/llm_prompt.rs:19:191197 |119819 | pub async fn exec(ctx: PluginContext<'_>) -> trc::Result<Variable> {1199 | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`12001201warning: unused variable: `is_enterprise`1202 --> crates/common/src/telemetry/mod.rs:99:521203 |120499 | pub fn spawn(self, builder: SubscriberBuilder, is_enterprise: bool) {1205 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`12061207warning: `common` (lib) generated 20 warnings (run `cargo fix --lib -p common` to apply 12 suggestions)1208warning: unused import: `smtp::reporting::SmtpReporting`1209 --> crates/services/src/housekeeper/mod.rs:14:51210 |121114 | use smtp::reporting::SmtpReporting;1212 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1213 |1214 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default12151216warning: unused imports: `IterateParams`, `TelemetryClass`, and `key::DeserializeBigEndian`1217 --> crates/services/src/task_manager/index.rs:14:51218 |121914 | IterateParams, SerializeInfallible, ValueKey,1220 | ^^^^^^^^^^^^^1221...122220 | TelemetryClass, ValueClass, key::DeserializeBigEndian,1223 | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^12241225warning: unused import: `blob_hash::BlobHash`1226 --> crates/services/src/task_manager/index.rs:25:51227 |122825 | blob_hash::BlobHash,1229 | ^^^^^^^^^^^^^^^^^^^12301231warning: unused import: `Archiver`1232 --> crates/migration/src/blob.rs:11:191233 |123411 | AnyClass, Archiver, BatchBuilder, BlobLink, BlobOp, ValueClass, key::DeserializeBigEndian,1235 | ^^^^^^^^1236 |1237 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default12381239warning: unused import: `Serialize`1240 --> crates/migration/src/blob.rs:9:401241 |12429 | IterateParams, SUBSPACE_BLOB_LINK, Serialize, SerializeInfallible, U32_LEN, U64_LEN, ValueKey,1243 | ^^^^^^^^^12441245warning: unused variable: `deleted_at`1246 --> crates/migration/src/blob.rs:218:331247 |1248218 | OldType::Undelete { deleted_at, size } => {1249 | ^^^^^^^^^^ help: try ignoring the field: `deleted_at: _`1250 |1251 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default12521253warning: unused variable: `size`1254 --> crates/migration/src/blob.rs:218:451255 |1256218 | OldType::Undelete { deleted_at, size } => {1257 | ^^^^ help: try ignoring the field: `size: _`12581259warning: `services` (lib) generated 3 warnings (run `cargo fix --lib -p services` to apply 3 suggestions)1260warning: `migration` (lib) generated 4 warnings (run `cargo fix --lib -p migration` to apply 3 suggestions)1261warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`1262 --> crates/http/src/management/queue.rs:15:291263 |126415 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};1265 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1266 |1267 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default12681269warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`1270 --> crates/http/src/management/report.rs:8:291271 |12728 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};1273 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^12741275warning: unused import: `self`1276 --> crates/http/src/management/stores.rs:17:331277 |127817 | backend::internal::manage::{self, ManageDirectory},1279 | ^^^^12801281warning: variable does not need to be mutable1282 --> crates/http/src/management/principal.rs:270:211283 |1284270 | let mut tenant = access_token.tenant.map(|t| t.id);1285 | ----^^^^^^1286 | |1287 | help: remove this `mut`1288 |1289 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default12901291warning: variable does not need to be mutable1292 --> crates/http/src/management/principal.rs:363:211293 |1294363 | let mut tenant = access_token.tenant.map(|t| t.id);1295 | ----^^^^^^1296 | |1297 | help: remove this `mut`12981299warning: variable does not need to be mutable1300 --> crates/http/src/management/queue.rs:139:131301 |1302139 | let mut tenant_domains: Option<Vec<String>> = None;1303 | ----^^^^^^^^^^^^^^1304 | |1305 | help: remove this `mut`13061307warning: variable does not need to be mutable1308 --> crates/http/src/management/report.rs:49:131309 |131049 | let mut tenant_domains: Option<Vec<String>> = None;1311 | ----^^^^^^^^^^^^^^1312 | |1313 | help: remove this `mut`13141315warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_der`: use `from_key_der()` instead1316 --> crates/http/src/management/dkim.rs:256:551317 |1318256 | Algorithm::Rsa => match RsaKey::<Sha256>::from_der(&der).and_then(|key| {1319 | ^^^^^^^^1320 |1321 = note: `#[warn(deprecated)]` on by default13221323warning: unused variable: `body`1324 --> crates/http/src/management/stores.rs:81:91325 |132681 | body: Option<Vec<u8>>,1327 | ^^^^ help: if this is intentional, prefix it with an underscore: `_body`1328 |1329 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default13301331warning: unused variable: `session`1332 --> crates/http/src/management/stores.rs:82:91333 |133482 | session: &HttpSessionData,1335 | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`13361337warning: struct `Timestamp` is never constructed1338 --> crates/http/src/management/mod.rs:202:191339 |1340202 | pub(super) struct Timestamp(u64);1341 | ^^^^^^^^^1342 |1343 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default13441345warning: method `into_inner` is never used1346 --> crates/http/src/management/mod.rs:238:121347 |1348237 | impl Timestamp {1349 | -------------- method in this implementation1350238 | pub fn into_inner(self) -> u64 {1351 | ^^^^^^^^^^13521353warning: `http` (lib) generated 12 warnings (run `cargo fix --lib -p http` to apply 9 suggestions)1354 Compiling stalwart v0.15.5 (/build/source/crates/main)1355 Finished `release` profile [optimized] target(s) in 39.37s1356warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.11357note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`1358 Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/stalwart-adfb496c014cce44)13591360running 0 tests13611362test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s13631364Finished cargoCheckHook1365checkPhase completed in 40 secondsinstallPhase
1366Executing cargoInstallHook1367Finished cargoInstallHookfixupPhase
1368shrinking RPATHs of ELF executables and libraries in /nix/store/kapsxs8046lrb0lvwcdvhrawvk4dk81n-stalwart-0.15.51369shrinking /nix/store/kapsxs8046lrb0lvwcdvhrawvk4dk81n-stalwart-0.15.5/bin/stalwart1370checking for references to /build/ in /nix/store/kapsxs8046lrb0lvwcdvhrawvk4dk81n-stalwart-0.15.5...1371patching script interpreter paths in /nix/store/kapsxs8046lrb0lvwcdvhrawvk4dk81n-stalwart-0.15.51372stripping (with command strip and flags -S -p) in /nix/store/kapsxs8046lrb0lvwcdvhrawvk4dk81n-stalwart-0.15.5/lib /nix/store/kapsxs8046lrb0lvwcdvhrawvk4dk81n-stalwart-0.15.5/bin