[INFO] fetching crate zero_pass_backend 0.3.2... [INFO] checking zero_pass_backend-0.3.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate zero_pass_backend 0.3.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate zero_pass_backend 0.3.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zero_pass_backend 0.3.2 [INFO] finished tweaking crates.io crate zero_pass_backend 0.3.2 [INFO] tweaked toml for crates.io crate zero_pass_backend 0.3.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8a901973f4511a4c3f04e65d6c84ebe4f078bda83091980d812f720826ea84d [INFO] running `Command { std: "docker" "start" "-a" "a8a901973f4511a4c3f04e65d6c84ebe4f078bda83091980d812f720826ea84d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8a901973f4511a4c3f04e65d6c84ebe4f078bda83091980d812f720826ea84d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a901973f4511a4c3f04e65d6c84ebe4f078bda83091980d812f720826ea84d", kill_on_drop: false }` [INFO] [stdout] a8a901973f4511a4c3f04e65d6c84ebe4f078bda83091980d812f720826ea84d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41fbe2f31614c21246ce72b5fcffde7a3624f3a2c7edb0e29c082b09b4b9341a [INFO] running `Command { std: "docker" "start" "-a" "41fbe2f31614c21246ce72b5fcffde7a3624f3a2c7edb0e29c082b09b4b9341a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling zero_pass_backend_derive v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking zero_pass_backend v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `featue` [INFO] [stdout] --> src/encrypt/base64.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(featue = "serde", derive(serde::Serialize, serde::Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `featue` [INFO] [stdout] --> src/encrypt/vigenere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(featue = "serde", derive(serde::Serialize, serde::Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `featue` [INFO] [stdout] --> src/encrypt/xor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg_attr(featue = "serde", derive(serde::Deserialize, serde::Serialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/mod.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn unique(self, word: impl Into) -> PasswordBuilder { [INFO] [stdout] | ---- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | PasswordBuilder { [INFO] [stdout] 63 | unique: Unique(Arc::from(word.into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/mod.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn variable(self, word: impl Into) -> PasswordBuilder { [INFO] [stdout] | ---- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | variable: Variable(Arc::from(word.into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/base64.rs:26:76 [INFO] [stdout] | [INFO] [stdout] 26 | async fn encrypt(&self, uw: Arc, _vw: Arc) -> Result { [INFO] [stdout] | _____________________________------------__-------------____________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | | use base64::{engine::general_purpose, Engine as _}; [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | let encoded: String = general_purpose::STANDARD.encode(uw.as_bytes()); [INFO] [stdout] 30 | | [INFO] [stdout] 31 | | Ok(encoded) [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/vigenere.rs:28:75 [INFO] [stdout] | [INFO] [stdout] 28 | async fn encrypt(&self, uw: Arc, vw: Arc) -> Result { [INFO] [stdout] | _____________________________------------__------------____________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | | // Getting the unique variable pass [INFO] [stdout] 30 | | let unique = uw.to_lowercase(); [INFO] [stdout] 31 | | let variable = vw.to_lowercase(); [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(new_pass) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/xor.rs:28:75 [INFO] [stdout] | [INFO] [stdout] 28 | async fn encrypt(&self, uw: Arc, vw: Arc) -> Result { [INFO] [stdout] | _____________________________------------__------------____________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | | let mut binary_vw_word = String::new(); [INFO] [stdout] 30 | | let mut binary_uw_word = String::new(); [INFO] [stdout] 31 | | let mut new_pass = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 75 | | Ok(new_pass) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zero_pass_backend` (lib) due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "41fbe2f31614c21246ce72b5fcffde7a3624f3a2c7edb0e29c082b09b4b9341a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41fbe2f31614c21246ce72b5fcffde7a3624f3a2c7edb0e29c082b09b4b9341a", kill_on_drop: false }` [INFO] [stdout] 41fbe2f31614c21246ce72b5fcffde7a3624f3a2c7edb0e29c082b09b4b9341a