stalwart-0.15.5
checks.x86_64-linux.nixos-eta
· build #284
· 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 allocator-api2 v0.2.2132 Compiling const-oid v0.9.633 Compiling portable-atomic v1.13.134 Compiling scopeguard v1.2.035 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 slab v0.4.1243 Compiling futures-io v0.3.3144 Compiling log v0.4.2945 Compiling pin-utils v0.1.046 Compiling untrusted v0.9.047 Compiling futures-task v0.3.3148 Compiling stable_deref_trait v1.2.149 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 fnv v1.0.759 Compiling lock_api v0.4.1460 Compiling base64 v0.22.161 Compiling rustls v0.23.3662 Compiling utf8_iter v1.0.463 Compiling thiserror v2.0.1864 Compiling zmij v1.0.2165 Compiling base64ct v1.8.366 Compiling serde_json v1.0.14967 Compiling bitflags v2.11.068 Compiling futures-channel v0.3.3169 Compiling form_urlencoded v1.2.270 Compiling getrandom v0.4.171 Compiling httparse v1.10.172 Compiling powerfmt v0.2.073 Compiling num-conv v0.2.074 Compiling time-core v0.1.875 Compiling tower-service v0.3.376 Compiling try-lock v0.2.577 Compiling ipnet v2.11.078 Compiling generic-array v0.14.779 Compiling httpdate v1.0.380 Compiling atomic-waker v1.1.281 Compiling either v1.15.082 Compiling vcpkg v0.2.1583 Compiling sha1_smol v1.0.184 Compiling rustversion v1.0.2285 Compiling tinyvec_macros v0.1.186 Compiling tower-layer v0.3.387 Compiling hashbrown v0.16.188 Compiling pem-rfc7468 v0.7.089 Compiling tinyvec v1.10.090 Compiling zstd-safe v7.2.491 Compiling data-encoding v2.10.092 Compiling simdutf8 v0.1.593 Compiling simd-adler32 v0.3.894 Compiling crc32fast v1.5.095 Compiling time-macros v0.2.2796 Compiling want v0.3.197 Compiling spin v0.9.898 Compiling ryu v1.0.2399 Compiling adler2 v2.0.1100 Compiling minimal-lexical v0.2.1101 Compiling aho-corasick v1.1.4102 Compiling sync_wrapper v1.0.2103 Compiling num-traits v0.2.19104 Compiling lazy_static v1.5.0105 Compiling heck v0.5.0106 Compiling regex-syntax v0.8.9107 Compiling thiserror v1.0.69108 Compiling rustix v1.1.3109 Compiling iri-string v0.7.10110 Compiling semver v1.0.27111 Compiling linux-raw-sys v0.11.0112 Compiling anyhow v1.0.101113 Compiling ahash v0.8.12114 Compiling pure-rust-locales v0.8.2115 Compiling iana-time-zone v0.1.65116 Compiling miniz_oxide v0.8.9117 Compiling byteorder v1.5.0118 Compiling crunchy v0.2.4119 Compiling syn v1.0.109120 Compiling siphasher v1.0.2121 Compiling num-bigint-dig v0.8.6122 Compiling encoding_rs v0.8.35123 Compiling zlib-rs v0.6.0124 Compiling crc-catalog v2.4.0125 Compiling arrayvec v0.7.6126 Compiling bumpalo v3.19.1127 Compiling oid-registry v0.8.1128 Compiling tagptr v0.2.0129 Compiling indexmap v2.13.0130 Compiling nom v7.1.3131 Compiling crc v3.4.0132 Compiling cfg_aliases v0.2.1133 Compiling rustc_version v0.4.1134 Compiling libbz2-rs-sys v0.2.2135 Compiling rayon-core v1.13.0136 Compiling getrandom v0.1.16137 Compiling constant_time_eq v0.3.1138 Compiling pem v3.0.6139 Compiling syn v2.0.115140 Compiling nix v0.30.1141 Compiling resolv-conf v0.7.6142 Compiling glob v0.3.3143 Compiling deflate64 v0.1.10144 Compiling ppmd-rust v1.4.0145 Compiling tiny-keccak v2.0.2146 Compiling parking v2.2.1147 Compiling opaque-debug v0.3.1148 Compiling zopfli v0.8.3149 Compiling quick-xml v0.38.4150 Compiling static_assertions v1.1.0151 Compiling rustls v0.21.12152 Compiling itertools v0.14.0153 Compiling once_cell v1.21.3154 Compiling curve25519-dalek v4.1.3155 Compiling proc-macro-error-attr v1.0.4156 Compiling foldhash v0.1.5157 Compiling crossbeam-epoch v0.9.18158 Compiling crossbeam-channel v0.5.15159 Compiling concurrent-queue v2.5.0160 Compiling psl-types v2.0.11161 Compiling md5 v0.8.0162 Compiling xxhash-rust v0.8.15163 Compiling arrayref v0.3.9164 Compiling rle-decode-fast v1.0.3165 Compiling rtrb v0.3.2166 Compiling constant_time_eq v0.4.2167 Compiling castaway v0.2.4168 Compiling hashbrown v0.15.5169 Compiling tracing-core v0.1.36170 Compiling core2 v0.4.0171 Compiling clang-sys v1.8.1172 Compiling psl v2.1.190173 Compiling unicode-normalization v0.1.25174 Compiling proc-macro-error v1.0.4175 Compiling libloading v0.8.9176 Compiling http-types v2.12.0177 Compiling event-listener v2.5.3178 Compiling adler32 v1.2.0179 Compiling bindgen v0.72.1180 Compiling jobserver v0.1.34181 Compiling getrandom v0.2.17182 Compiling winnow v0.7.14183 Compiling base16ct v0.2.0184 Compiling dary_heap v0.3.8185 Compiling fast-float v0.2.0186 Compiling bzip2 v0.6.1187 Compiling paste v1.0.15188 Compiling fastrand v1.9.0189 Compiling ident_case v1.0.1190 Compiling const-random-macro v0.1.16191 Compiling libflate_lz77 v2.2.0192 Compiling farmhash v1.1.5193 Compiling waker-fn v1.2.0194 Compiling nohash-hasher v0.2.0195 Compiling strsim v0.11.1196 Compiling base64 v0.21.7197 Compiling async-channel v1.9.0198 Compiling azure_core v0.21.0199 Compiling gethostname v1.1.0200 Compiling cc v1.2.56201 Compiling libflate v2.2.1202 Compiling mail-builder v0.4.4203 Compiling futures-lite v1.13.0204 Compiling phf_shared v0.13.1205 Compiling itertools v0.13.0206 Compiling rustc-hash v2.1.1207 Compiling dyn-clone v1.0.20208 Compiling infer v0.2.3209 Compiling base64 v0.13.1210 Compiling rustls-pemfile v1.0.4211 Compiling fastrand v2.3.0212 Compiling unicode-bidi v0.3.18213 Compiling toml_datetime v0.7.5+spec-1.1.0214 Compiling unicode-properties v0.1.4215 Compiling const-random v0.1.18216 Compiling regex-automata v0.4.14217 Compiling event-listener v5.4.1218 Compiling dlv-list v0.5.2219 Compiling phf v0.13.1220 Compiling phf_generator v0.13.1221 Compiling proc-macro-error-attr2 v2.0.0222 Compiling phf_shared v0.12.1223 Compiling indexmap v1.9.3224 Compiling hashbrown v0.14.5225 Compiling openssl-probe v0.1.6226 Compiling fallible-iterator v0.2.0227 Compiling chrono-tz v0.10.4228 Compiling phf v0.12.1229 Compiling phf_codegen v0.13.1230 Compiling mysql_common v0.35.5231 Compiling crc16 v0.4.0232 Compiling termcolor v1.4.1233 Compiling hashbrown v0.12.3234 Compiling openssl-probe v0.2.1235 Compiling crossbeam-deque v0.8.6236 Compiling num-integer v0.1.46237 Compiling jieba-macros v0.8.1238 Compiling event-listener-strategy v0.5.4239 Compiling errno v0.3.14240 Compiling mio v1.1.1241 Compiling socket2 v0.6.2242 Compiling signal-hook-registry v1.4.8243 Compiling stringprep v0.1.5244 Compiling deranged v0.5.6245 Compiling rusticata-macros v4.1.0246 Compiling socket2 v0.5.10247 Compiling num_cpus v1.17.0248 Compiling rand_core v0.6.4249 Compiling uuid v1.21.0250 Compiling parking_lot v0.12.5251 Compiling rand_core v0.5.1252 Compiling rand_core v0.9.5253 Compiling async-lock v3.4.2254 Compiling whoami v2.1.1255 Compiling num-bigint v0.4.6256 Compiling cedarwood v0.4.6257 Compiling RustyXML v0.3.0258 Compiling password-hash v0.5.0259 Compiling ff v0.13.1260 Compiling btoi v0.4.3261 Compiling saturating v0.1.0262 Compiling home v0.5.12263 Compiling ordered-multimap v0.7.3264 Compiling linked-hash-map v0.5.6265 Compiling twox-hash v2.1.2266 Compiling scheduled-thread-pool v0.2.7267 Compiling group v0.13.0268 Compiling num-iter v0.1.45269 Compiling rustls-native-certs v0.6.3270 Compiling lru-cache v0.1.2271 Compiling hashlink v0.10.0272 Compiling lru v0.14.0273 Compiling whatlang v0.18.0274 Compiling keyed_priority_queue v0.4.2275 Compiling moka v0.12.13276 Compiling arc-swap v1.8.2277 Compiling crossbeam-queue v0.3.12278 Compiling nibble_vec v0.1.0279 Compiling bit-vec v0.8.0280 Compiling bytemuck v1.25.0281 Compiling maplit v1.0.2282 Compiling endian-type v0.1.2283 Compiling rust-ini v0.21.3284 Compiling fallible-streaming-iterator v0.1.9285 Compiling md5 v0.7.0286 Compiling fallible-iterator v0.3.0287 Compiling nohash v0.2.0288 Compiling hex v0.4.3289 Compiling r2d2 v0.8.10290 Compiling lz4_flex v0.12.0291 Compiling bitpacking v0.9.3292 Compiling object v0.37.3293 Compiling roaring v0.11.3294 Compiling radix_trie v0.2.1295 Compiling base32 v0.5.1296 Compiling decancer v3.3.3297 Compiling typewit_proc_macros v1.8.1298 Compiling cexpr v0.6.0299 Compiling ring v0.17.14300 Compiling zstd-sys v2.0.16+zstd.1.5.7301 Compiling libz-sys v1.1.23302 Compiling blake3 v1.8.3303 Compiling bzip2-sys v0.1.13+1.0.8304 Compiling lz4-sys v1.11.1+lz4-1.10.0305 Compiling libsqlite3-sys v0.35.0306 Compiling bit-set v0.8.0307 Compiling urlencoding v2.1.3308 Compiling rayon v1.11.0309 Compiling prometheus v0.14.0310 Compiling radium v0.7.0311 Compiling virtue v0.0.18312 Compiling toml_parser v1.0.8+spec-1.1.0313 Compiling block-buffer v0.10.4314 Compiling crypto-common v0.1.7315 Compiling cfb v0.7.3316 Compiling common v0.15.5 (/build/source/crates/common)317 Compiling typewit v1.14.2318 Compiling doc-comment v0.3.4319 Compiling tap v1.0.1320 Compiling unicode-script v0.5.8321 Compiling gimli v0.32.3322 Compiling unty v0.0.4323 Compiling digest v0.10.7324 Compiling wyz v0.5.1325 Compiling hostname v0.4.2326 Compiling phf_shared v0.11.3327 Compiling opentelemetry-semantic-conventions v0.29.0328 Compiling funty v2.0.0329 Compiling heck v0.4.1330 Compiling fixedbitset v0.5.7331 Compiling regex v1.12.3332 Compiling unicode-security v0.1.2333 Compiling synstructure v0.13.2334 Compiling darling_core v0.20.11335 Compiling proc-macro-error2 v2.0.1336 Compiling term v1.2.1337 Compiling bincode_derive v2.0.1338 Compiling new_debug_unreachable v1.0.6339 Compiling toml_edit v0.23.10+spec-1.0.0340 Compiling keccak v0.1.6341 Compiling same-file v1.0.6342 Compiling imagesize v0.14.0343 Compiling precomputed-hash v0.1.1344 Compiling zstd v0.13.3345 Compiling rustc-demangle v0.1.27346 Compiling string_cache v0.8.9347 Compiling walkdir v2.5.0348 Compiling petgraph v0.7.1349 Compiling time v0.3.47350 Compiling infer v0.19.0351 Compiling ena v0.14.4352 Compiling sha3 v0.10.8353 Compiling privdrop v0.5.6354 Compiling const_panic v0.2.15355 Compiling include-flate-compress v0.3.1356 Compiling bitvec v1.0.1357 Compiling ascii-canvas v4.0.0358 Compiling konst_kernel v0.3.15359 Compiling lalrpop-util v0.22.2360 Compiling itertools v0.10.5361 Compiling unicode-xid v0.2.6362 Compiling proc-macro-crate v3.4.0363 Compiling sha1collisiondetection v0.3.4364 Compiling unicode-general-category v1.1.0365 Compiling generic-array v1.3.5366 Compiling buffered-reader v1.4.0367 Compiling memsec v0.7.0368 Compiling utf-8 v0.7.6369 Compiling konst v0.3.16370 Compiling jemalloc-sys v0.5.4+5.3.0-patched371 Compiling memory-stats v1.2.0372 Compiling mime v0.3.17373 Compiling ppv-lite86 v0.2.21374 Compiling snafu-derive v0.7.5375 Compiling zeroize_derive v1.4.3376 Compiling serde_derive v1.0.228377 Compiling tokio-macros v2.6.0378 Compiling zerofrom-derive v0.1.6379 Compiling displaydoc v0.2.5380 Compiling yoke-derive v0.8.1381 Compiling futures-macro v0.3.31382 Compiling zerovec-derive v0.11.2383 Compiling tracing-attributes v0.1.31384 Compiling thiserror-impl v2.0.18385 Compiling async-trait v0.1.89386 Compiling ptr_meta_derive v0.3.1387 Compiling bytecheck_derive v0.8.2388 Compiling munge_macro v0.4.7389 Compiling rand_chacha v0.3.1390 Compiling rand_chacha v0.9.0391 Compiling rkyv_derive v0.8.15392 Compiling thiserror-impl v1.0.69393 Compiling enum-as-inner v0.6.1394 Compiling rand v0.8.5395 Compiling rand v0.9.2396 Compiling hashify v0.2.7397 Compiling asn1-rs-derive v0.6.0398 Compiling ptr_meta v0.3.1399 Compiling asn1-rs-impl v0.2.0400 Compiling pin-project-internal v1.1.10401 Compiling rancor v0.1.1402 Compiling event_macro v0.15.5 (/build/source/crates/trc/event-macro)403 Compiling zeroize v1.8.2404 Compiling munge v0.4.7405 Compiling flate2 v1.1.9406 Compiling rand_chacha v0.2.2407 Compiling rustls-pki-types v1.14.0408 Compiling der v0.7.10409 Compiling bytecheck v0.8.2410 Compiling curve25519-dalek-derive v0.1.1411 Compiling darling_macro v0.20.11412 Compiling include-flate-codegen v0.3.1413 Compiling yasna v0.5.2414 Compiling prost-derive v0.13.5415 Compiling nuid v0.5.0416 Compiling serde_repr v0.1.20417 Compiling futures-util v0.3.31418 Compiling zerofrom v0.1.6419 Compiling rend v0.5.3420 Compiling rand v0.7.3421 Compiling maybe-async v0.2.10422 Compiling fancy-regex v0.17.0423 Compiling proc_macros v0.15.5 (/build/source/crates/utils/proc-macros)424 Compiling yoke v0.8.1425 Compiling lalrpop v0.22.2426 Compiling asn1-rs v0.7.1427 Compiling zerovec v0.11.5428 Compiling zerotrie v0.2.3429 Compiling block-padding v0.3.3430 Compiling webpki-roots v1.0.6431 Compiling tracing v0.1.44432 Compiling rustls-pemfile v2.2.0433 Compiling crypto-bigint v0.5.5434 Compiling inout v0.1.4435 Compiling digest v0.9.0436 Compiling universal-hash v0.5.1437 Compiling webpki-roots v0.26.11438 Compiling aead v0.5.2439 Compiling cipher v0.4.4440 Compiling darling v0.20.11441 Compiling block-buffer v0.9.0442 Compiling rustls-native-certs v0.8.3443 Compiling rustls-native-certs v0.7.3444 Compiling aws-region v0.25.5445 Compiling include-flate v0.3.1446 Compiling polyval v0.6.2447 Compiling sha2 v0.10.9448 Compiling hmac v0.12.1449 Compiling signature v2.2.0450 Compiling sha1 v0.10.6451 Compiling md-5 v0.10.6452 Compiling mysql-common-derive v0.32.1453 Compiling spki v0.7.3454 Compiling hkdf v0.12.4455 Compiling rfc6979 v0.4.0456 Compiling ed25519 v2.2.3457 Compiling opentelemetry v0.29.1458 Compiling jieba-rs v0.8.1459 Compiling pkcs8 v0.10.2460 Compiling blake2 v0.10.6461 Compiling aes v0.8.4462 Compiling ctr v0.9.2463 Compiling pin-project v1.1.10464 Compiling crypto-mac v0.10.0465 Compiling cipher v0.2.5466 Compiling pbkdf2 v0.12.2467 Compiling lzma-rust2 v0.13.0468 Compiling rustls-webpki v0.102.8469 Compiling hmac v0.10.1470 Compiling salsa20 v0.10.2471 Compiling sha2 v0.9.9472 Compiling pkcs1 v0.7.5473 Compiling tinystr v0.8.2474 Compiling potential_utf v0.1.4475 Compiling sec1 v0.7.3476 Compiling signatory v0.27.1477 Compiling sha-1 v0.9.8478 Compiling blowfish v0.7.0479 Compiling md-5 v0.9.1480 Compiling icu_collections v2.1.1481 Compiling addr2line v0.25.1482 Compiling rasn-derive v0.10.6483 Compiling scrypt v0.11.0484 Compiling dbl v0.3.2485 Compiling argon2 v0.5.3486 Compiling rsa v0.9.10487 Compiling ghash v0.5.1488 Compiling dsa v0.6.3489 Compiling ocb3 v0.1.0490 Compiling cmac v0.7.2491 Compiling icu_locale_core v2.1.1492 Compiling des v0.8.1493 Compiling cbc v0.1.2494 Compiling twofish v0.7.1495 Compiling pwhash v1.0.0496 Compiling eax v0.5.0497 Compiling aes-gcm-siv v0.11.1498 Compiling aes-gcm v0.10.3499 Compiling cfb-mode v0.8.2500 Compiling ecb v0.1.2501 Compiling idea v0.5.1502 Compiling backtrace v0.3.76503 Compiling camellia v0.1.0504 Compiling cast5 v0.11.1505 Compiling blowfish v0.9.1506 Compiling ripemd v0.1.3507 Compiling async-stream-impl v0.3.6508 Compiling rev_lines v0.3.0509 Compiling bitvec-nom2 v0.2.1510 Compiling elliptic-curve v0.13.8511 Compiling rustls-webpki v0.103.9512 Compiling rustls-webpki v0.101.7513 Compiling sct v0.7.1514 Compiling rcgen v0.14.7515 Compiling rcgen v0.12.1516 Compiling snafu v0.7.5517 Compiling ed25519-dalek v2.2.0518 Compiling x25519-dalek v2.0.1519 Compiling icu_provider v2.1.1520 Compiling nkeys v0.4.5521 Compiling librocksdb-sys v0.17.3+10.4.2522 Compiling icu_normalizer v2.1.1523 Compiling icu_properties v2.1.2524 Compiling async-stream v0.3.6525 Compiling der-parser v10.0.0526 Compiling ecdsa v0.16.9527 Compiling primeorder v0.13.6528 Compiling futures-executor v0.3.31529 Compiling bytes v1.11.1530 Compiling serde_urlencoded v0.7.1531 Compiling chrono v0.4.43532 Compiling serde_qs v0.8.5533 Compiling quick-xml v0.31.0534 Compiling quick-xml v0.32.0535 Compiling rust-stemmers v1.2.0536 Compiling serde_nanos v0.1.4537 Compiling bincode v2.0.1538 Compiling bincode v1.3.3539 Compiling zip v6.0.0540 Compiling futures v0.3.31541 Compiling opentelemetry_sdk v0.29.0542 Compiling p384 v0.13.1543 Compiling p256 v0.13.2544 Compiling p521 v0.13.3545 Compiling quick_cache v0.6.18546 Compiling x509-parser v0.18.1547 Compiling tokio v1.49.0548 Compiling http v1.4.0549 Compiling http v0.2.12550 Compiling postgres-protocol v0.6.10551 Compiling prost v0.13.5552 Compiling lber v0.5.1553 Compiling idna_adapter v1.2.1554 Compiling idna v1.1.0555 Compiling postgres-types v0.2.12556 Compiling url v2.5.8557 Compiling biscuit v0.7.0558 Compiling rasn v0.10.6559 Compiling http-body v0.4.6560 Compiling totp-rs v5.7.0561 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 rkyv v0.8.15566 Compiling rasn-pkix v0.10.6567 Compiling attohttpc v0.28.5568 Compiling rocksdb v0.24.0569 Compiling sequoia-openpgp v2.2.0570 Compiling aws-creds v0.37.0571 Compiling rasn-cms v0.10.6572 Compiling mail-parser v0.11.2573 Compiling smtp-proto v0.2.0574 Compiling compact_str v0.9.0575 Compiling jmap-tools v0.1.3576 Compiling tokio-util v0.7.18577 Compiling tokio-rustls v0.26.4578 Compiling tower v0.5.3579 Compiling tokio-stream v0.1.18580 Compiling tokio-rustls v0.24.1581 Compiling deadpool-runtime v0.1.4582 Compiling hyper v0.14.32583 Compiling tryhard v0.5.2584 Compiling proxy-header v0.1.2585 Compiling tokio-tungstenite v0.28.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 mail-send v0.5.2591 Compiling h2 v0.4.13592 Compiling h2 v0.3.27593 Compiling combine v4.6.7594 Compiling tokio-postgres v0.7.16595 Compiling tower v0.4.13596 Compiling async-nats v0.44.2597 Compiling mysql_async v0.36.1598 Compiling ldap3 v0.12.1599 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 hickory-proto v0.24.4606 Compiling hyper v1.8.1607 Compiling hickory-resolver v0.26.0-alpha.1608 Compiling redis v0.32.7609 Compiling hyper-util v0.1.20610 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 hickory-client v0.24.4616 Compiling opentelemetry-proto v0.29.0617 Compiling opentelemetry-http v0.29.0618 Compiling dns-update v0.1.6619 Compiling trc v0.15.5 (/build/source/crates/trc)620 Compiling opentelemetry-otlp v0.29.0621 Compiling azure_svc_blobstorage v0.21.0622 Compiling azure_storage 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: `TenantInfo`698 --> crates/common/src/core.rs:9:40699 |7009 | auth::{AccessToken, ResourceToken, TenantInfo},701 | ^^^^^^^^^^702 |703 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default704705warning: unused import: `std::time::Instant`706 --> crates/common/src/scripts/plugins/llm_prompt.rs:7:5707 |7087 | use std::time::Instant;709 | ^^^^^^^^^^^^^^^^^^710711warning: unused import: `directory::Permission`712 --> crates/common/src/scripts/plugins/llm_prompt.rs:9:5713 |7149 | use directory::Permission;715 | ^^^^^^^^^^^^^^^^^^^^^716717warning: unused import: `compiler::Number`718 --> crates/common/src/scripts/plugins/llm_prompt.rs:10:26719 |72010 | use sieve::{FunctionMap, compiler::Number, runtime::Variable};721 | ^^^^^^^^^^^^^^^^722723warning: unused imports: `AiEvent` and `SecurityEvent`724 --> crates/common/src/scripts/plugins/llm_prompt.rs:11:11725 |72611 | use trc::{AiEvent, SecurityEvent};727 | ^^^^^^^ ^^^^^^^^^^^^^728729warning: variable does not need to be mutable730 --> crates/common/src/auth/access_token.rs:92:13731 |73292 | let mut permissions = role_permissions.finalize();733 | ----^^^^^^^^^^^734 | |735 | help: remove this `mut`736 |737 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default738739warning: variable does not need to be mutable740 --> crates/common/src/auth/access_token.rs:93:13741 |74293 | let mut tenant = None;743 | ----^^^^^^744 | |745 | help: remove this `mut`746747warning: variable does not need to be mutable748 --> crates/common/src/config/mod.rs:53:9749 |75053 | mut stores: Stores,751 | ----^^^^^^752 | |753 | help: remove this `mut`754755warning: use of deprecated method `tokio::net::TcpSocket::set_tos`: `tos` related methods have been renamed `tos_v4` since they are IPv4-specific.756 --> crates/common/src/config/server/listener.rs:119:40757 |758119 | ... socket.set_tos(value)759 | ^^^^^^^760 |761 = note: `#[warn(deprecated)]` on by default762763warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead764 --> crates/common/src/config/smtp/auth.rs:246:41765 |766246 | let key = RsaKey::<Sha256>::from_rsa_pem(&pk)767 | ^^^^^^^^^^^^768769warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead770 --> crates/common/src/config/smtp/auth.rs:247:48771 |772247 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))773 | ^^^^^^^^^^^^^^774775warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead776 --> crates/common/src/config/smtp/auth.rs:255:47777 |778255 | let key_clone = RsaKey::<Sha256>::from_rsa_pem(&pk)779 | ^^^^^^^^^^^^780781warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead782 --> crates/common/src/config/smtp/auth.rs:256:48783 |784256 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))785 | ^^^^^^^^^^^^^^786787warning: use of deprecated method `tokio::net::TcpStream::set_linger`: `SO_LINGER` causes the socket to block the thread on drop788 --> crates/common/src/listener/listen.rs:292:38789 |790292 | && let Err(err) = stream.set_linger(self.linger)791 | ^^^^^^^^^^792793warning: variable `tenant_id` is assigned to, but never used794 --> crates/common/src/auth/access_token.rs:49:13795 |79649 | let mut tenant_id = None;797 | ^^^^^^^^^^^^^798 |799 = note: consider using `_tenant_id` instead800 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default801802warning: value assigned to `tenant_id` is never read803 --> crates/common/src/auth/access_token.rs:56:45804 |80556 | PrincipalData::Tenant(v) => tenant_id = Some(v),806 | ^^^^^^^^^^^^^^^^^^^807 |808 = help: maybe it is overwritten before being read?809 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default810811warning: unused variable: `stores`812 --> crates/common/src/config/telemetry.rs:163:39813 |814163 | pub fn parse(config: &mut Config, stores: &Stores) -> Self {815 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stores`816817warning: `directory` (lib) generated 8 warnings (run `cargo fix --lib -p directory` to apply 6 suggestions)818warning: unused variable: `ctx`819 --> crates/common/src/scripts/plugins/llm_prompt.rs:19:19820 |82119 | pub async fn exec(ctx: PluginContext<'_>) -> trc::Result<Variable> {822 | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`823824warning: unused variable: `is_enterprise`825 --> crates/common/src/telemetry/mod.rs:99:52826 |82799 | pub fn spawn(self, builder: SubscriberBuilder, is_enterprise: bool) {828 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`829830 Compiling groupware v0.15.5 (/build/source/crates/groupware)831 Compiling spam-filter v0.15.5 (/build/source/crates/spam-filter)832 Compiling http_proto v0.15.5 (/build/source/crates/http-proto)833 Compiling dav v0.15.5 (/build/source/crates/dav)834 Compiling email v0.15.5 (/build/source/crates/email)835 Compiling smtp v0.15.5 (/build/source/crates/smtp)836 Compiling imap v0.15.5 (/build/source/crates/imap)837 Compiling pop3 v0.15.5 (/build/source/crates/pop3)838 Compiling managesieve v0.15.5 (/build/source/crates/managesieve)839 Compiling services v0.15.5 (/build/source/crates/services)840 Compiling migration v0.15.5 (/build/source/crates/migration)841warning: unused import: `smtp::reporting::SmtpReporting`842 --> crates/services/src/housekeeper/mod.rs:14:5843 |84414 | use smtp::reporting::SmtpReporting;845 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^846 |847 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default848849warning: unused imports: `IterateParams`, `TelemetryClass`, and `key::DeserializeBigEndian`850 --> crates/services/src/task_manager/index.rs:14:5851 |85214 | IterateParams, SerializeInfallible, ValueKey,853 | ^^^^^^^^^^^^^854...85520 | TelemetryClass, ValueClass, key::DeserializeBigEndian,856 | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^857858warning: unused import: `blob_hash::BlobHash`859 --> crates/services/src/task_manager/index.rs:25:5860 |86125 | blob_hash::BlobHash,862 | ^^^^^^^^^^^^^^^^^^^863864warning: unused import: `Archiver`865 --> crates/migration/src/blob.rs:11:19866 |86711 | AnyClass, Archiver, BatchBuilder, BlobLink, BlobOp, ValueClass, key::DeserializeBigEndian,868 | ^^^^^^^^869 |870 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default871872warning: unused import: `Serialize`873 --> crates/migration/src/blob.rs:9:40874 |8759 | IterateParams, SUBSPACE_BLOB_LINK, Serialize, SerializeInfallible, U32_LEN, U64_LEN, ValueKey,876 | ^^^^^^^^^877878warning: unused variable: `deleted_at`879 --> crates/migration/src/blob.rs:218:33880 |881218 | OldType::Undelete { deleted_at, size } => {882 | ^^^^^^^^^^ help: try ignoring the field: `deleted_at: _`883 |884 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default885886warning: unused variable: `size`887 --> crates/migration/src/blob.rs:218:45888 |889218 | OldType::Undelete { deleted_at, size } => {890 | ^^^^ help: try ignoring the field: `size: _`891892 Compiling jmap v0.15.5 (/build/source/crates/jmap)893warning: `migration` (lib) generated 4 warnings (run `cargo fix --lib -p migration` to apply 3 suggestions)894warning: `common` (lib) generated 19 warnings (run `cargo fix --lib -p common` to apply 11 suggestions)895 Compiling http v0.15.5 (/build/source/crates/http)896warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`897 --> crates/http/src/management/queue.rs:15:29898 |89915 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};900 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^901 |902 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default903904warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`905 --> crates/http/src/management/report.rs:8:29906 |9078 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};908 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^909910warning: unused import: `self`911 --> crates/http/src/management/stores.rs:17:33912 |91317 | backend::internal::manage::{self, ManageDirectory},914 | ^^^^915916warning: variable does not need to be mutable917 --> crates/http/src/management/principal.rs:270:21918 |919270 | let mut tenant = access_token.tenant.map(|t| t.id);920 | ----^^^^^^921 | |922 | help: remove this `mut`923 |924 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default925926warning: variable does not need to be mutable927 --> crates/http/src/management/principal.rs:363:21928 |929363 | let mut tenant = access_token.tenant.map(|t| t.id);930 | ----^^^^^^931 | |932 | help: remove this `mut`933934warning: variable does not need to be mutable935 --> crates/http/src/management/queue.rs:139:13936 |937139 | let mut tenant_domains: Option<Vec<String>> = None;938 | ----^^^^^^^^^^^^^^939 | |940 | help: remove this `mut`941942warning: variable does not need to be mutable943 --> crates/http/src/management/report.rs:49:13944 |94549 | let mut tenant_domains: Option<Vec<String>> = None;946 | ----^^^^^^^^^^^^^^947 | |948 | help: remove this `mut`949950warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_der`: use `from_key_der()` instead951 --> crates/http/src/management/dkim.rs:256:55952 |953256 | Algorithm::Rsa => match RsaKey::<Sha256>::from_der(&der).and_then(|key| {954 | ^^^^^^^^955 |956 = note: `#[warn(deprecated)]` on by default957958warning: unused variable: `body`959 --> crates/http/src/management/stores.rs:81:9960 |96181 | body: Option<Vec<u8>>,962 | ^^^^ help: if this is intentional, prefix it with an underscore: `_body`963 |964 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default965966warning: unused variable: `session`967 --> crates/http/src/management/stores.rs:82:9968 |96982 | session: &HttpSessionData,970 | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`971972warning: struct `Timestamp` is never constructed973 --> crates/http/src/management/mod.rs:202:19974 |975202 | pub(super) struct Timestamp(u64);976 | ^^^^^^^^^977 |978 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default979980warning: method `into_inner` is never used981 --> crates/http/src/management/mod.rs:238:12982 |983237 | impl Timestamp {984 | -------------- method in this implementation985238 | pub fn into_inner(self) -> u64 {986 | ^^^^^^^^^^987988warning: `http` (lib) generated 12 warnings (run `cargo fix --lib -p http` to apply 9 suggestions)989warning: `services` (lib) generated 3 warnings (run `cargo fix --lib -p services` to apply 3 suggestions)990 Compiling stalwart v0.15.5 (/build/source/crates/main)991 Finished `release` profile [optimized] target(s) in 20m 17s992warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1993note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`994Executing cargoInstallPostBuildHook995Finished cargoInstallPostBuildHook996Finished cargoBuildHook997buildPhase completed in 20 minutes 18 secondscheckPhase
998Executing cargoCheckHook999cargoCheckHook 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_tests1000warning: variable does not need to be mutable1001 --> crates/directory/src/backend/internal/manage.rs:269:91002 |1003269 | mut tenant_id: Option<u32>,1004 | ----^^^^^^^^^1005 | |1006 | help: remove this `mut`1007 |1008 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default10091010warning: variable does not need to be mutable1011 --> crates/directory/src/backend/internal/manage.rs:976:131012 |1013976 | let mut pinfo_name =1014 | ----^^^^^^^^^^1015 | |1016 | help: remove this `mut`10171018warning: variable does not need to be mutable1019 --> crates/directory/src/backend/internal/manage.rs:990:131020 |1021990 | let mut used_quota: Option<i64> = None;1022 | ----^^^^^^^^^^1023 | |1024 | help: remove this `mut`10251026warning: unused variable: `tenant`1027 --> crates/directory/src/backend/internal/manage.rs:703:131028 |1029703 | let tenant = principal.data.iter().find_map(|data| {1030 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tenant`1031 |1032 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default10331034warning: unused variable: `used_quota`1035 --> crates/directory/src/backend/internal/manage.rs:990:131036 |1037990 | let mut used_quota: Option<i64> = None;1038 | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_used_quota`10391040warning: variable `tenant_id` is assigned to, but never used1041 --> crates/directory/src/backend/internal/manage.rs:2307:131042 |10432307 | let mut tenant_id = None;1044 | ^^^^^^^^^^^^^1045 |1046 = note: consider using `_tenant_id` instead10471048warning: value assigned to `tenant_id` is never read1049 --> crates/directory/src/backend/internal/manage.rs:2383:211050 |10512383 | tenant_id = Some(tid);1052 | ^^^^^^^^^^^^^^^^^^^^^1053 |1054 = help: maybe it is overwritten before being read?1055 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default10561057warning: unused variable: `is_enterprise`1058 --> crates/directory/src/core/config.rs:32:91059 |106032 | is_enterprise: bool,1061 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`10621063warning: `directory` (lib) generated 8 warnings (run `cargo fix --lib -p directory` to apply 6 suggestions)1064warning: unused import: `TenantInfo`1065 --> crates/common/src/core.rs:9:401066 |10679 | auth::{AccessToken, ResourceToken, TenantInfo},1068 | ^^^^^^^^^^1069 |1070 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default10711072warning: unused import: `std::time::Instant`1073 --> crates/common/src/scripts/plugins/llm_prompt.rs:7:51074 |10757 | use std::time::Instant;1076 | ^^^^^^^^^^^^^^^^^^10771078warning: unused import: `directory::Permission`1079 --> crates/common/src/scripts/plugins/llm_prompt.rs:9:51080 |10819 | use directory::Permission;1082 | ^^^^^^^^^^^^^^^^^^^^^10831084warning: unused import: `compiler::Number`1085 --> crates/common/src/scripts/plugins/llm_prompt.rs:10:261086 |108710 | use sieve::{FunctionMap, compiler::Number, runtime::Variable};1088 | ^^^^^^^^^^^^^^^^10891090warning: unused imports: `AiEvent` and `SecurityEvent`1091 --> crates/common/src/scripts/plugins/llm_prompt.rs:11:111092 |109311 | use trc::{AiEvent, SecurityEvent};1094 | ^^^^^^^ ^^^^^^^^^^^^^10951096warning: variable does not need to be mutable1097 --> crates/common/src/auth/access_token.rs:92:131098 |109992 | let mut permissions = role_permissions.finalize();1100 | ----^^^^^^^^^^^1101 | |1102 | help: remove this `mut`1103 |1104 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default11051106warning: variable does not need to be mutable1107 --> crates/common/src/auth/access_token.rs:93:131108 |110993 | let mut tenant = None;1110 | ----^^^^^^1111 | |1112 | help: remove this `mut`11131114warning: variable does not need to be mutable1115 --> crates/common/src/config/mod.rs:53:91116 |111753 | mut stores: Stores,1118 | ----^^^^^^1119 | |1120 | help: remove this `mut`11211122warning: use of deprecated method `tokio::net::TcpSocket::set_tos`: `tos` related methods have been renamed `tos_v4` since they are IPv4-specific.1123 --> crates/common/src/config/server/listener.rs:119:401124 |1125119 | ... socket.set_tos(value)1126 | ^^^^^^^1127 |1128 = note: `#[warn(deprecated)]` on by default11291130warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_rsa_pem`: use `from_key_der()` instead1131 --> crates/common/src/config/smtp/auth.rs:246:411132 |1133246 | let key = RsaKey::<Sha256>::from_rsa_pem(&pk)1134 | ^^^^^^^^^^^^11351136warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_pkcs8_pem`: use `from_key_der()` instead1137 --> crates/common/src/config/smtp/auth.rs:247:481138 |1139247 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))1140 | ^^^^^^^^^^^^^^11411142warning: 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:255:471144 |1145255 | let key_clone = 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:256:481150 |1151256 | .or_else(|_| RsaKey::<Sha256>::from_pkcs8_pem(&pk))1152 | ^^^^^^^^^^^^^^11531154warning: use of deprecated method `tokio::net::TcpStream::set_linger`: `SO_LINGER` causes the socket to block the thread on drop1155 --> crates/common/src/listener/listen.rs:292:381156 |1157292 | && let Err(err) = stream.set_linger(self.linger)1158 | ^^^^^^^^^^11591160warning: variable `tenant_id` is assigned to, but never used1161 --> crates/common/src/auth/access_token.rs:49:131162 |116349 | let mut tenant_id = None;1164 | ^^^^^^^^^^^^^1165 |1166 = note: consider using `_tenant_id` instead1167 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default11681169warning: value assigned to `tenant_id` is never read1170 --> crates/common/src/auth/access_token.rs:56:451171 |117256 | PrincipalData::Tenant(v) => tenant_id = Some(v),1173 | ^^^^^^^^^^^^^^^^^^^1174 |1175 = help: maybe it is overwritten before being read?1176 = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default11771178warning: unused variable: `stores`1179 --> crates/common/src/config/telemetry.rs:163:391180 |1181163 | pub fn parse(config: &mut Config, stores: &Stores) -> Self {1182 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stores`11831184warning: unused variable: `ctx`1185 --> crates/common/src/scripts/plugins/llm_prompt.rs:19:191186 |118719 | pub async fn exec(ctx: PluginContext<'_>) -> trc::Result<Variable> {1188 | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`11891190warning: unused variable: `is_enterprise`1191 --> crates/common/src/telemetry/mod.rs:99:521192 |119399 | pub fn spawn(self, builder: SubscriberBuilder, is_enterprise: bool) {1194 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise`11951196warning: `common` (lib) generated 19 warnings (run `cargo fix --lib -p common` to apply 11 suggestions)1197warning: unused import: `smtp::reporting::SmtpReporting`1198 --> crates/services/src/housekeeper/mod.rs:14:51199 |120014 | use smtp::reporting::SmtpReporting;1201 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1202 |1203 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default12041205warning: unused imports: `IterateParams`, `TelemetryClass`, and `key::DeserializeBigEndian`1206 --> crates/services/src/task_manager/index.rs:14:51207 |120814 | IterateParams, SerializeInfallible, ValueKey,1209 | ^^^^^^^^^^^^^1210...121120 | TelemetryClass, ValueClass, key::DeserializeBigEndian,1212 | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^12131214warning: unused import: `blob_hash::BlobHash`1215 --> crates/services/src/task_manager/index.rs:25:51216 |121725 | blob_hash::BlobHash,1218 | ^^^^^^^^^^^^^^^^^^^12191220warning: unused import: `Archiver`1221 --> crates/migration/src/blob.rs:11:191222 |122311 | AnyClass, Archiver, BatchBuilder, BlobLink, BlobOp, ValueClass, key::DeserializeBigEndian,1224 | ^^^^^^^^1225 |1226 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default12271228warning: unused import: `Serialize`1229 --> crates/migration/src/blob.rs:9:401230 |12319 | IterateParams, SUBSPACE_BLOB_LINK, Serialize, SerializeInfallible, U32_LEN, U64_LEN, ValueKey,1232 | ^^^^^^^^^12331234warning: unused variable: `deleted_at`1235 --> crates/migration/src/blob.rs:218:331236 |1237218 | OldType::Undelete { deleted_at, size } => {1238 | ^^^^^^^^^^ help: try ignoring the field: `deleted_at: _`1239 |1240 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default12411242warning: unused variable: `size`1243 --> crates/migration/src/blob.rs:218:451244 |1245218 | OldType::Undelete { deleted_at, size } => {1246 | ^^^^ help: try ignoring the field: `size: _`12471248warning: `services` (lib) generated 3 warnings (run `cargo fix --lib -p services` to apply 3 suggestions)1249warning: `migration` (lib) generated 4 warnings (run `cargo fix --lib -p migration` to apply 3 suggestions)1250warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`1251 --> crates/http/src/management/queue.rs:15:291252 |125315 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};1254 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1255 |1256 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default12571258warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory`1259 --> crates/http/src/management/report.rs:8:291260 |12618 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory};1262 | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^12631264warning: unused import: `self`1265 --> crates/http/src/management/stores.rs:17:331266 |126717 | backend::internal::manage::{self, ManageDirectory},1268 | ^^^^12691270warning: variable does not need to be mutable1271 --> crates/http/src/management/principal.rs:270:211272 |1273270 | let mut tenant = access_token.tenant.map(|t| t.id);1274 | ----^^^^^^1275 | |1276 | help: remove this `mut`1277 |1278 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default12791280warning: variable does not need to be mutable1281 --> crates/http/src/management/principal.rs:363:211282 |1283363 | let mut tenant = access_token.tenant.map(|t| t.id);1284 | ----^^^^^^1285 | |1286 | help: remove this `mut`12871288warning: variable does not need to be mutable1289 --> crates/http/src/management/queue.rs:139:131290 |1291139 | let mut tenant_domains: Option<Vec<String>> = None;1292 | ----^^^^^^^^^^^^^^1293 | |1294 | help: remove this `mut`12951296warning: variable does not need to be mutable1297 --> crates/http/src/management/report.rs:49:131298 |129949 | let mut tenant_domains: Option<Vec<String>> = None;1300 | ----^^^^^^^^^^^^^^1301 | |1302 | help: remove this `mut`13031304warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::<T>::from_der`: use `from_key_der()` instead1305 --> crates/http/src/management/dkim.rs:256:551306 |1307256 | Algorithm::Rsa => match RsaKey::<Sha256>::from_der(&der).and_then(|key| {1308 | ^^^^^^^^1309 |1310 = note: `#[warn(deprecated)]` on by default13111312warning: unused variable: `body`1313 --> crates/http/src/management/stores.rs:81:91314 |131581 | body: Option<Vec<u8>>,1316 | ^^^^ help: if this is intentional, prefix it with an underscore: `_body`1317 |1318 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default13191320warning: unused variable: `session`1321 --> crates/http/src/management/stores.rs:82:91322 |132382 | session: &HttpSessionData,1324 | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`13251326warning: struct `Timestamp` is never constructed1327 --> crates/http/src/management/mod.rs:202:191328 |1329202 | pub(super) struct Timestamp(u64);1330 | ^^^^^^^^^1331 |1332 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default13331334warning: method `into_inner` is never used1335 --> crates/http/src/management/mod.rs:238:121336 |1337237 | impl Timestamp {1338 | -------------- method in this implementation1339238 | pub fn into_inner(self) -> u64 {1340 | ^^^^^^^^^^13411342warning: `http` (lib) generated 12 warnings (run `cargo fix --lib -p http` to apply 9 suggestions)1343 Compiling stalwart v0.15.5 (/build/source/crates/main)1344 Finished `release` profile [optimized] target(s) in 23.03s1345warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.11346note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`1347 Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/stalwart-ec17727fbb29db3b)13481349running 0 tests13501351test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s13521353Finished cargoCheckHookinstallPhase
1354Executing cargoInstallHook1355Finished cargoInstallHookfixupPhase
1356shrinking RPATHs of ELF executables and libraries in /nix/store/mxh74ncv0ihj6jvxw0p78jvgxcdfjbmm-stalwart-0.15.51357shrinking /nix/store/mxh74ncv0ihj6jvxw0p78jvgxcdfjbmm-stalwart-0.15.5/bin/stalwart1358checking for references to /build/ in /nix/store/mxh74ncv0ihj6jvxw0p78jvgxcdfjbmm-stalwart-0.15.5...1359patching script interpreter paths in /nix/store/mxh74ncv0ihj6jvxw0p78jvgxcdfjbmm-stalwart-0.15.51360stripping (with command strip and flags -S -p) in /nix/store/mxh74ncv0ihj6jvxw0p78jvgxcdfjbmm-stalwart-0.15.5/lib /nix/store/mxh74ncv0ihj6jvxw0p78jvgxcdfjbmm-stalwart-0.15.5/bin