[INFO] cloning repository https://github.com/bodagovsky/LFUcache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bodagovsky/LFUcache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbodagovsky%2FLFUcache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbodagovsky%2FLFUcache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c30840f7492a657be08f520ac7fa707dcecb6d72 [INFO] checking bodagovsky/LFUcache against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbodagovsky%2FLFUcache" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bodagovsky/LFUcache 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/bodagovsky/LFUcache [INFO] finished tweaking git repo https://github.com/bodagovsky/LFUcache [INFO] tweaked toml for git repo https://github.com/bodagovsky/LFUcache written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bodagovsky/LFUcache 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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ea80e28bb1b701060ef0f52473b0e655c245442fa19bc60b40f57add4873d834 [INFO] running `Command { std: "docker" "start" "-a" "ea80e28bb1b701060ef0f52473b0e655c245442fa19bc60b40f57add4873d834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea80e28bb1b701060ef0f52473b0e655c245442fa19bc60b40f57add4873d834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea80e28bb1b701060ef0f52473b0e655c245442fa19bc60b40f57add4873d834", kill_on_drop: false }` [INFO] [stdout] ea80e28bb1b701060ef0f52473b0e655c245442fa19bc60b40f57add4873d834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 19ed27ac82784d94c14943990efc549da25a3bd1545e1b5cf34f820dfb2ab835 [INFO] running `Command { std: "docker" "start" "-a" "19ed27ac82784d94c14943990efc549da25a3bd1545e1b5cf34f820dfb2ab835", kill_on_drop: false }` [INFO] [stderr] Checking lfu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: module `LFU` should have a snake case name [INFO] [stdout] --> src/cache.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod LFU { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `lfu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LFU` should have a snake case name [INFO] [stdout] --> src/cache.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod LFU { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `lfu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | write!(f, "length: {}\n", self.len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | write!(f, "capacity: {}\n", self.cap); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | write!(f, "length: {}\n", self.len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | / write!( [INFO] [stdout] 53 | | f, [INFO] [stdout] 54 | | "[ key: {}, value: {} ]", [INFO] [stdout] 55 | | ch.borrow().key, [INFO] [stdout] 56 | | ch.borrow().val [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | write!(f, "capacity: {}\n", self.cap); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | / write!( [INFO] [stdout] 53 | | f, [INFO] [stdout] 54 | | "[ key: {}, value: {} ]", [INFO] [stdout] 55 | | ch.borrow().key, [INFO] [stdout] 56 | | ch.borrow().val [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "19ed27ac82784d94c14943990efc549da25a3bd1545e1b5cf34f820dfb2ab835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19ed27ac82784d94c14943990efc549da25a3bd1545e1b5cf34f820dfb2ab835", kill_on_drop: false }` [INFO] [stdout] 19ed27ac82784d94c14943990efc549da25a3bd1545e1b5cf34f820dfb2ab835 [INFO] checking bodagovsky/LFUcache 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%2Fbodagovsky%2FLFUcache" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bodagovsky/LFUcache 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/bodagovsky/LFUcache [INFO] finished tweaking git repo https://github.com/bodagovsky/LFUcache [INFO] tweaked toml for git repo https://github.com/bodagovsky/LFUcache written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bodagovsky/LFUcache 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2aab8bd0ce86e61c77528bdd249329561f860a4c0a5ca6c0250046b1283039ab [INFO] running `Command { std: "docker" "start" "-a" "2aab8bd0ce86e61c77528bdd249329561f860a4c0a5ca6c0250046b1283039ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aab8bd0ce86e61c77528bdd249329561f860a4c0a5ca6c0250046b1283039ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aab8bd0ce86e61c77528bdd249329561f860a4c0a5ca6c0250046b1283039ab", kill_on_drop: false }` [INFO] [stdout] 2aab8bd0ce86e61c77528bdd249329561f860a4c0a5ca6c0250046b1283039ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7cbca84b84842d6e3b3532e270eb19873cef4530714e0f4d7476f3b7a10b425d [INFO] running `Command { std: "docker" "start" "-a" "7cbca84b84842d6e3b3532e270eb19873cef4530714e0f4d7476f3b7a10b425d", kill_on_drop: false }` [INFO] [stderr] Checking lfu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: module `LFU` should have a snake case name [INFO] [stdout] --> src/cache.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod LFU { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `lfu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LFU` should have a snake case name [INFO] [stdout] --> src/cache.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod LFU { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `lfu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | write!(f, "length: {}\n", self.len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | write!(f, "capacity: {}\n", self.cap); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | / write!( [INFO] [stdout] 53 | | f, [INFO] [stdout] 54 | | "[ key: {}, value: {} ]", [INFO] [stdout] 55 | | ch.borrow().key, [INFO] [stdout] 56 | | ch.borrow().val [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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/cache.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 99 | let freq = Rc::new(RefCell::new(Freq::new(1))); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let mut f: HashMap>> = HashMap::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | head: Some(freq.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/cache.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 99 | let freq = Rc::new(RefCell::new(Freq::new(1))); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let mut f: HashMap>> = HashMap::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | keys: HashMap::new(), [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 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | write!(f, "length: {}\n", self.len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | write!(f, "capacity: {}\n", self.cap); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cache.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | / write!( [INFO] [stdout] 53 | | f, [INFO] [stdout] 54 | | "[ key: {}, value: {} ]", [INFO] [stdout] 55 | | ch.borrow().key, [INFO] [stdout] 56 | | ch.borrow().val [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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/cache.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 99 | let freq = Rc::new(RefCell::new(Freq::new(1))); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let mut f: HashMap>> = HashMap::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | head: Some(freq.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/cache.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 99 | let freq = Rc::new(RefCell::new(Freq::new(1))); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let mut f: HashMap>> = HashMap::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | keys: HashMap::new(), [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 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lfu` (bin "lfu" test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lfu` (bin "lfu") due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7cbca84b84842d6e3b3532e270eb19873cef4530714e0f4d7476f3b7a10b425d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cbca84b84842d6e3b3532e270eb19873cef4530714e0f4d7476f3b7a10b425d", kill_on_drop: false }` [INFO] [stdout] 7cbca84b84842d6e3b3532e270eb19873cef4530714e0f4d7476f3b7a10b425d