[INFO] fetching crate sett 0.3.0... [INFO] checking sett-0.3.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate sett 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate sett 0.3.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sett 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sett 0.3.0 [INFO] tweaked toml for crates.io crate sett 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate sett 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8672aaa8bf0b5c31f5c3729c961c63e82b9d8b184d793d67f122c3bee859eb9 [INFO] running `Command { std: "docker" "start" "-a" "a8672aaa8bf0b5c31f5c3729c961c63e82b9d8b184d793d67f122c3bee859eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8672aaa8bf0b5c31f5c3729c961c63e82b9d8b184d793d67f122c3bee859eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8672aaa8bf0b5c31f5c3729c961c63e82b9d8b184d793d67f122c3bee859eb9", kill_on_drop: false }` [INFO] [stdout] a8672aaa8bf0b5c31f5c3729c961c63e82b9d8b184d793d67f122c3bee859eb9 [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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea8436bbd2e0825c47becc5806125c3738d9252c6f73c64da95c1fc41e91c409 [INFO] running `Command { std: "docker" "start" "-a" "ea8436bbd2e0825c47becc5806125c3738d9252c6f73c64da95c1fc41e91c409", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling sha1collisiondetection v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking memsec v0.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling aws-types v1.3.3 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking capnp v0.19.7 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.1.19 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling sequoia-keystore-backend v0.6.0 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking generic-array v1.1.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking stfu8 v0.2.7 [INFO] [stderr] Compiling openssl-src v300.3.2+3.3.2 [INFO] [stderr] Checking aws-smithy-xml v0.60.9 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rustls-native-certs v0.8.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking gethostname v0.5.0 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking buffered-reader v1.3.1 [INFO] [stderr] Compiling capnpc v0.19.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling sequoia-keystore v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [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 icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [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 rustls-webpki v0.102.8 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking openpgp-cert-d v0.3.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking sequoia-directories v0.1.0 [INFO] [stderr] Compiling async-generic v1.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking lru v0.12.4 [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 serde v1.0.210 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking capnp-futures v0.19.1 [INFO] [stderr] Checking capnp-rpc v0.19.5 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking aws-smithy-async v1.2.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking aws-smithy-types v1.2.6 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking aws-smithy-runtime-api v1.7.2 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.5 [INFO] [stderr] Checking aws-smithy-json v0.60.7 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking idna v1.0.2 [INFO] [stderr] Compiling sequoia-openpgp v1.21.2 [INFO] [stderr] Compiling sequoia-ipc v0.35.1 [INFO] [stderr] Compiling sequoia-gpg-agent v0.4.2 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking aws-smithy-http v0.60.11 [INFO] [stderr] Checking aws-credential-types v1.2.1 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking aws-sigv4 v1.2.4 [INFO] [stderr] Checking aws-smithy-checksums v0.60.12 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-runtime v1.7.1 [INFO] [stderr] Checking aws-runtime v1.4.3 [INFO] [stderr] Checking aws-sdk-sts v1.42.0 [INFO] [stderr] Checking aws-sdk-s3 v1.49.0 [INFO] [stderr] Checking aws-config v1.5.6 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking ssh2 v0.9.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-proxy v0.9.1 [INFO] [stderr] Checking sequoia-cert-store v0.6.1 [INFO] [stderr] Checking sequoia-keystore-softkeys v0.6.0 [INFO] [stderr] Checking sequoia-keystore-gpg-agent v0.4.0 [INFO] [stderr] Checking sett v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `sett` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/decrypt.rs [INFO] [stderr] * src/io.rs [INFO] [stderr] * src/openpgp/cert.rs [INFO] [stderr] * src/openpgp/keystore.rs [INFO] [stderr] * src/package.rs [INFO] [stderr] * src/remote/s3.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/decrypt.rs:320:10 [INFO] [stderr] | [INFO] [stderr] 320 | ($buffer:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/io.rs:139:6 [INFO] [stderr] | [INFO] [stderr] 139 | ($self:expr_2021, $n_bytes:expr_2021, $buffer:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/io.rs:139:23 [INFO] [stderr] | [INFO] [stderr] 139 | ($self:expr_2021, $n_bytes:expr_2021, $buffer:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/io.rs:139:43 [INFO] [stderr] | [INFO] [stderr] 139 | ($self:expr_2021, $n_bytes:expr_2021, $buffer:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/decrypt.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | ($buffer:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 320 | ($buffer:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/openpgp/cert.rs:246:14 [INFO] [stderr] | [INFO] [stderr] 246 | ($fingerprint:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/openpgp/keystore.rs:75:14 [INFO] [stderr] | [INFO] [stderr] 75 | ($dir_path:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/io.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr, $n_bytes:expr, $buffer:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr_2021, $n_bytes:expr, $buffer:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/io.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr, $n_bytes:expr, $buffer:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr, $n_bytes:expr_2021, $buffer:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/io.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr, $n_bytes:expr, $buffer:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr, $n_bytes:expr, $buffer:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/package.rs:113:6 [INFO] [stderr] | [INFO] [stderr] 113 | ($package:expr_2021) => {{ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/openpgp/cert.rs:246:27 [INFO] [stdout] | [INFO] [stdout] 246 | ($fingerprint:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 246 | ($fingerprint:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/openpgp/keystore.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($dir_path:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($dir_path:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/package.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | ($package:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 113 | ($package:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/package.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | ($file:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 212 | ($file:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/remote/s3.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | ($size:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 216 | ($size:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/package.rs:212:14 [INFO] [stderr] | [INFO] [stderr] 212 | ($file:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/remote/s3.rs:216:14 [INFO] [stderr] | [INFO] [stderr] 216 | ($size:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/decrypt.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let status = if let Mode::Check = opts.mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/decrypt.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ let status = match opts.mode { Mode::Check => { [INFO] [stdout] 87 | Status::Checked { [INFO] [stdout] ... [INFO] [stdout] 90 | } [INFO] [stdout] 91 ~ } _ => { [INFO] [stdout] 92 | std::fs::create_dir_all(&output)?; [INFO] [stdout] ... [INFO] [stdout] 122| } [INFO] [stdout] 123~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/decrypt.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(mut pg) = opts.progress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/decrypt.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | } else if opts.decrypt_only { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 93 ~ match opts.progress { Some(mut pg) => { [INFO] [stdout] 94 | pg.set_length(data_size); [INFO] [stdout] ... [INFO] [stdout] 104 | pg.finish(); [INFO] [stdout] 105 ~ } _ => if opts.decrypt_only { [INFO] [stdout] 106 | write_to_file(&mut decryptor, &output)?; [INFO] [stdout] 107 | } else { [INFO] [stdout] 108 | unpack(&mut decryptor, &output, metadata.compression_algorithm)?; [INFO] [stdout] 109 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/decrypt.rs:236:15 [INFO] [stdout] | [INFO] [stdout] 236 | while let Ok(message) = rx_checksum.recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/decrypt.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/decrypt.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | while let Ok(message) = rx_write.recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/decrypt.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | while let Some(message) = result_rx.blocking_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | while let Some(message) = result_rx.blocking_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:491:11 [INFO] [stdout] | [INFO] [stdout] 491 | while let Some(chunk) = result_rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:522:11 [INFO] [stdout] | [INFO] [stdout] 522 | while let Some(chunk) = result_rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:552:11 [INFO] [stdout] | [INFO] [stdout] 552 | Ok(if let Mode::Check = opts.mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 552 ~ Ok(match opts.mode { Mode::Check => { [INFO] [stdout] 553 | Status::Checked { [INFO] [stdout] ... [INFO] [stdout] 556 | } [INFO] [stdout] 557 ~ } _ => { [INFO] [stdout] 558 | let output = tokio::fs::File::create(&output_path).await?; [INFO] [stdout] ... [INFO] [stdout] 584 | } [INFO] [stdout] 585 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:567:24 [INFO] [stdout] | [INFO] [stdout] 567 | if let Err(msg) = std::fs::remove_file(&output_path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:574:21 [INFO] [stdout] | [INFO] [stdout] 574 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 567 ~ match std::fs::remove_file(&output_path) { Err(msg) => { [INFO] [stdout] 568 | anyhow::anyhow!( [INFO] [stdout] ... [INFO] [stdout] 573 | ) [INFO] [stdout] 574 ~ } _ => { [INFO] [stdout] 575 | anyhow::anyhow!(err_msg) [INFO] [stdout] 576 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:596:11 [INFO] [stdout] | [INFO] [stdout] 596 | Ok(if let Mode::Check = opts.mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 601 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 596 ~ Ok(match opts.mode { Mode::Check => { [INFO] [stdout] 597 | Status::Checked { [INFO] [stdout] ... [INFO] [stdout] 600 | } [INFO] [stdout] 601 ~ } _ => { [INFO] [stdout] 602 | let (package_size, metadata) = [INFO] [stdout] ... [INFO] [stdout] 609 | } [INFO] [stdout] 610 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:687:20 [INFO] [stdout] | [INFO] [stdout] 687 | if let Err(msg) = upload_dir.delete() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:695:17 [INFO] [stdout] | [INFO] [stdout] 695 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 687 ~ match upload_dir.delete() { Err(msg) => { [INFO] [stdout] 688 | anyhow::anyhow!( [INFO] [stdout] ... [INFO] [stdout] 694 | ) [INFO] [stdout] 695 ~ } _ => { [INFO] [stdout] 696 | anyhow::anyhow!(err_msg) [INFO] [stdout] 697 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | if let Err(e) = writer.flush() { [INFO] [stdout] | ^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 284 ~ match writer.flush() { Err(e) => { [INFO] [stdout] 285 | self.sender [INFO] [stdout] ... [INFO] [stdout] 288 | return Err(e); [INFO] [stdout] 289 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/cert.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | while let sequoia_openpgp::parse::PacketParserResult::Some(pp) = ppr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/cert.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/cert.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let sequoia_openpgp::Packet::Signature(sig) = packet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/cert.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match packet { sequoia_openpgp::Packet::Signature(sig) => { [INFO] [stdout] 218 | if matches!( [INFO] [stdout] ... [INFO] [stdout] 225 | } [INFO] [stdout] 226 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/certstore.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | if let Ok(certs) = self.inner.lookup_by_cert_or_subkey(&key_handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/certstore.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 161 ~ match self.inner.lookup_by_cert_or_subkey(&key_handle) { Ok(certs) => { [INFO] [stdout] 162 | let cert: Cert = match certs.len() { [INFO] [stdout] ... [INFO] [stdout] 170 | Ok(cert) [INFO] [stdout] 171 ~ } _ => { [INFO] [stdout] 172 | return_not_found_error!() [INFO] [stdout] 173 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/certstore.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | if let Ok(fingerprint) = s.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/certstore.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | } else if is_valid_email(s) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 251 ~ match s.parse() { Ok(fingerprint) => { [INFO] [stdout] 252 | Ok(Self::Fingerprint(Cow::Owned(fingerprint))) [INFO] [stdout] 253 ~ } _ => if is_valid_email(s) { [INFO] [stdout] 254 | Ok(Self::Email(Cow::Owned(s.into()))) [INFO] [stdout] ... [INFO] [stdout] 258 | )) [INFO] [stdout] 259 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/crypto.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | if let Ok(()) = key [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 106 | || .unlock_async( [INFO] [stdout] 107 | || password(super::types::PasswordHint { [INFO] [stdout] 108 | || fingerprint: super::cert::Fingerprint(key.fingerprint()), [INFO] [stdout] ... || [INFO] [stdout] 114 | || ) [INFO] [stdout] 115 | || .await [INFO] [stdout] | ||__________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |__________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/crypto.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match key [INFO] [stdout] 106 | .unlock_async( [INFO] [stdout] ... [INFO] [stdout] 115 | .await [INFO] [stdout] 116 ~ { Ok(()) => { [INFO] [stdout] 117 | trace!("Unlocked key with the provided password"); [INFO] [stdout] 118 | return Ok(key); [INFO] [stdout] 119 ~ } _ => { [INFO] [stdout] 120 | let err_msg = format!( [INFO] [stdout] ... [INFO] [stdout] 125 | errors.push(err_msg); [INFO] [stdout] 126 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/crypto.rs:248:40 [INFO] [stdout] | [INFO] [stdout] 248 | ... if let Ok(()) = key.unlock( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 249 | || ... (self.password)(super::types::PasswordHint { [INFO] [stdout] 250 | || ... fingerprint: super::cert::Fingerprint( [INFO] [stdout] 251 | || ... key.fingerprint(), [INFO] [stdout] ... || [INFO] [stdout] 266 | || ... .clone(), [INFO] [stdout] 267 | || ... ) { [INFO] [stdout] | ||_______________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/crypto.rs:275:37 [INFO] [stdout] | [INFO] [stdout] 275 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 248 ~ match key.unlock( [INFO] [stdout] 249 | (self.password)(super::types::PasswordHint { [INFO] [stdout] ... [INFO] [stdout] 266 | .clone(), [INFO] [stdout] 267 ~ ) { Ok(()) => { [INFO] [stdout] 268 | let (sym_algo, sk) = [INFO] [stdout] ... [INFO] [stdout] 274 | } [INFO] [stdout] 275 ~ } _ => { [INFO] [stdout] 276 | let err_msg = format!( [INFO] [stdout] ... [INFO] [stdout] 281 | errors.push(err_msg); [INFO] [stdout] 282 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/package.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | if let Source::Local(path) = &self.zip.source { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/package.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 102 ~ match &self.zip.source { Source::Local(path) => { [INFO] [stdout] 103 | Ok(path) [INFO] [stdout] 104 ~ } _ => { [INFO] [stdout] 105 | Err(anyhow::anyhow!( [INFO] [stdout] 106 | "package path is not avialble for non-local sources" [INFO] [stdout] 107 | )) [INFO] [stdout] 108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | if let (Some(access_key), Some(secret_key)) = (&opts.access_key, &opts.secret_key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match (&opts.access_key, &opts.secret_key) { (Some(access_key), Some(secret_key)) => { [INFO] [stdout] 106 | CredentialsProviderChain::first_try( [INFO] [stdout] ... [INFO] [stdout] 130 | ) [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | CredentialsProviderChain::default_provider().await [INFO] [stdout] 133 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:233:15 [INFO] [stdout] | [INFO] [stdout] 233 | while let Some(chunk) = channel.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | if let Some(p) = &mut progress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 346 ~ match &mut progress { Some(p) => { [INFO] [stdout] 347 | p.inc(n as u64); [INFO] [stdout] 348 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if let Some(password) = &sftp_opts.key_password { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 194 ~ match &sftp_opts.key_password { Some(password) => { [INFO] [stdout] 195 | password.as_inner().map(|p| -> anyhow::Result<()> { [INFO] [stdout] ... [INFO] [stdout] 206 | })?; [INFO] [stdout] 207 ~ } _ => { [INFO] [stdout] 208 | session.userauth_pubkey_file( [INFO] [stdout] ... [INFO] [stdout] 213 | )?; [INFO] [stdout] 214 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(cb) = &sftp_opts.two_factor_callback { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 231 ~ match &sftp_opts.two_factor_callback { Some(cb) => { [INFO] [stdout] 232 | let mut prompt = Prompt { cb }; [INFO] [stdout] 233 | session.userauth_keyboard_interactive(sftp_opts.username.as_ref(), &mut prompt)?; [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | bail!("A second factor was requested but no two_factor_callback available"); [INFO] [stdout] 236 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | if let Some(mut p) = progress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 398 ~ match progress { Some(mut p) => { [INFO] [stdout] 399 | p.set_length(source_size); [INFO] [stdout] ... [INFO] [stdout] 405 | p.finish(); [INFO] [stdout] 406 ~ } _ => { [INFO] [stdout] 407 | io::copy(&mut reader, &mut fout)?; [INFO] [stdout] 408 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/zip/reader.rs:168:72 [INFO] [stdout] | [INFO] [stdout] 168 | let (number_of_records, central_directory_offset, zip_offset) = if let Some(zip64_end) = [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 169 | | spec::Zip64CentralDirectoryEndLocator::parse(reader).context("invalid zip archive")? [INFO] [stdout] | |_________-----------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/zip/reader.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 168 ~ let (number_of_records, central_directory_offset, zip_offset) = match spec::Zip64CentralDirectoryEndLocator::parse(reader).context("invalid zip archive")? [INFO] [stdout] 169 ~ { Some(zip64_end) => { [INFO] [stdout] 170 | reader.seek(io::SeekFrom::Start(with_buffer_offset( [INFO] [stdout] ... [INFO] [stdout] 184 | ) [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | reader.seek(io::SeekFrom::Start(with_buffer_offset( [INFO] [stdout] ... [INFO] [stdout] 194 | ) [INFO] [stdout] 195 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | while let Ok(()) = reader.read_exact(&mut buffer[3..4]) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:457:15 [INFO] [stdout] | [INFO] [stdout] 457 | while let Ok(()) = reader.read_exact(&mut buffer[3..4]) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:565:15 [INFO] [stdout] | [INFO] [stdout] 565 | while let Ok(()) = reader.read_exact(&mut buffer[3..4]) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/basic.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `sett` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/decrypt.rs [INFO] [stderr] * src/filesystem.rs [INFO] [stderr] * src/io.rs [INFO] [stderr] * src/openpgp/cert.rs [INFO] [stderr] * src/openpgp/certstore.rs [INFO] [stderr] * src/openpgp/keystore.rs [INFO] [stderr] * src/package.rs [INFO] [stderr] * src/remote/s3.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/decrypt.rs:320:10 [INFO] [stderr] | [INFO] [stderr] 320 | ($buffer:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/io.rs:139:6 [INFO] [stderr] | [INFO] [stderr] 139 | ($self:expr_2021, $n_bytes:expr_2021, $buffer:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/io.rs:139:23 [INFO] [stderr] | [INFO] [stderr] 139 | ($self:expr_2021, $n_bytes:expr_2021, $buffer:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/io.rs:139:43 [INFO] [stderr] | [INFO] [stderr] 139 | ($self:expr_2021, $n_bytes:expr_2021, $buffer:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/openpgp/cert.rs:246:14 [INFO] [stderr] | [INFO] [stderr] 246 | ($fingerprint:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/openpgp/keystore.rs:75:14 [INFO] [stderr] | [INFO] [stderr] 75 | ($dir_path:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/package.rs:113:6 [INFO] [stderr] | [INFO] [stderr] 113 | ($package:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/package.rs:212:14 [INFO] [stderr] | [INFO] [stderr] 212 | ($file:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/filesystem.rs:180:14 [INFO] [stderr] | [INFO] [stderr] 180 | ($path:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/openpgp/certstore.rs:331:14 [INFO] [stderr] | [INFO] [stderr] 331 | ($file_name:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/openpgp/certstore.rs:379:14 [INFO] [stderr] | [INFO] [stderr] 379 | ($fingerprint:expr_2021, $revocation_message:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/decrypt.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | ($buffer:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 320 | ($buffer:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/filesystem.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | ($path:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 180 | ($path:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/io.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr, $n_bytes:expr, $buffer:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr_2021, $n_bytes:expr, $buffer:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/io.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr, $n_bytes:expr, $buffer:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr, $n_bytes:expr_2021, $buffer:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/io.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr, $n_bytes:expr, $buffer:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 139 | ($self:expr, $n_bytes:expr, $buffer:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/openpgp/cert.rs:246:27 [INFO] [stdout] | [INFO] [stdout] 246 | ($fingerprint:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 246 | ($fingerprint:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/openpgp/certstore.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | ($file_name:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 330 | ($file_name:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/openpgp/certstore.rs:379:38 [INFO] [stderr] | [INFO] [stderr] 379 | ($fingerprint:expr_2021, $revocation_message:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/openpgp/certstore.rs:378:27 [INFO] [stdout] | [INFO] [stdout] 378 | ($fingerprint:expr, $revocation_message:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 378 | ($fingerprint:expr_2021, $revocation_message:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/openpgp/certstore.rs:378:53 [INFO] [stdout] | [INFO] [stdout] 378 | ($fingerprint:expr, $revocation_message:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 378 | ($fingerprint:expr, $revocation_message:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/openpgp/keystore.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($dir_path:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($dir_path:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/remote/s3.rs:216:14 [INFO] [stderr] | [INFO] [stderr] 216 | ($size:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/package.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | ($package:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 113 | ($package:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/package.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | ($file:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 212 | ($file:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/remote/s3.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | ($size:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 216 | ($size:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/openpgp/certstore.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | std::env::set_var(CertStore::ENV, tmp_dir.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 312 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 313 ~ unsafe { std::env::set_var(CertStore::ENV, tmp_dir.clone()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/openpgp/keystore.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | std::env::set_var("SETT_KEYSTORE", &location); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 260 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 261 ~ unsafe { std::env::set_var("SETT_KEYSTORE", &location) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/decrypt.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let status = if let Mode::Check = opts.mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/decrypt.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ let status = match opts.mode { Mode::Check => { [INFO] [stdout] 87 | Status::Checked { [INFO] [stdout] ... [INFO] [stdout] 90 | } [INFO] [stdout] 91 ~ } _ => { [INFO] [stdout] 92 | std::fs::create_dir_all(&output)?; [INFO] [stdout] ... [INFO] [stdout] 122| } [INFO] [stdout] 123~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/decrypt.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(mut pg) = opts.progress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/decrypt.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | } else if opts.decrypt_only { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 93 ~ match opts.progress { Some(mut pg) => { [INFO] [stdout] 94 | pg.set_length(data_size); [INFO] [stdout] ... [INFO] [stdout] 104 | pg.finish(); [INFO] [stdout] 105 ~ } _ => if opts.decrypt_only { [INFO] [stdout] 106 | write_to_file(&mut decryptor, &output)?; [INFO] [stdout] 107 | } else { [INFO] [stdout] 108 | unpack(&mut decryptor, &output, metadata.compression_algorithm)?; [INFO] [stdout] 109 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/decrypt.rs:236:15 [INFO] [stdout] | [INFO] [stdout] 236 | while let Ok(message) = rx_checksum.recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/decrypt.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/decrypt.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | while let Ok(message) = rx_write.recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/decrypt.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | while let Some(message) = result_rx.blocking_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | while let Some(message) = result_rx.blocking_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:491:11 [INFO] [stdout] | [INFO] [stdout] 491 | while let Some(chunk) = result_rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:522:11 [INFO] [stdout] | [INFO] [stdout] 522 | while let Some(chunk) = result_rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:552:11 [INFO] [stdout] | [INFO] [stdout] 552 | Ok(if let Mode::Check = opts.mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 552 ~ Ok(match opts.mode { Mode::Check => { [INFO] [stdout] 553 | Status::Checked { [INFO] [stdout] ... [INFO] [stdout] 556 | } [INFO] [stdout] 557 ~ } _ => { [INFO] [stdout] 558 | let output = tokio::fs::File::create(&output_path).await?; [INFO] [stdout] ... [INFO] [stdout] 584 | } [INFO] [stdout] 585 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:567:24 [INFO] [stdout] | [INFO] [stdout] 567 | if let Err(msg) = std::fs::remove_file(&output_path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:574:21 [INFO] [stdout] | [INFO] [stdout] 574 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 567 ~ match std::fs::remove_file(&output_path) { Err(msg) => { [INFO] [stdout] 568 | anyhow::anyhow!( [INFO] [stdout] ... [INFO] [stdout] 573 | ) [INFO] [stdout] 574 ~ } _ => { [INFO] [stdout] 575 | anyhow::anyhow!(err_msg) [INFO] [stdout] 576 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:596:11 [INFO] [stdout] | [INFO] [stdout] 596 | Ok(if let Mode::Check = opts.mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 601 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 596 ~ Ok(match opts.mode { Mode::Check => { [INFO] [stdout] 597 | Status::Checked { [INFO] [stdout] ... [INFO] [stdout] 600 | } [INFO] [stdout] 601 ~ } _ => { [INFO] [stdout] 602 | let (package_size, metadata) = [INFO] [stdout] ... [INFO] [stdout] 609 | } [INFO] [stdout] 610 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encrypt.rs:687:20 [INFO] [stdout] | [INFO] [stdout] 687 | if let Err(msg) = upload_dir.delete() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/encrypt.rs:695:17 [INFO] [stdout] | [INFO] [stdout] 695 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 687 ~ match upload_dir.delete() { Err(msg) => { [INFO] [stdout] 688 | anyhow::anyhow!( [INFO] [stdout] ... [INFO] [stdout] 694 | ) [INFO] [stdout] 695 ~ } _ => { [INFO] [stdout] 696 | anyhow::anyhow!(err_msg) [INFO] [stdout] 697 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | if let Err(e) = writer.flush() { [INFO] [stdout] | ^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 284 ~ match writer.flush() { Err(e) => { [INFO] [stdout] 285 | self.sender [INFO] [stdout] ... [INFO] [stdout] 288 | return Err(e); [INFO] [stdout] 289 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/cert.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | while let sequoia_openpgp::parse::PacketParserResult::Some(pp) = ppr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/cert.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/cert.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let sequoia_openpgp::Packet::Signature(sig) = packet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/cert.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match packet { sequoia_openpgp::Packet::Signature(sig) => { [INFO] [stdout] 218 | if matches!( [INFO] [stdout] ... [INFO] [stdout] 225 | } [INFO] [stdout] 226 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/certstore.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | if let Ok(certs) = self.inner.lookup_by_cert_or_subkey(&key_handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/certstore.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 161 ~ match self.inner.lookup_by_cert_or_subkey(&key_handle) { Ok(certs) => { [INFO] [stdout] 162 | let cert: Cert = match certs.len() { [INFO] [stdout] ... [INFO] [stdout] 170 | Ok(cert) [INFO] [stdout] 171 ~ } _ => { [INFO] [stdout] 172 | return_not_found_error!() [INFO] [stdout] 173 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/certstore.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | if let Ok(fingerprint) = s.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/certstore.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | } else if is_valid_email(s) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 251 ~ match s.parse() { Ok(fingerprint) => { [INFO] [stdout] 252 | Ok(Self::Fingerprint(Cow::Owned(fingerprint))) [INFO] [stdout] 253 ~ } _ => if is_valid_email(s) { [INFO] [stdout] 254 | Ok(Self::Email(Cow::Owned(s.into()))) [INFO] [stdout] ... [INFO] [stdout] 258 | )) [INFO] [stdout] 259 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/crypto.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | if let Ok(()) = key [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 106 | || .unlock_async( [INFO] [stdout] 107 | || password(super::types::PasswordHint { [INFO] [stdout] 108 | || fingerprint: super::cert::Fingerprint(key.fingerprint()), [INFO] [stdout] ... || [INFO] [stdout] 114 | || ) [INFO] [stdout] 115 | || .await [INFO] [stdout] | ||__________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |__________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/crypto.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match key [INFO] [stdout] 106 | .unlock_async( [INFO] [stdout] ... [INFO] [stdout] 115 | .await [INFO] [stdout] 116 ~ { Ok(()) => { [INFO] [stdout] 117 | trace!("Unlocked key with the provided password"); [INFO] [stdout] 118 | return Ok(key); [INFO] [stdout] 119 ~ } _ => { [INFO] [stdout] 120 | let err_msg = format!( [INFO] [stdout] ... [INFO] [stdout] 125 | errors.push(err_msg); [INFO] [stdout] 126 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/openpgp/crypto.rs:248:40 [INFO] [stdout] | [INFO] [stdout] 248 | ... if let Ok(()) = key.unlock( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 249 | || ... (self.password)(super::types::PasswordHint { [INFO] [stdout] 250 | || ... fingerprint: super::cert::Fingerprint( [INFO] [stdout] 251 | || ... key.fingerprint(), [INFO] [stdout] ... || [INFO] [stdout] 266 | || ... .clone(), [INFO] [stdout] 267 | || ... ) { [INFO] [stdout] | ||_______________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/openpgp/crypto.rs:275:37 [INFO] [stdout] | [INFO] [stdout] 275 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 248 ~ match key.unlock( [INFO] [stdout] 249 | (self.password)(super::types::PasswordHint { [INFO] [stdout] ... [INFO] [stdout] 266 | .clone(), [INFO] [stdout] 267 ~ ) { Ok(()) => { [INFO] [stdout] 268 | let (sym_algo, sk) = [INFO] [stdout] ... [INFO] [stdout] 274 | } [INFO] [stdout] 275 ~ } _ => { [INFO] [stdout] 276 | let err_msg = format!( [INFO] [stdout] ... [INFO] [stdout] 281 | errors.push(err_msg); [INFO] [stdout] 282 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/package.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | if let Source::Local(path) = &self.zip.source { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/package.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 102 ~ match &self.zip.source { Source::Local(path) => { [INFO] [stdout] 103 | Ok(path) [INFO] [stdout] 104 ~ } _ => { [INFO] [stdout] 105 | Err(anyhow::anyhow!( [INFO] [stdout] 106 | "package path is not avialble for non-local sources" [INFO] [stdout] 107 | )) [INFO] [stdout] 108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | if let (Some(access_key), Some(secret_key)) = (&opts.access_key, &opts.secret_key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match (&opts.access_key, &opts.secret_key) { (Some(access_key), Some(secret_key)) => { [INFO] [stdout] 106 | CredentialsProviderChain::first_try( [INFO] [stdout] ... [INFO] [stdout] 130 | ) [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | CredentialsProviderChain::default_provider().await [INFO] [stdout] 133 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:233:15 [INFO] [stdout] | [INFO] [stdout] 233 | while let Some(chunk) = channel.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | if let Some(p) = &mut progress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/s3.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 346 ~ match &mut progress { Some(p) => { [INFO] [stdout] 347 | p.inc(n as u64); [INFO] [stdout] 348 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if let Some(password) = &sftp_opts.key_password { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 194 ~ match &sftp_opts.key_password { Some(password) => { [INFO] [stdout] 195 | password.as_inner().map(|p| -> anyhow::Result<()> { [INFO] [stdout] ... [INFO] [stdout] 206 | })?; [INFO] [stdout] 207 ~ } _ => { [INFO] [stdout] 208 | session.userauth_pubkey_file( [INFO] [stdout] ... [INFO] [stdout] 213 | )?; [INFO] [stdout] 214 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(cb) = &sftp_opts.two_factor_callback { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 231 ~ match &sftp_opts.two_factor_callback { Some(cb) => { [INFO] [stdout] 232 | let mut prompt = Prompt { cb }; [INFO] [stdout] 233 | session.userauth_keyboard_interactive(sftp_opts.username.as_ref(), &mut prompt)?; [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | bail!("A second factor was requested but no two_factor_callback available"); [INFO] [stdout] 236 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | if let Some(mut p) = progress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/remote/sftp.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 398 ~ match progress { Some(mut p) => { [INFO] [stdout] 399 | p.set_length(source_size); [INFO] [stdout] ... [INFO] [stdout] 405 | p.finish(); [INFO] [stdout] 406 ~ } _ => { [INFO] [stdout] 407 | io::copy(&mut reader, &mut fout)?; [INFO] [stdout] 408 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/zip/reader.rs:168:72 [INFO] [stdout] | [INFO] [stdout] 168 | let (number_of_records, central_directory_offset, zip_offset) = if let Some(zip64_end) = [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 169 | | spec::Zip64CentralDirectoryEndLocator::parse(reader).context("invalid zip archive")? [INFO] [stdout] | |_________-----------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/zip/reader.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 168 ~ let (number_of_records, central_directory_offset, zip_offset) = match spec::Zip64CentralDirectoryEndLocator::parse(reader).context("invalid zip archive")? [INFO] [stdout] 169 ~ { Some(zip64_end) => { [INFO] [stdout] 170 | reader.seek(io::SeekFrom::Start(with_buffer_offset( [INFO] [stdout] ... [INFO] [stdout] 184 | ) [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | reader.seek(io::SeekFrom::Start(with_buffer_offset( [INFO] [stdout] ... [INFO] [stdout] 194 | ) [INFO] [stdout] 195 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | while let Ok(()) = reader.read_exact(&mut buffer[3..4]) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:457:15 [INFO] [stdout] | [INFO] [stdout] 457 | while let Ok(()) = reader.read_exact(&mut buffer[3..4]) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:565:15 [INFO] [stdout] | [INFO] [stdout] 565 | while let Ok(()) = reader.read_exact(&mut buffer[3..4]) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/zip/spec.rs:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/openpgp.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/portal.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking sett v0.3.0 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/openpgp/certstore.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | std::env::set_var(CertStore::ENV, tmp_dir.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/openpgp/keystore.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | std::env::set_var("SETT_KEYSTORE", &location); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sett` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ea8436bbd2e0825c47becc5806125c3738d9252c6f73c64da95c1fc41e91c409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea8436bbd2e0825c47becc5806125c3738d9252c6f73c64da95c1fc41e91c409", kill_on_drop: false }` [INFO] [stdout] ea8436bbd2e0825c47becc5806125c3738d9252c6f73c64da95c1fc41e91c409