structuredAttrs is enabled Running phase: unpackPhase unpacking source archive /nix/store/v96a568vgkdp6c4p0s28ll3525fq7y68-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase applying patch /nix/store/1nawx5prczx9vynlvhn4783iz6m68vlr-return-empty-s3-blob-for-empty-range.patch patching file crates/store/src/backend/s3/mod.rs Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/stalwart-0.15.5-vendor-rust-s3-r2-signing-fixes/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook 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 stalwart Compiling proc-macro2 v1.0.106 Compiling quote v1.0.44 Compiling unicode-ident v1.0.23 Compiling libc v0.2.182 Compiling cfg-if v1.0.4 Compiling version_check v0.9.5 Compiling serde_core v1.0.228 Compiling typenum v1.19.0 Compiling serde v1.0.228 Compiling shlex v1.3.0 Compiling find-msvc-tools v0.1.9 Compiling memchr v2.8.0 Compiling subtle v2.6.1 Compiling smallvec v1.15.1 Compiling parking_lot_core v0.9.12 Compiling pin-project-lite v0.2.16 Compiling itoa v1.0.17 Compiling equivalent v1.0.2 Compiling const-oid v0.9.6 Compiling allocator-api2 v0.2.21 Compiling portable-atomic v1.13.1 Compiling scopeguard v1.2.0 Compiling foldhash v0.2.0 Compiling critical-section v1.2.0 Compiling futures-core v0.3.31 Compiling zerocopy v0.8.39 Compiling cpufeatures v0.2.17 Compiling futures-sink v0.3.31 Compiling autocfg v1.5.0 Compiling slab v0.4.12 Compiling futures-io v0.3.31 Compiling pin-utils v0.1.0 Compiling untrusted v0.9.0 Compiling log v0.4.29 Compiling futures-task v0.3.31 Compiling stable_deref_trait v1.2.1 Compiling pkg-config v0.3.32 Compiling percent-encoding v2.3.2 Compiling crossbeam-utils v0.8.21 Compiling writeable v0.6.2 Compiling litemap v0.8.1 Compiling icu_normalizer_data v2.1.1 Compiling icu_properties_data v2.1.2 Compiling libm v0.2.16 Compiling getrandom v0.3.4 Compiling base64 v0.22.1 Compiling fnv v1.0.7 Compiling zmij v1.0.21 Compiling thiserror v2.0.18 Compiling rustls v0.23.36 Compiling utf8_iter v1.0.4 Compiling base64ct v1.8.3 Compiling serde_json v1.0.149 Compiling bitflags v2.11.0 Compiling lock_api v0.4.14 Compiling getrandom v0.4.1 Compiling httparse v1.10.1 Compiling time-core v0.1.8 Compiling num-conv v0.2.0 Compiling powerfmt v0.2.0 Compiling generic-array v0.14.7 Compiling tower-service v0.3.3 Compiling try-lock v0.2.5 Compiling ipnet v2.11.0 Compiling httpdate v1.0.3 Compiling vcpkg v0.2.15 Compiling atomic-waker v1.1.2 Compiling either v1.15.0 Compiling sha1_smol v1.0.1 Compiling time-macros v0.2.27 Compiling futures-channel v0.3.31 Compiling form_urlencoded v1.2.2 Compiling want v0.3.1 Compiling rustversion v1.0.22 Compiling tinyvec_macros v0.1.1 Compiling data-encoding v2.10.0 Compiling zstd-safe v7.2.4 Compiling tower-layer v0.3.3 Compiling simdutf8 v0.1.5 Compiling simd-adler32 v0.3.8 Compiling crc32fast v1.5.0 Compiling ryu v1.0.23 Compiling pem-rfc7468 v0.7.0 Compiling tinyvec v1.10.0 Compiling spin v0.9.8 Compiling minimal-lexical v0.2.1 Compiling adler2 v2.0.1 Compiling sync_wrapper v1.0.2 Compiling regex-syntax v0.8.9 Compiling heck v0.5.0 Compiling rustix v1.1.3 Compiling thiserror v1.0.69 Compiling iri-string v0.7.10 Compiling semver v1.0.27 Compiling num-traits v0.2.19 Compiling linux-raw-sys v0.11.0 Compiling anyhow v1.0.101 Compiling ahash v0.8.12 Compiling byteorder v1.5.0 Compiling pure-rust-locales v0.8.2 Compiling iana-time-zone v0.1.65 Compiling siphasher v1.0.2 Compiling syn v1.0.109 Compiling num-bigint-dig v0.8.6 Compiling crunchy v0.2.4 Compiling encoding_rs v0.8.35 Compiling miniz_oxide v0.8.9 Compiling zlib-rs v0.6.0 Compiling lazy_static v1.5.0 Compiling hashbrown v0.16.1 Compiling aho-corasick v1.1.4 Compiling rustc_version v0.4.1 Compiling crc-catalog v2.4.0 Compiling bumpalo v3.19.1 Compiling oid-registry v0.8.1 Compiling cfg_aliases v0.2.1 Compiling tagptr v0.2.0 Compiling arrayvec v0.7.6 Compiling libbz2-rs-sys v0.2.2 Compiling getrandom v0.1.16 Compiling rayon-core v1.13.0 Compiling nom v7.1.3 Compiling crc v3.4.0 Compiling constant_time_eq v0.3.1 Compiling nix v0.30.1 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-channel v0.5.15 Compiling concurrent-queue v2.5.0 Compiling pem v3.0.6 Compiling parking v2.2.1 Compiling ppmd-rust v1.4.0 Compiling tiny-keccak v2.0.2 Compiling resolv-conf v0.7.6 Compiling deflate64 v0.1.10 Compiling once_cell v1.21.3 Compiling opaque-debug v0.3.1 Compiling glob v0.3.3 Compiling zopfli v0.8.3 Compiling quick-xml v0.38.4 Compiling static_assertions v1.1.0 Compiling rustls v0.21.12 Compiling curve25519-dalek v4.1.3 Compiling itertools v0.14.0 Compiling proc-macro-error-attr v1.0.4 Compiling rle-decode-fast v1.0.3 Compiling arrayref v0.3.9 Compiling syn v2.0.115 Compiling constant_time_eq v0.4.2 Compiling jobserver v0.1.34 Compiling getrandom v0.2.17 Compiling md5 v0.8.0 Compiling foldhash v0.1.5 Compiling tracing-core v0.1.36 Compiling rtrb v0.3.2 Compiling psl-types v2.0.11 Compiling xxhash-rust v0.8.15 Compiling unicode-normalization v0.1.25 Compiling indexmap v2.13.0 Compiling clang-sys v1.8.1 Compiling psl v2.1.190 Compiling core2 v0.4.0 Compiling hashbrown v0.15.5 Compiling libloading v0.8.9 Compiling proc-macro-error v1.0.4 Compiling fast-float v0.2.0 Compiling const-random-macro v0.1.16 Compiling castaway v0.2.4 Compiling libflate_lz77 v2.2.0 Compiling bzip2 v0.6.1 Compiling winnow v0.7.14 Compiling adler32 v1.2.0 Compiling waker-fn v1.2.0 Compiling cc v1.2.56 Compiling nohash-hasher v0.2.0 Compiling farmhash v1.1.5 Compiling ident_case v1.0.1 Compiling base64 v0.21.7 Compiling http-types v2.12.0 Compiling paste v1.0.15 Compiling event-listener v2.5.3 Compiling strsim v0.11.1 Compiling gethostname v1.1.0 Compiling base16ct v0.2.0 Compiling fastrand v1.9.0 Compiling dary_heap v0.3.8 Compiling bindgen v0.72.1 Compiling mail-builder v0.4.4 Compiling async-channel v1.9.0 Compiling futures-lite v1.13.0 Compiling azure_core v0.21.0 Compiling phf_shared v0.13.1 Compiling libflate v2.2.1 Compiling itertools v0.13.0 Compiling toml_datetime v0.7.5+spec-1.1.0 Compiling fastrand v2.3.0 Compiling base64 v0.13.1 Compiling unicode-bidi v0.3.18 Compiling regex-automata v0.4.14 Compiling num-integer v0.1.46 Compiling const-random v0.1.18 Compiling dyn-clone v1.0.20 Compiling rustc-hash v2.1.1 Compiling infer v0.2.3 Compiling unicode-properties v0.1.4 Compiling dlv-list v0.5.2 Compiling proc-macro-error-attr2 v2.0.0 Compiling event-listener v5.4.1 Compiling phf_shared v0.12.1 Compiling indexmap v1.9.3 Compiling phf v0.13.1 Compiling phf_generator v0.13.1 Compiling chrono-tz v0.10.4 Compiling hashbrown v0.14.5 Compiling fallible-iterator v0.2.0 Compiling openssl-probe v0.1.6 Compiling phf v0.12.1 Compiling phf_codegen v0.13.1 Compiling rusticata-macros v4.1.0 Compiling errno v0.3.14 Compiling socket2 v0.6.2 Compiling mio v1.1.1 Compiling num-bigint v0.4.6 Compiling num-iter v0.1.45 Compiling rand_core v0.9.5 Compiling signal-hook-registry v1.4.8 Compiling rustls-pemfile v1.0.4 Compiling rand_core v0.6.4 Compiling socket2 v0.5.10 Compiling stringprep v0.1.5 Compiling rand_core v0.5.1 Compiling num_cpus v1.17.0 Compiling event-listener-strategy v0.5.4 Compiling parking_lot v0.12.5 Compiling mysql_common v0.35.5 Compiling crc16 v0.4.0 Compiling termcolor v1.4.1 Compiling openssl-probe v0.2.1 Compiling hashbrown v0.12.3 Compiling password-hash v0.5.0 Compiling ff v0.13.1 Compiling async-lock v3.4.2 Compiling jieba-macros v0.8.1 Compiling whoami v2.1.1 Compiling btoi v0.4.3 Compiling crossbeam-deque v0.8.6 Compiling group v0.13.0 Compiling cedarwood v0.4.6 Compiling saturating v0.1.0 Compiling home v0.5.12 Compiling linked-hash-map v0.5.6 Compiling twox-hash v2.1.2 Compiling RustyXML v0.3.0 Compiling scheduled-thread-pool v0.2.7 Compiling rustls-native-certs v0.6.3 Compiling lru v0.14.0 Compiling whatlang v0.18.0 Compiling hashlink v0.10.0 Compiling keyed_priority_queue v0.4.2 Compiling arc-swap v1.8.2 Compiling crossbeam-queue v0.3.12 Compiling ring v0.17.14 Compiling zstd-sys v2.0.16+zstd.1.5.7 Compiling libz-sys v1.1.23 Compiling blake3 v1.8.3 Compiling lz4-sys v1.11.1+lz4-1.10.0 Compiling bzip2-sys v0.1.13+1.0.8 Compiling libsqlite3-sys v0.35.0 Compiling lru-cache v0.1.2 Compiling toml_parser v1.0.8+spec-1.1.0 Compiling nibble_vec v0.1.0 Compiling bytemuck v1.25.0 Compiling fallible-iterator v0.3.0 Compiling maplit v1.0.2 Compiling hex v0.4.3 Compiling cexpr v0.6.0 Compiling fallible-streaming-iterator v0.1.9 Compiling ppv-lite86 v0.2.21 Compiling bit-vec v0.8.0 Compiling endian-type v0.1.2 Compiling nohash v0.2.0 Compiling md5 v0.7.0 Compiling roaring v0.11.3 Compiling r2d2 v0.8.10 Compiling regex v1.12.3 Compiling rayon v1.11.0 Compiling bitpacking v0.9.3 Compiling lz4_flex v0.12.0 Compiling ordered-multimap v0.7.3 Compiling radix_trie v0.2.1 Compiling prometheus v0.14.0 Compiling base32 v0.5.1 Compiling toml_edit v0.23.10+spec-1.0.0 Compiling urlencoding v2.1.3 Compiling object v0.37.3 Compiling zstd v0.13.3 Compiling radium v0.7.0 Compiling decancer v3.3.3 Compiling bit-set v0.8.0 Compiling typewit_proc_macros v1.8.1 Compiling virtue v0.0.18 Compiling doc-comment v0.3.4 Compiling rand_chacha v0.3.1 Compiling rand_chacha v0.9.0 Compiling rand_chacha v0.2.2 Compiling unty v0.0.4 Compiling crypto-common v0.1.7 Compiling rust-ini v0.21.3 Compiling block-buffer v0.10.4 Compiling unicode-script v0.5.8 Compiling gimli v0.32.3 Compiling common v0.15.5 (/build/source/crates/common) Compiling tap v1.0.1 Compiling privdrop v0.5.6 Compiling typewit v1.14.2 Compiling hostname v0.4.2 Compiling rand v0.9.2 Compiling include-flate-compress v0.3.1 Compiling rand v0.7.3 Compiling digest v0.10.7 Compiling wyz v0.5.1 Compiling phf_shared v0.11.3 Compiling rand v0.8.5 Compiling unicode-security v0.1.2 Compiling funty v2.0.0 Compiling precomputed-hash v0.1.1 Compiling deranged v0.5.6 Compiling uuid v1.21.0 Compiling fixedbitset v0.5.7 Compiling heck v0.4.1 Compiling proc-macro-crate v3.4.0 Compiling term v1.2.1 Compiling opentelemetry-semantic-conventions v0.29.0 Compiling imagesize v0.14.0 Compiling rustc-demangle v0.1.27 Compiling new_debug_unreachable v1.0.6 Compiling same-file v1.0.6 Compiling keccak v0.1.6 Compiling string_cache v0.8.9 Compiling petgraph v0.7.1 Compiling konst_kernel v0.3.15 Compiling const_panic v0.2.15 Compiling walkdir v2.5.0 Compiling synstructure v0.13.2 Compiling darling_core v0.20.11 Compiling moka v0.12.13 Compiling proc-macro-error2 v2.0.1 Compiling cfb v0.7.3 Compiling ena v0.14.4 Compiling bincode_derive v2.0.1 Compiling ascii-canvas v4.0.0 Compiling sha3 v0.10.8 Compiling bitvec v1.0.1 Compiling lalrpop-util v0.22.2 Compiling itertools v0.10.5 Compiling nuid v0.5.0 Compiling unicode-xid v0.2.6 Compiling konst v0.3.16 Compiling sha1collisiondetection v0.3.4 Compiling unicode-general-category v1.1.0 Compiling generic-array v1.3.5 Compiling fancy-regex v0.17.0 Compiling buffered-reader v1.4.0 Compiling memsec v0.7.0 Compiling utf-8 v0.7.6 Compiling jemalloc-sys v0.5.4+5.3.0-patched Compiling memory-stats v1.2.0 Compiling mime v0.3.17 Compiling infer v0.19.0 Compiling snafu-derive v0.7.5 Compiling zeroize_derive v1.4.3 Compiling serde_derive v1.0.228 Compiling tokio-macros v2.6.0 Compiling displaydoc v0.2.5 Compiling zerofrom-derive v0.1.6 Compiling futures-macro v0.3.31 Compiling yoke-derive v0.8.1 Compiling zerovec-derive v0.11.2 Compiling tracing-attributes v0.1.31 Compiling thiserror-impl v2.0.18 Compiling async-trait v0.1.89 Compiling ptr_meta_derive v0.3.1 Compiling bytecheck_derive v0.8.2 Compiling munge_macro v0.4.7 Compiling rkyv_derive v0.8.15 Compiling thiserror-impl v1.0.69 Compiling enum-as-inner v0.6.1 Compiling hashify v0.2.7 Compiling flate2 v1.1.9 Compiling time v0.3.47 Compiling asn1-rs-derive v0.6.0 Compiling asn1-rs-impl v0.2.0 Compiling pin-project-internal v1.1.10 Compiling event_macro v0.15.5 (/build/source/crates/trc/event-macro) Compiling curve25519-dalek-derive v0.1.1 Compiling include-flate-codegen v0.3.1 Compiling prost-derive v0.13.5 Compiling serde_repr v0.1.20 Compiling maybe-async v0.2.10 Compiling proc_macros v0.15.5 (/build/source/crates/utils/proc-macros) Compiling addr2line v0.25.1 Compiling lalrpop v0.22.2 Compiling zeroize v1.8.2 Compiling ptr_meta v0.3.1 Compiling rasn-derive v0.10.6 Compiling async-stream-impl v0.3.6 Compiling rancor v0.1.1 Compiling futures-util v0.3.31 Compiling rustls-pki-types v1.14.0 Compiling der v0.7.10 Compiling bytecheck v0.8.2 Compiling munge v0.4.7 Compiling darling_macro v0.20.11 Compiling webpki-roots v1.0.6 Compiling rustls-pemfile v2.2.0 Compiling rustls-native-certs v0.8.3 Compiling rustls-webpki v0.102.8 Compiling rend v0.5.3 Compiling bitvec-nom2 v0.2.1 Compiling webpki-roots v0.26.11 Compiling zerofrom v0.1.6 Compiling block-padding v0.3.3 Compiling crypto-bigint v0.5.5 Compiling digest v0.9.0 Compiling block-buffer v0.9.0 Compiling cipher v0.2.5 Compiling crypto-mac v0.10.0 Compiling dbl v0.3.2 Compiling tracing v0.1.44 Compiling include-flate v0.3.1 Compiling rustls-native-certs v0.7.3 Compiling aead v0.5.2 Compiling universal-hash v0.5.1 Compiling async-stream v0.3.6 Compiling yoke v0.8.1 Compiling blowfish v0.7.0 Compiling hmac v0.10.1 Compiling sha-1 v0.9.8 Compiling sha2 v0.9.9 Compiling md-5 v0.9.1 Compiling jieba-rs v0.8.1 Compiling polyval v0.6.2 Compiling inout v0.1.4 Compiling pin-project v1.1.10 Compiling zerovec v0.11.5 Compiling zerotrie v0.2.3 Compiling aws-region v0.25.5 Compiling rev_lines v0.3.0 Compiling opentelemetry v0.29.1 Compiling cipher v0.4.4 Compiling ghash v0.5.1 Compiling pwhash v1.0.0 Compiling sha2 v0.10.9 Compiling hmac v0.12.1 Compiling signature v2.2.0 Compiling sha1 v0.10.6 Compiling md-5 v0.10.6 Compiling blake2 v0.10.6 Compiling ripemd v0.1.3 Compiling aes v0.8.4 Compiling ctr v0.9.2 Compiling salsa20 v0.10.2 Compiling cmac v0.7.2 Compiling ecb v0.1.2 Compiling idea v0.5.1 Compiling blowfish v0.9.1 Compiling darling v0.20.11 Compiling ed25519 v2.2.3 Compiling cast5 v0.11.1 Compiling hkdf v0.12.4 Compiling rfc6979 v0.4.0 Compiling mysql-common-derive v0.32.1 Compiling backtrace v0.3.76 Compiling des v0.8.1 Compiling camellia v0.1.0 Compiling twofish v0.7.1 Compiling cfb-mode v0.8.2 Compiling cbc v0.1.2 Compiling ocb3 v0.1.0 Compiling eax v0.5.0 Compiling tinystr v0.8.2 Compiling potential_utf v0.1.4 Compiling argon2 v0.5.3 Compiling pbkdf2 v0.12.2 Compiling lzma-rust2 v0.13.0 Compiling aes-gcm-siv v0.11.1 Compiling aes-gcm v0.10.3 Compiling icu_collections v2.1.1 Compiling icu_locale_core v2.1.1 Compiling scrypt v0.11.0 Compiling asn1-rs v0.7.1 Compiling yasna v0.5.2 Compiling spki v0.7.3 Compiling snafu v0.7.5 Compiling pkcs8 v0.10.2 Compiling ed25519-dalek v2.2.0 Compiling x25519-dalek v2.0.1 Compiling pkcs1 v0.7.5 Compiling sec1 v0.7.3 Compiling signatory v0.27.1 Compiling dsa v0.6.3 Compiling librocksdb-sys v0.17.3+10.4.2 Compiling nkeys v0.4.5 Compiling elliptic-curve v0.13.8 Compiling zip v6.0.0 Compiling rsa v0.9.10 Compiling ecdsa v0.16.9 Compiling primeorder v0.13.6 Compiling bytes v1.11.1 Compiling serde_urlencoded v0.7.1 Compiling chrono v0.4.43 Compiling serde_qs v0.8.5 Compiling quick-xml v0.31.0 Compiling quick-xml v0.32.0 Compiling serde_nanos v0.1.4 Compiling rust-stemmers v1.2.0 Compiling bincode v2.0.1 Compiling bincode v1.3.3 Compiling icu_provider v2.1.1 Compiling quick_cache v0.6.18 Compiling p384 v0.13.1 Compiling p256 v0.13.2 Compiling p521 v0.13.3 Compiling der-parser v10.0.0 Compiling icu_properties v2.1.2 Compiling icu_normalizer v2.1.1 Compiling futures-executor v0.3.31 Compiling futures v0.3.31 Compiling opentelemetry_sdk v0.29.0 Compiling tokio v1.49.0 Compiling http v1.4.0 Compiling http v0.2.12 Compiling postgres-protocol v0.6.10 Compiling prost v0.13.5 Compiling lber v0.5.1 Compiling rustls-webpki v0.103.9 Compiling rustls-webpki v0.101.7 Compiling sct v0.7.1 Compiling rcgen v0.14.7 Compiling rcgen v0.12.1 Compiling postgres-types v0.2.12 Compiling x509-parser v0.18.1 Compiling idna_adapter v1.2.1 Compiling http-body v1.0.1 Compiling tungstenite v0.28.0 Compiling form-data v0.6.0 Compiling biscuit v0.7.0 Compiling rasn v0.10.6 Compiling idna v1.1.0 Compiling http-body v0.4.6 Compiling http-body-util v0.1.3 Compiling url v2.5.8 Compiling rkyv v0.8.15 Compiling totp-rs v5.7.0 Compiling sequoia-openpgp v2.2.0 Compiling rasn-pkix v0.10.6 Compiling mail-parser v0.11.2 Compiling smtp-proto v0.2.0 Compiling compact_str v0.9.0 Compiling jmap-tools v0.1.3 Compiling rasn-cms v0.10.6 Compiling attohttpc v0.28.5 Compiling tokio-util v0.7.18 Compiling tokio-rustls v0.26.4 Compiling tower v0.5.3 Compiling tokio-stream v0.1.18 Compiling tokio-rustls v0.24.1 Compiling deadpool-runtime v0.1.4 Compiling hyper v0.14.32 Compiling tryhard v0.5.2 Compiling proxy-header v0.1.2 Compiling tokio-tungstenite v0.28.0 Compiling deadpool v0.12.3 Compiling deadpool v0.10.0 Compiling hickory-proto v0.26.0-alpha.1 Compiling rocksdb v0.24.0 Compiling tower-http v0.6.8 Compiling aws-creds v0.37.0 Compiling h2 v0.4.13 Compiling h2 v0.3.27 Compiling tokio-postgres v0.7.16 Compiling tower v0.4.13 Compiling combine v4.6.7 Compiling mysql_async v0.36.1 Compiling async-nats v0.44.2 Compiling ldap3 v0.12.1 Compiling mail-send v0.5.2 Compiling sieve-rs v0.7.1 Compiling calcard v0.3.2 Compiling calcard v0.1.3 Compiling deadpool-postgres v0.14.1 Compiling hyper-rustls v0.24.2 Compiling rust-s3 v0.35.1 Compiling hyper v1.8.1 Compiling hickory-proto v0.24.4 Compiling hickory-resolver v0.26.0-alpha.1 Compiling hyper-util v0.1.20 Compiling redis v0.32.7 Compiling mail-auth v0.7.5 Compiling hyper-rustls v0.27.7 Compiling hyper-timeout v0.5.2 Compiling tonic v0.12.3 Compiling reqwest v0.12.28 Compiling hickory-client v0.24.4 Compiling opentelemetry-http v0.29.0 Compiling dns-update v0.1.6 Compiling opentelemetry-proto v0.29.0 Compiling opentelemetry-otlp v0.29.0 Compiling azure_storage v0.21.0 Compiling azure_svc_blobstorage v0.21.0 Compiling trc v0.15.5 (/build/source/crates/trc) Compiling utils v0.15.5 (/build/source/crates/utils) Compiling types v0.15.5 (/build/source/crates/types) Compiling nlp v0.15.5 (/build/source/crates/nlp) Compiling jmap_proto v0.15.5 (/build/source/crates/jmap-proto) Compiling imap_proto v0.15.5 (/build/source/crates/imap-proto) Compiling dav-proto v0.15.5 (/build/source/crates/dav-proto) Compiling jemallocator v0.5.4 Compiling azure_storage_blobs v0.21.0 Compiling rusqlite v0.37.0 Compiling store v0.15.5 (/build/source/crates/store) Compiling directory v0.15.5 (/build/source/crates/directory) warning: variable does not need to be mutable --> crates/directory/src/backend/internal/manage.rs:269:9 | 269 | mut tenant_id: Option, | ----^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> crates/directory/src/backend/internal/manage.rs:976:13 | 976 | let mut pinfo_name = | ----^^^^^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> crates/directory/src/backend/internal/manage.rs:990:13 | 990 | let mut used_quota: Option = None; | ----^^^^^^^^^^ | | | help: remove this `mut` warning: unused variable: `tenant` --> crates/directory/src/backend/internal/manage.rs:703:13 | 703 | let tenant = principal.data.iter().find_map(|data| { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tenant` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `used_quota` --> crates/directory/src/backend/internal/manage.rs:990:13 | 990 | let mut used_quota: Option = None; | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_used_quota` warning: variable `tenant_id` is assigned to, but never used --> crates/directory/src/backend/internal/manage.rs:2307:13 | 2307 | let mut tenant_id = None; | ^^^^^^^^^^^^^ | = note: consider using `_tenant_id` instead warning: value assigned to `tenant_id` is never read --> crates/directory/src/backend/internal/manage.rs:2383:21 | 2383 | tenant_id = Some(tid); | ^^^^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `is_enterprise` --> crates/directory/src/core/config.rs:32:9 | 32 | is_enterprise: bool, | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise` warning: unused import: `TenantInfo` --> crates/common/src/core.rs:9:40 | 9 | auth::{AccessToken, ResourceToken, TenantInfo}, | ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused import: `std::time::Instant` --> crates/common/src/scripts/plugins/llm_prompt.rs:7:5 | 7 | use std::time::Instant; | ^^^^^^^^^^^^^^^^^^ warning: unused import: `directory::Permission` --> crates/common/src/scripts/plugins/llm_prompt.rs:9:5 | 9 | use directory::Permission; | ^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `compiler::Number` --> crates/common/src/scripts/plugins/llm_prompt.rs:10:26 | 10 | use sieve::{FunctionMap, compiler::Number, runtime::Variable}; | ^^^^^^^^^^^^^^^^ warning: unused imports: `AiEvent` and `SecurityEvent` --> crates/common/src/scripts/plugins/llm_prompt.rs:11:11 | 11 | use trc::{AiEvent, SecurityEvent}; | ^^^^^^^ ^^^^^^^^^^^^^ warning: variable does not need to be mutable --> crates/common/src/auth/access_token.rs:92:13 | 92 | let mut permissions = role_permissions.finalize(); | ----^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> crates/common/src/auth/access_token.rs:93:13 | 93 | let mut tenant = None; | ----^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> crates/common/src/config/mod.rs:53:9 | 53 | mut stores: Stores, | ----^^^^^^ | | | help: remove this `mut` warning: use of deprecated method `tokio::net::TcpSocket::set_tos`: `tos` related methods have been renamed `tos_v4` since they are IPv4-specific. --> crates/common/src/config/server/listener.rs:119:40 | 119 | ... socket.set_tos(value) | ^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::::from_rsa_pem`: use `from_key_der()` instead --> crates/common/src/config/smtp/auth.rs:246:41 | 246 | let key = RsaKey::::from_rsa_pem(&pk) | ^^^^^^^^^^^^ warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::::from_pkcs8_pem`: use `from_key_der()` instead --> crates/common/src/config/smtp/auth.rs:247:48 | 247 | .or_else(|_| RsaKey::::from_pkcs8_pem(&pk)) | ^^^^^^^^^^^^^^ warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::::from_rsa_pem`: use `from_key_der()` instead --> crates/common/src/config/smtp/auth.rs:255:47 | 255 | let key_clone = RsaKey::::from_rsa_pem(&pk) | ^^^^^^^^^^^^ warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::::from_pkcs8_pem`: use `from_key_der()` instead --> crates/common/src/config/smtp/auth.rs:256:48 | 256 | .or_else(|_| RsaKey::::from_pkcs8_pem(&pk)) | ^^^^^^^^^^^^^^ warning: use of deprecated method `tokio::net::TcpStream::set_linger`: `SO_LINGER` causes the socket to block the thread on drop --> crates/common/src/listener/listen.rs:292:38 | 292 | && let Err(err) = stream.set_linger(self.linger) | ^^^^^^^^^^ warning: variable `tenant_id` is assigned to, but never used --> crates/common/src/auth/access_token.rs:49:13 | 49 | let mut tenant_id = None; | ^^^^^^^^^^^^^ | = note: consider using `_tenant_id` instead = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: value assigned to `tenant_id` is never read --> crates/common/src/auth/access_token.rs:56:45 | 56 | PrincipalData::Tenant(v) => tenant_id = Some(v), | ^^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `stores` --> crates/common/src/config/telemetry.rs:163:39 | 163 | pub fn parse(config: &mut Config, stores: &Stores) -> Self { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stores` warning: `directory` (lib) generated 8 warnings (run `cargo fix --lib -p directory` to apply 6 suggestions) warning: unused variable: `ctx` --> crates/common/src/scripts/plugins/llm_prompt.rs:19:19 | 19 | pub async fn exec(ctx: PluginContext<'_>) -> trc::Result { | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` warning: unused variable: `is_enterprise` --> crates/common/src/telemetry/mod.rs:99:52 | 99 | pub fn spawn(self, builder: SubscriberBuilder, is_enterprise: bool) { | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise` Compiling groupware v0.15.5 (/build/source/crates/groupware) Compiling spam-filter v0.15.5 (/build/source/crates/spam-filter) Compiling http_proto v0.15.5 (/build/source/crates/http-proto) Compiling dav v0.15.5 (/build/source/crates/dav) Compiling email v0.15.5 (/build/source/crates/email) Compiling smtp v0.15.5 (/build/source/crates/smtp) Compiling imap v0.15.5 (/build/source/crates/imap) Compiling pop3 v0.15.5 (/build/source/crates/pop3) Compiling managesieve v0.15.5 (/build/source/crates/managesieve) Compiling services v0.15.5 (/build/source/crates/services) Compiling migration v0.15.5 (/build/source/crates/migration) warning: unused import: `smtp::reporting::SmtpReporting` --> crates/services/src/housekeeper/mod.rs:14:5 | 14 | use smtp::reporting::SmtpReporting; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `IterateParams`, `TelemetryClass`, and `key::DeserializeBigEndian` --> crates/services/src/task_manager/index.rs:14:5 | 14 | IterateParams, SerializeInfallible, ValueKey, | ^^^^^^^^^^^^^ ... 20 | TelemetryClass, ValueClass, key::DeserializeBigEndian, | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `blob_hash::BlobHash` --> crates/services/src/task_manager/index.rs:25:5 | 25 | blob_hash::BlobHash, | ^^^^^^^^^^^^^^^^^^^ warning: unused import: `Archiver` --> crates/migration/src/blob.rs:11:19 | 11 | AnyClass, Archiver, BatchBuilder, BlobLink, BlobOp, ValueClass, key::DeserializeBigEndian, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused import: `Serialize` --> crates/migration/src/blob.rs:9:40 | 9 | IterateParams, SUBSPACE_BLOB_LINK, Serialize, SerializeInfallible, U32_LEN, U64_LEN, ValueKey, | ^^^^^^^^^ warning: unused variable: `deleted_at` --> crates/migration/src/blob.rs:218:33 | 218 | OldType::Undelete { deleted_at, size } => { | ^^^^^^^^^^ help: try ignoring the field: `deleted_at: _` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `size` --> crates/migration/src/blob.rs:218:45 | 218 | OldType::Undelete { deleted_at, size } => { | ^^^^ help: try ignoring the field: `size: _` Compiling jmap v0.15.5 (/build/source/crates/jmap) warning: `migration` (lib) generated 4 warnings (run `cargo fix --lib -p migration` to apply 3 suggestions) warning: `common` (lib) generated 19 warnings (run `cargo fix --lib -p common` to apply 11 suggestions) Compiling http v0.15.5 (/build/source/crates/http) warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory` --> crates/http/src/management/queue.rs:15:29 | 15 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory}; | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory` --> crates/http/src/management/report.rs:8:29 | 8 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory}; | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `self` --> crates/http/src/management/stores.rs:17:33 | 17 | backend::internal::manage::{self, ManageDirectory}, | ^^^^ warning: variable does not need to be mutable --> crates/http/src/management/principal.rs:270:21 | 270 | let mut tenant = access_token.tenant.map(|t| t.id); | ----^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> crates/http/src/management/principal.rs:363:21 | 363 | let mut tenant = access_token.tenant.map(|t| t.id); | ----^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> crates/http/src/management/queue.rs:139:13 | 139 | let mut tenant_domains: Option> = None; | ----^^^^^^^^^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> crates/http/src/management/report.rs:49:13 | 49 | let mut tenant_domains: Option> = None; | ----^^^^^^^^^^^^^^ | | | help: remove this `mut` warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::::from_der`: use `from_key_der()` instead --> crates/http/src/management/dkim.rs:256:55 | 256 | Algorithm::Rsa => match RsaKey::::from_der(&der).and_then(|key| { | ^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: unused variable: `body` --> crates/http/src/management/stores.rs:81:9 | 81 | body: Option>, | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `session` --> crates/http/src/management/stores.rs:82:9 | 82 | session: &HttpSessionData, | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` warning: struct `Timestamp` is never constructed --> crates/http/src/management/mod.rs:202:19 | 202 | pub(super) struct Timestamp(u64); | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `into_inner` is never used --> crates/http/src/management/mod.rs:238:12 | 237 | impl Timestamp { | -------------- method in this implementation 238 | pub fn into_inner(self) -> u64 { | ^^^^^^^^^^ warning: `http` (lib) generated 12 warnings (run `cargo fix --lib -p http` to apply 9 suggestions) warning: `services` (lib) generated 3 warnings (run `cargo fix --lib -p services` to apply 3 suggestions) Compiling stalwart v0.15.5 (/build/source/crates/main) Finished `release` profile [optimized] target(s) in 19m 16s warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` Executing cargoInstallPostBuildHook Finished cargoInstallPostBuildHook Finished cargoBuildHook buildPhase completed in 19 minutes 17 seconds Running phase: checkPhase Executing cargoCheckHook cargoCheckHook 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_tests warning: variable does not need to be mutable --> crates/directory/src/backend/internal/manage.rs:269:9 | 269 | mut tenant_id: Option, | ----^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> crates/directory/src/backend/internal/manage.rs:976:13 | 976 | let mut pinfo_name = | ----^^^^^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> crates/directory/src/backend/internal/manage.rs:990:13 | 990 | let mut used_quota: Option = None; | ----^^^^^^^^^^ | | | help: remove this `mut` warning: unused variable: `tenant` --> crates/directory/src/backend/internal/manage.rs:703:13 | 703 | let tenant = principal.data.iter().find_map(|data| { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tenant` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `used_quota` --> crates/directory/src/backend/internal/manage.rs:990:13 | 990 | let mut used_quota: Option = None; | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_used_quota` warning: variable `tenant_id` is assigned to, but never used --> crates/directory/src/backend/internal/manage.rs:2307:13 | 2307 | let mut tenant_id = None; | ^^^^^^^^^^^^^ | = note: consider using `_tenant_id` instead warning: value assigned to `tenant_id` is never read --> crates/directory/src/backend/internal/manage.rs:2383:21 | 2383 | tenant_id = Some(tid); | ^^^^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `is_enterprise` --> crates/directory/src/core/config.rs:32:9 | 32 | is_enterprise: bool, | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise` warning: `directory` (lib) generated 8 warnings (run `cargo fix --lib -p directory` to apply 6 suggestions) warning: unused import: `TenantInfo` --> crates/common/src/core.rs:9:40 | 9 | auth::{AccessToken, ResourceToken, TenantInfo}, | ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused import: `std::time::Instant` --> crates/common/src/scripts/plugins/llm_prompt.rs:7:5 | 7 | use std::time::Instant; | ^^^^^^^^^^^^^^^^^^ warning: unused import: `directory::Permission` --> crates/common/src/scripts/plugins/llm_prompt.rs:9:5 | 9 | use directory::Permission; | ^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `compiler::Number` --> crates/common/src/scripts/plugins/llm_prompt.rs:10:26 | 10 | use sieve::{FunctionMap, compiler::Number, runtime::Variable}; | ^^^^^^^^^^^^^^^^ warning: unused imports: `AiEvent` and `SecurityEvent` --> crates/common/src/scripts/plugins/llm_prompt.rs:11:11 | 11 | use trc::{AiEvent, SecurityEvent}; | ^^^^^^^ ^^^^^^^^^^^^^ warning: variable does not need to be mutable --> crates/common/src/auth/access_token.rs:92:13 | 92 | let mut permissions = role_permissions.finalize(); | ----^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> crates/common/src/auth/access_token.rs:93:13 | 93 | let mut tenant = None; | ----^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> crates/common/src/config/mod.rs:53:9 | 53 | mut stores: Stores, | ----^^^^^^ | | | help: remove this `mut` warning: use of deprecated method `tokio::net::TcpSocket::set_tos`: `tos` related methods have been renamed `tos_v4` since they are IPv4-specific. --> crates/common/src/config/server/listener.rs:119:40 | 119 | ... socket.set_tos(value) | ^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::::from_rsa_pem`: use `from_key_der()` instead --> crates/common/src/config/smtp/auth.rs:246:41 | 246 | let key = RsaKey::::from_rsa_pem(&pk) | ^^^^^^^^^^^^ warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::::from_pkcs8_pem`: use `from_key_der()` instead --> crates/common/src/config/smtp/auth.rs:247:48 | 247 | .or_else(|_| RsaKey::::from_pkcs8_pem(&pk)) | ^^^^^^^^^^^^^^ warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::::from_rsa_pem`: use `from_key_der()` instead --> crates/common/src/config/smtp/auth.rs:255:47 | 255 | let key_clone = RsaKey::::from_rsa_pem(&pk) | ^^^^^^^^^^^^ warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::::from_pkcs8_pem`: use `from_key_der()` instead --> crates/common/src/config/smtp/auth.rs:256:48 | 256 | .or_else(|_| RsaKey::::from_pkcs8_pem(&pk)) | ^^^^^^^^^^^^^^ warning: use of deprecated method `tokio::net::TcpStream::set_linger`: `SO_LINGER` causes the socket to block the thread on drop --> crates/common/src/listener/listen.rs:292:38 | 292 | && let Err(err) = stream.set_linger(self.linger) | ^^^^^^^^^^ warning: variable `tenant_id` is assigned to, but never used --> crates/common/src/auth/access_token.rs:49:13 | 49 | let mut tenant_id = None; | ^^^^^^^^^^^^^ | = note: consider using `_tenant_id` instead = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: value assigned to `tenant_id` is never read --> crates/common/src/auth/access_token.rs:56:45 | 56 | PrincipalData::Tenant(v) => tenant_id = Some(v), | ^^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `stores` --> crates/common/src/config/telemetry.rs:163:39 | 163 | pub fn parse(config: &mut Config, stores: &Stores) -> Self { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stores` warning: unused variable: `ctx` --> crates/common/src/scripts/plugins/llm_prompt.rs:19:19 | 19 | pub async fn exec(ctx: PluginContext<'_>) -> trc::Result { | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` warning: unused variable: `is_enterprise` --> crates/common/src/telemetry/mod.rs:99:52 | 99 | pub fn spawn(self, builder: SubscriberBuilder, is_enterprise: bool) { | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enterprise` warning: `common` (lib) generated 19 warnings (run `cargo fix --lib -p common` to apply 11 suggestions) warning: unused import: `smtp::reporting::SmtpReporting` --> crates/services/src/housekeeper/mod.rs:14:5 | 14 | use smtp::reporting::SmtpReporting; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `IterateParams`, `TelemetryClass`, and `key::DeserializeBigEndian` --> crates/services/src/task_manager/index.rs:14:5 | 14 | IterateParams, SerializeInfallible, ValueKey, | ^^^^^^^^^^^^^ ... 20 | TelemetryClass, ValueClass, key::DeserializeBigEndian, | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `blob_hash::BlobHash` --> crates/services/src/task_manager/index.rs:25:5 | 25 | blob_hash::BlobHash, | ^^^^^^^^^^^^^^^^^^^ warning: unused import: `Archiver` --> crates/migration/src/blob.rs:11:19 | 11 | AnyClass, Archiver, BatchBuilder, BlobLink, BlobOp, ValueClass, key::DeserializeBigEndian, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused import: `Serialize` --> crates/migration/src/blob.rs:9:40 | 9 | IterateParams, SUBSPACE_BLOB_LINK, Serialize, SerializeInfallible, U32_LEN, U64_LEN, ValueKey, | ^^^^^^^^^ warning: unused variable: `deleted_at` --> crates/migration/src/blob.rs:218:33 | 218 | OldType::Undelete { deleted_at, size } => { | ^^^^^^^^^^ help: try ignoring the field: `deleted_at: _` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `size` --> crates/migration/src/blob.rs:218:45 | 218 | OldType::Undelete { deleted_at, size } => { | ^^^^ help: try ignoring the field: `size: _` warning: `services` (lib) generated 3 warnings (run `cargo fix --lib -p services` to apply 3 suggestions) warning: `migration` (lib) generated 4 warnings (run `cargo fix --lib -p migration` to apply 3 suggestions) warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory` --> crates/http/src/management/queue.rs:15:29 | 15 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory}; | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `Type` and `backend::internal::manage::ManageDirectory` --> crates/http/src/management/report.rs:8:29 | 8 | use directory::{Permission, Type, backend::internal::manage::ManageDirectory}; | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `self` --> crates/http/src/management/stores.rs:17:33 | 17 | backend::internal::manage::{self, ManageDirectory}, | ^^^^ warning: variable does not need to be mutable --> crates/http/src/management/principal.rs:270:21 | 270 | let mut tenant = access_token.tenant.map(|t| t.id); | ----^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> crates/http/src/management/principal.rs:363:21 | 363 | let mut tenant = access_token.tenant.map(|t| t.id); | ----^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> crates/http/src/management/queue.rs:139:13 | 139 | let mut tenant_domains: Option> = None; | ----^^^^^^^^^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> crates/http/src/management/report.rs:49:13 | 49 | let mut tenant_domains: Option> = None; | ----^^^^^^^^^^^^^^ | | | help: remove this `mut` warning: use of deprecated associated function `mail_auth::common::crypto::RsaKey::::from_der`: use `from_key_der()` instead --> crates/http/src/management/dkim.rs:256:55 | 256 | Algorithm::Rsa => match RsaKey::::from_der(&der).and_then(|key| { | ^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: unused variable: `body` --> crates/http/src/management/stores.rs:81:9 | 81 | body: Option>, | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `session` --> crates/http/src/management/stores.rs:82:9 | 82 | session: &HttpSessionData, | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` warning: struct `Timestamp` is never constructed --> crates/http/src/management/mod.rs:202:19 | 202 | pub(super) struct Timestamp(u64); | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `into_inner` is never used --> crates/http/src/management/mod.rs:238:12 | 237 | impl Timestamp { | -------------- method in this implementation 238 | pub fn into_inner(self) -> u64 { | ^^^^^^^^^^ warning: `http` (lib) generated 12 warnings (run `cargo fix --lib -p http` to apply 9 suggestions) Compiling stalwart v0.15.5 (/build/source/crates/main) Finished `release` profile [optimized] target(s) in 25.26s warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/stalwart-7abdf63a86f73d32) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Finished cargoCheckHook Running phase: installPhase Executing cargoInstallHook Finished cargoInstallHook Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/gpdfv2mp3005wlzsg1s0cly8l3q6rg4p-stalwart-0.15.5 shrinking /nix/store/gpdfv2mp3005wlzsg1s0cly8l3q6rg4p-stalwart-0.15.5/bin/stalwart checking for references to /build/ in /nix/store/gpdfv2mp3005wlzsg1s0cly8l3q6rg4p-stalwart-0.15.5... patching script interpreter paths in /nix/store/gpdfv2mp3005wlzsg1s0cly8l3q6rg4p-stalwart-0.15.5 stripping (with command strip and flags -S -p) in /nix/store/gpdfv2mp3005wlzsg1s0cly8l3q6rg4p-stalwart-0.15.5/lib /nix/store/gpdfv2mp3005wlzsg1s0cly8l3q6rg4p-stalwart-0.15.5/bin