[INFO] cloning repository https://github.com/DeluxeRaph/rustBalanceModule [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DeluxeRaph/rustBalanceModule" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeluxeRaph%2FrustBalanceModule", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeluxeRaph%2FrustBalanceModule'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 842eefe7c17b8f052bed44348e898d9fb082c94e [INFO] checking DeluxeRaph/rustBalanceModule against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeluxeRaph%2FrustBalanceModule" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DeluxeRaph/rustBalanceModule on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DeluxeRaph/rustBalanceModule [INFO] finished tweaking git repo https://github.com/DeluxeRaph/rustBalanceModule [INFO] tweaked toml for git repo https://github.com/DeluxeRaph/rustBalanceModule written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DeluxeRaph/rustBalanceModule 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 175796428ac7cf2827fee760815e4b407f4c38968bd358c7af06d6d34ca3f128 [INFO] running `Command { std: "docker" "start" "-a" "175796428ac7cf2827fee760815e4b407f4c38968bd358c7af06d6d34ca3f128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "175796428ac7cf2827fee760815e4b407f4c38968bd358c7af06d6d34ca3f128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "175796428ac7cf2827fee760815e4b407f4c38968bd358c7af06d6d34ca3f128", kill_on_drop: false }` [INFO] [stdout] 175796428ac7cf2827fee760815e4b407f4c38968bd358c7af06d6d34ca3f128 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aaeb8268b95e59cf25eb936363ec85a454542bfe929669ab928b6d8e7148940 [INFO] running `Command { std: "docker" "start" "-a" "0aaeb8268b95e59cf25eb936363ec85a454542bfe929669ab928b6d8e7148940", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking trait-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/step5.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/step5.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/step5.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/step5.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalancesModule` is never constructed [INFO] [stdout] --> src/step1.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BalancesModule { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_balance`, `balance`, and `transfer` are never used [INFO] [stdout] --> src/step1.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl BalancesModule { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn set_balance(&mut self, who: u32, amount: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn balance(&self, who: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn transfer(&mut self, from: u32, to: u32, amount: u32) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Account` is never used [INFO] [stdout] --> src/step2.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Account = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Balance` is never used [INFO] [stdout] --> src/step2.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Balance = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalancesModule` is never constructed [INFO] [stdout] --> src/step2.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BalancesModule { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_balance`, `balance`, and `transfer` are never used [INFO] [stdout] --> src/step2.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BalancesModule { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_balance(&mut self, who: Account, amount: Balance) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn balance(&self, who: Account) -> Balance { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn transfer( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.29s [INFO] running `Command { std: "docker" "inspect" "0aaeb8268b95e59cf25eb936363ec85a454542bfe929669ab928b6d8e7148940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aaeb8268b95e59cf25eb936363ec85a454542bfe929669ab928b6d8e7148940", kill_on_drop: false }` [INFO] [stdout] 0aaeb8268b95e59cf25eb936363ec85a454542bfe929669ab928b6d8e7148940 [INFO] checking DeluxeRaph/rustBalanceModule against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeluxeRaph%2FrustBalanceModule" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DeluxeRaph/rustBalanceModule on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DeluxeRaph/rustBalanceModule [INFO] finished tweaking git repo https://github.com/DeluxeRaph/rustBalanceModule [INFO] tweaked toml for git repo https://github.com/DeluxeRaph/rustBalanceModule written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DeluxeRaph/rustBalanceModule 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2bd7cc863f66c845b506c8d3b6eb0b76b50daecbe58f88f91276f8d23b3d426 [INFO] running `Command { std: "docker" "start" "-a" "e2bd7cc863f66c845b506c8d3b6eb0b76b50daecbe58f88f91276f8d23b3d426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2bd7cc863f66c845b506c8d3b6eb0b76b50daecbe58f88f91276f8d23b3d426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2bd7cc863f66c845b506c8d3b6eb0b76b50daecbe58f88f91276f8d23b3d426", kill_on_drop: false }` [INFO] [stdout] e2bd7cc863f66c845b506c8d3b6eb0b76b50daecbe58f88f91276f8d23b3d426 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b181033769ae1eedabbcb69be4d46ca4572639d93dc258697df9c12db21ac7e [INFO] running `Command { std: "docker" "start" "-a" "8b181033769ae1eedabbcb69be4d46ca4572639d93dc258697df9c12db21ac7e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking trait-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/step5.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/step5.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/step5.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/step5.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalancesModule` is never constructed [INFO] [stdout] --> src/step1.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BalancesModule { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_balance`, `balance`, and `transfer` are never used [INFO] [stdout] --> src/step1.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl BalancesModule { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn set_balance(&mut self, who: u32, amount: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn balance(&self, who: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn transfer(&mut self, from: u32, to: u32, amount: u32) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Account` is never used [INFO] [stdout] --> src/step2.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Account = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Balance` is never used [INFO] [stdout] --> src/step2.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Balance = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalancesModule` is never constructed [INFO] [stdout] --> src/step2.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BalancesModule { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_balance`, `balance`, and `transfer` are never used [INFO] [stdout] --> src/step2.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BalancesModule { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_balance(&mut self, who: Account, amount: Balance) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn balance(&self, who: Account) -> Balance { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn transfer( [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/step3.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_vote(&self, who: AccountId, index: VoteIndex) -> bool { [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] 23 | *self.votes.get(&(who, index)).unwrap_or(&false) [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/step4.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_vote(&self, who: AccountId, index: VoteIndex) -> bool { [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] 68 | *self.votes.get(&(who, index)).unwrap_or(&false) [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/step5.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_vote(&self, who: T::AccountId, index: T::VoteIndex) -> bool { [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] 68 | *self.votes.get(&(who, index)).unwrap_or(&false) [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 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trait-example` (bin "trait-example") due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/step3.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_vote(&self, who: AccountId, index: VoteIndex) -> bool { [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] 23 | *self.votes.get(&(who, index)).unwrap_or(&false) [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/step4.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_vote(&self, who: AccountId, index: VoteIndex) -> bool { [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] 68 | *self.votes.get(&(who, index)).unwrap_or(&false) [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/step5.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_vote(&self, who: T::AccountId, index: T::VoteIndex) -> bool { [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] 68 | *self.votes.get(&(who, index)).unwrap_or(&false) [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trait-example` (bin "trait-example" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b181033769ae1eedabbcb69be4d46ca4572639d93dc258697df9c12db21ac7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b181033769ae1eedabbcb69be4d46ca4572639d93dc258697df9c12db21ac7e", kill_on_drop: false }` [INFO] [stdout] 8b181033769ae1eedabbcb69be4d46ca4572639d93dc258697df9c12db21ac7e