[INFO] cloning repository https://github.com/jakyle/rust-algos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakyle/rust-algos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakyle%2Frust-algos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakyle%2Frust-algos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a116745ec5efb4a2aa4edf0bc11ee1963173f076 [INFO] checking jakyle/rust-algos against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakyle%2Frust-algos" "/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/jakyle/rust-algos 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/jakyle/rust-algos [INFO] finished tweaking git repo https://github.com/jakyle/rust-algos [INFO] tweaked toml for git repo https://github.com/jakyle/rust-algos written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jakyle/rust-algos 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] abacedf285eaa6743fcabebf84f5ddf2890dd815d6a36ddd31eacce305fbe8ef [INFO] running `Command { std: "docker" "start" "-a" "abacedf285eaa6743fcabebf84f5ddf2890dd815d6a36ddd31eacce305fbe8ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abacedf285eaa6743fcabebf84f5ddf2890dd815d6a36ddd31eacce305fbe8ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abacedf285eaa6743fcabebf84f5ddf2890dd815d6a36ddd31eacce305fbe8ef", kill_on_drop: false }` [INFO] [stdout] abacedf285eaa6743fcabebf84f5ddf2890dd815d6a36ddd31eacce305fbe8ef [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] 3f4f8f26e65d402a21b31141ccc86cc5e01a59c4bf84fede1d600bbcf52c5346 [INFO] running `Command { std: "docker" "start" "-a" "3f4f8f26e65d402a21b31141ccc86cc5e01a59c4bf84fede1d600bbcf52c5346", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rust_algos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `count_points` is never used [INFO] [stdout] --> src/count_points.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn count_points(points: Vec>, queries: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/merge_two_lists.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | #[inline] [INFO] [stdout] 9 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParkingSystem` is never constructed [INFO] [stdout] --> src/parking_system.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct ParkingSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_car` are never used [INFO] [stdout] --> src/parking_system.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ParkingSystem { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | fn new(big: i32, medium: i32, small: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_car(mut self, car_type: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `matrix` are never read [INFO] [stdout] --> src/sub_rectangle_queries.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SubRectangleQueries { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 2 | width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | matrix: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update_subrectangle`, `get_value`, and `xy_idx` are never used [INFO] [stdout] --> src/sub_rectangle_queries.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl SubRectangleQueries { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 7 | fn new(rectangle: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn update_subrectangle(&mut self, row1: i32, col1: i32, row2: i32, col2: i32, new_value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn get_value(&self, row: i32, col: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn xy_idx(&self, x: i32, y: i32) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_points` is never used [INFO] [stdout] --> src/count_points.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn count_points(points: Vec>, queries: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/merge_two_lists.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | #[inline] [INFO] [stdout] 9 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_operations_test_one` is never used [INFO] [stdout] --> src/min_operations.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn min_operations_test_one() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParkingSystem` is never constructed [INFO] [stdout] --> src/parking_system.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct ParkingSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_car` are never used [INFO] [stdout] --> src/parking_system.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ParkingSystem { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | fn new(big: i32, medium: i32, small: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_car(mut self, car_type: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "3f4f8f26e65d402a21b31141ccc86cc5e01a59c4bf84fede1d600bbcf52c5346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f4f8f26e65d402a21b31141ccc86cc5e01a59c4bf84fede1d600bbcf52c5346", kill_on_drop: false }` [INFO] [stdout] 3f4f8f26e65d402a21b31141ccc86cc5e01a59c4bf84fede1d600bbcf52c5346 [INFO] checking jakyle/rust-algos 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%2Fjakyle%2Frust-algos" "/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/jakyle/rust-algos 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/jakyle/rust-algos [INFO] finished tweaking git repo https://github.com/jakyle/rust-algos [INFO] tweaked toml for git repo https://github.com/jakyle/rust-algos written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jakyle/rust-algos 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] b800719acba88d2631afd859d7acbc244d73b0f1c521f0672344d9d925c4134f [INFO] running `Command { std: "docker" "start" "-a" "b800719acba88d2631afd859d7acbc244d73b0f1c521f0672344d9d925c4134f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b800719acba88d2631afd859d7acbc244d73b0f1c521f0672344d9d925c4134f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b800719acba88d2631afd859d7acbc244d73b0f1c521f0672344d9d925c4134f", kill_on_drop: false }` [INFO] [stdout] b800719acba88d2631afd859d7acbc244d73b0f1c521f0672344d9d925c4134f [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] 7bda17f3df575dcbd623559a9adc41445ce54a2039a1d924e159a06c99b1d9e5 [INFO] running `Command { std: "docker" "start" "-a" "7bda17f3df575dcbd623559a9adc41445ce54a2039a1d924e159a06c99b1d9e5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rust_algos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `count_points` is never used [INFO] [stdout] --> src/count_points.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn count_points(points: Vec>, queries: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/merge_two_lists.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | #[inline] [INFO] [stdout] 9 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParkingSystem` is never constructed [INFO] [stdout] --> src/parking_system.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct ParkingSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_car` are never used [INFO] [stdout] --> src/parking_system.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ParkingSystem { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | fn new(big: i32, medium: i32, small: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_car(mut self, car_type: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `matrix` are never read [INFO] [stdout] --> src/sub_rectangle_queries.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SubRectangleQueries { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 2 | width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | matrix: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update_subrectangle`, `get_value`, and `xy_idx` are never used [INFO] [stdout] --> src/sub_rectangle_queries.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl SubRectangleQueries { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 7 | fn new(rectangle: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn update_subrectangle(&mut self, row1: i32, col1: i32, row2: i32, col2: i32, new_value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn get_value(&self, row: i32, col: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn xy_idx(&self, x: i32, y: i32) -> usize { [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/max_area_of_island.rs:32:69 [INFO] [stdout] | [INFO] [stdout] 32 | .filter(|&(x, y)| x < w && y < h && grid[x][y] == 1 && !vis.borrow()[x][y]) [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/oranges_rotting.rs:33:58 [INFO] [stdout] | [INFO] [stdout] 33 | .filter(|&(x, y)| x < width && y < height && grid.borrow()[x][y] == 1) [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/unique_occurrences.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 8 | let mut uniq = HashSet::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | occurances_map.values().all(move |x| uniq.insert(x)) [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_algos` (lib) due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `count_points` is never used [INFO] [stdout] --> src/count_points.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn count_points(points: Vec>, queries: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/merge_two_lists.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | #[inline] [INFO] [stdout] 9 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_operations_test_one` is never used [INFO] [stdout] --> src/min_operations.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn min_operations_test_one() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParkingSystem` is never constructed [INFO] [stdout] --> src/parking_system.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct ParkingSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_car` are never used [INFO] [stdout] --> src/parking_system.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ParkingSystem { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | fn new(big: i32, medium: i32, small: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_car(mut self, car_type: i32) -> bool { [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/max_area_of_island.rs:32:69 [INFO] [stdout] | [INFO] [stdout] 32 | .filter(|&(x, y)| x < w && y < h && grid[x][y] == 1 && !vis.borrow()[x][y]) [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/oranges_rotting.rs:33:58 [INFO] [stdout] | [INFO] [stdout] 33 | .filter(|&(x, y)| x < width && y < height && grid.borrow()[x][y] == 1) [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/unique_occurrences.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 8 | let mut uniq = HashSet::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | occurances_map.values().all(move |x| uniq.insert(x)) [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_algos` (lib test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7bda17f3df575dcbd623559a9adc41445ce54a2039a1d924e159a06c99b1d9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bda17f3df575dcbd623559a9adc41445ce54a2039a1d924e159a06c99b1d9e5", kill_on_drop: false }` [INFO] [stdout] 7bda17f3df575dcbd623559a9adc41445ce54a2039a1d924e159a06c99b1d9e5