[INFO] fetching crate sequoia-keystore-openpgp-card 0.1.0... [INFO] checking sequoia-keystore-openpgp-card-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate sequoia-keystore-openpgp-card 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate sequoia-keystore-openpgp-card 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sequoia-keystore-openpgp-card 0.1.0 [INFO] finished tweaking crates.io crate sequoia-keystore-openpgp-card 0.1.0 [INFO] tweaked toml for crates.io crate sequoia-keystore-openpgp-card 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 273 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding bindgen v0.68.1 (latest: v0.70.1) [INFO] [stderr] Adding bit-set v0.5.3 (latest: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (latest: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.7) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding itertools v0.11.0 (latest: v0.13.0) [INFO] [stderr] Adding lalrpop v0.20.2 (latest: v0.21.0) [INFO] [stderr] Adding lalrpop-util v0.20.2 (latest: v0.21.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding phf_shared v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding term v0.7.0 (latest: v1.0.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d46c9b38843063a271fdda1e45082d054902741287dc1d2d0e21086686de687f [INFO] running `Command { std: "docker" "start" "-a" "d46c9b38843063a271fdda1e45082d054902741287dc1d2d0e21086686de687f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d46c9b38843063a271fdda1e45082d054902741287dc1d2d0e21086686de687f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46c9b38843063a271fdda1e45082d054902741287dc1d2d0e21086686de687f", kill_on_drop: false }` [INFO] [stdout] d46c9b38843063a271fdda1e45082d054902741287dc1d2d0e21086686de687f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b4bbf42585ccc589848d1738efb28725e93d97cc22990741d71d1c5f3987170 [INFO] running `Command { std: "docker" "start" "-a" "4b4bbf42585ccc589848d1738efb28725e93d97cc22990741d71d1c5f3987170", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling sha1collisiondetection v0.3.4 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling pcsc-sys v1.2.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling sequoia-keystore-backend v0.6.0 [INFO] [stderr] Checking memsec v0.7.0 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking iso7816-tlv v0.4.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking pcsc v2.8.2 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking hex-slice v0.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking buffered-reader v1.3.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking generic-array v1.1.0 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking card-backend v0.2.0 [INFO] [stderr] Checking openpgp-cert-d v0.3.2 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking card-backend-pcsc v0.5.0 [INFO] [stderr] Checking openpgp-card v0.5.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling nettle-sys v2.3.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna v1.0.2 [INFO] [stderr] Compiling sequoia-openpgp v1.21.2 [INFO] [stderr] Checking nettle v7.4.0 [INFO] [stderr] Checking sequoia-keystore-openpgp-card v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `home` is never read [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct BackendInternal { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 51 | home: Directory, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct DeviceInternal { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fingerprint` is never read [INFO] [stdout] --> src/lib.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | struct KeyInternal { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | fingerprint: Fingerprint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open` and `certd` are never used [INFO] [stdout] --> src/certd.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl CertD { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn open

(path: P) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn certd(&self) -> &cert_d::CertD { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 479 | async fn import<'a>(&self, _cert: Cert) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 482 | / { [INFO] [stdout] 483 | | log::trace!("Backend::import"); [INFO] [stdout] 484 | | [INFO] [stdout] 485 | | Err(Error::ExternalImportRequired(Some( [INFO] [stdout] 486 | | "To import a key into an OpenPGP Card, use something like: \ [INFO] [stdout] 487 | | oct admin --card ABCD:01234567 import key.priv".into())).into()) [INFO] [stdout] 488 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/certd.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn open

(path: P) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Ok(CertD { [INFO] [stdout] | ____________^ [INFO] [stdout] 47 | | certd: cert_d::CertD::with_base_dir(path.as_ref())?, [INFO] [stdout] 48 | | cache: Mutex::new(CertDCache { [INFO] [stdout] 49 | | certd_tag: None, [INFO] [stdout] 50 | | keys: HashMap::default(), [INFO] [stdout] 51 | | }), [INFO] [stdout] 52 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/certd.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 112 | let cache = self.cache.lock().await; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | let (sender, receiver) = futures::channel::oneshot::channel::<_>(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | sender.send(self.rescan(cache)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/privkey.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 40 | let public = vka.parts_as_public().mpis().clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | key: vka.key().clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/privkey.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 55 | let key = match &self.password { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let secret_key_material = unenc.map(|mpis| mpis.clone()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | [INFO] [stdout] 74 | match (self.public.clone(), secret_key_material) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/privkey.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 140 | e: MPI, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | d: ProtectedMPI, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | n: MPI, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | p: ProtectedMPI, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | q: ProtectedMPI, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | ) -> Result { [INFO] [stdout] 146 | let key = rsa::RsaPrivateKey::from_components( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | let pq = key [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let dp1 = key [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let dq1 = key [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | e, [INFO] [stdout] 176 | | n, [INFO] [stdout] 177 | | p, [INFO] [stdout] ... | [INFO] [stdout] 181 | | dq1, [INFO] [stdout] 182 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sequoia-keystore-openpgp-card` (lib) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `home` is never read [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct BackendInternal { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 51 | home: Directory, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct DeviceInternal { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fingerprint` is never read [INFO] [stdout] --> src/lib.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | struct KeyInternal { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | fingerprint: Fingerprint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `open` is never used [INFO] [stdout] --> src/certd.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl CertD { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn open

(path: P) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 479 | async fn import<'a>(&self, _cert: Cert) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 482 | / { [INFO] [stdout] 483 | | log::trace!("Backend::import"); [INFO] [stdout] 484 | | [INFO] [stdout] 485 | | Err(Error::ExternalImportRequired(Some( [INFO] [stdout] 486 | | "To import a key into an OpenPGP Card, use something like: \ [INFO] [stdout] 487 | | oct admin --card ABCD:01234567 import key.priv".into())).into()) [INFO] [stdout] 488 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/certd.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn open

(path: P) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Ok(CertD { [INFO] [stdout] | ____________^ [INFO] [stdout] 47 | | certd: cert_d::CertD::with_base_dir(path.as_ref())?, [INFO] [stdout] 48 | | cache: Mutex::new(CertDCache { [INFO] [stdout] 49 | | certd_tag: None, [INFO] [stdout] 50 | | keys: HashMap::default(), [INFO] [stdout] 51 | | }), [INFO] [stdout] 52 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/certd.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 112 | let cache = self.cache.lock().await; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | let (sender, receiver) = futures::channel::oneshot::channel::<_>(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | sender.send(self.rescan(cache)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/privkey.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 40 | let public = vka.parts_as_public().mpis().clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | key: vka.key().clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/privkey.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 55 | let key = match &self.password { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let secret_key_material = unenc.map(|mpis| mpis.clone()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | [INFO] [stdout] 74 | match (self.public.clone(), secret_key_material) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/privkey.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 140 | e: MPI, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | d: ProtectedMPI, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | n: MPI, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | p: ProtectedMPI, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | q: ProtectedMPI, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | ) -> Result { [INFO] [stdout] 146 | let key = rsa::RsaPrivateKey::from_components( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | let pq = key [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let dp1 = key [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let dq1 = key [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | e, [INFO] [stdout] 176 | | n, [INFO] [stdout] 177 | | p, [INFO] [stdout] ... | [INFO] [stdout] 181 | | dq1, [INFO] [stdout] 182 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sequoia-keystore-openpgp-card` (lib test) due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4b4bbf42585ccc589848d1738efb28725e93d97cc22990741d71d1c5f3987170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b4bbf42585ccc589848d1738efb28725e93d97cc22990741d71d1c5f3987170", kill_on_drop: false }` [INFO] [stdout] 4b4bbf42585ccc589848d1738efb28725e93d97cc22990741d71d1c5f3987170