[INFO] cloning repository https://github.com/oof2win2/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oof2win2/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foof2win2%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foof2win2%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfcbc8fbc3915711894040c83e8d6b1497d5fe72 [INFO] checking oof2win2/advent-of-code against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foof2win2%2Fadvent-of-code" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oof2win2/advent-of-code 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/oof2win2/advent-of-code [INFO] finished tweaking git repo https://github.com/oof2win2/advent-of-code [INFO] tweaked toml for git repo https://github.com/oof2win2/advent-of-code written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/oof2win2/advent-of-code 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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3b656514ad9882734b40d0bb5fd2b20c2b34ab1d1950bff0e5aee4567c4115d6 [INFO] running `Command { std: "docker" "start" "-a" "3b656514ad9882734b40d0bb5fd2b20c2b34ab1d1950bff0e5aee4567c4115d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b656514ad9882734b40d0bb5fd2b20c2b34ab1d1950bff0e5aee4567c4115d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b656514ad9882734b40d0bb5fd2b20c2b34ab1d1950bff0e5aee4567c4115d6", kill_on_drop: false }` [INFO] [stdout] 3b656514ad9882734b40d0bb5fd2b20c2b34ab1d1950bff0e5aee4567c4115d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 47b47d602d7720ad5747db246ec05510bb50f9363a1af35b919503fca08713e2 [INFO] running `Command { std: "docker" "start" "-a" "47b47d602d7720ad5747db246ec05510bb50f9363a1af35b919503fca08713e2", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `greaterThan` should have a snake case name [INFO] [stdout] --> src/day1/01.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let mut greaterThan = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `greater_than` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `greaterThan` should have a snake case name [INFO] [stdout] --> src/day1/01.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let mut greaterThan = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `greater_than` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `segmentSums` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | let mut segmentSums: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `segment_sums` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pastThree` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | let pastThree = sum([&input[i-2], &input[i-1], &input[i]]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `past_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `greaterThan` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let mut greaterThan = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `greater_than` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `segmentSums` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | let mut segmentSums: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `segment_sums` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pastThree` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | let pastThree = sum([&input[i-2], &input[i-1], &input[i]]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `past_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `greaterThan` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let mut greaterThan = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `greater_than` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] running `Command { std: "docker" "inspect" "47b47d602d7720ad5747db246ec05510bb50f9363a1af35b919503fca08713e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47b47d602d7720ad5747db246ec05510bb50f9363a1af35b919503fca08713e2", kill_on_drop: false }` [INFO] [stdout] 47b47d602d7720ad5747db246ec05510bb50f9363a1af35b919503fca08713e2 [INFO] checking oof2win2/advent-of-code 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%2Foof2win2%2Fadvent-of-code" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oof2win2/advent-of-code 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/oof2win2/advent-of-code [INFO] finished tweaking git repo https://github.com/oof2win2/advent-of-code [INFO] tweaked toml for git repo https://github.com/oof2win2/advent-of-code written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/oof2win2/advent-of-code 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-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91ca9a413d658f9906a8fc7addfc3a0b026e6225b08f14a5b0b1cb132d4a9d43 [INFO] running `Command { std: "docker" "start" "-a" "91ca9a413d658f9906a8fc7addfc3a0b026e6225b08f14a5b0b1cb132d4a9d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91ca9a413d658f9906a8fc7addfc3a0b026e6225b08f14a5b0b1cb132d4a9d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ca9a413d658f9906a8fc7addfc3a0b026e6225b08f14a5b0b1cb132d4a9d43", kill_on_drop: false }` [INFO] [stdout] 91ca9a413d658f9906a8fc7addfc3a0b026e6225b08f14a5b0b1cb132d4a9d43 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afa30a3e8bc400123745f0b23d8f5e351dc088061c61950f3f20586dd863d3b3 [INFO] running `Command { std: "docker" "start" "-a" "afa30a3e8bc400123745f0b23d8f5e351dc088061c61950f3f20586dd863d3b3", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [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/day1/01.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 6 | let file = File::open(file_name).expect("file not found!"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | [INFO] [stdout] 9 | reader.lines().map(|x| x.unwrap().parse::().unwrap()).collect() [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/day1/01.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 6 | let file = File::open(file_name).expect("file not found!"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | [INFO] [stdout] 9 | reader.lines().map(|x| x.unwrap().parse::().unwrap()).collect() [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] warning: variable `greaterThan` should have a snake case name [INFO] [stdout] --> src/day1/01.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let mut greaterThan = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `greater_than` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `greaterThan` should have a snake case name [INFO] [stdout] --> src/day1/01.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let mut greaterThan = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `greater_than` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [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/day2/01.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 6 | let file = File::open(file_name).expect("file not found!"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | [INFO] [stdout] 9 | reader.lines().map(|x| x.unwrap()).collect() [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/day1/02.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 6 | let file = File::open(file_name).expect("file not found!"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | [INFO] [stdout] 9 | reader.lines().map(|x| x.unwrap().parse::().unwrap()).collect() [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] warning: variable `segmentSums` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | let mut segmentSums: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `segment_sums` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pastThree` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | let pastThree = sum([&input[i-2], &input[i-1], &input[i]]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `past_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `greaterThan` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let mut greaterThan = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `greater_than` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "0101") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent-of-code` (bin "0101" test) due to 2 previous errors; 1 warning emitted [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/day2/01.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 6 | let file = File::open(file_name).expect("file not found!"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | [INFO] [stdout] 9 | reader.lines().map(|x| x.unwrap()).collect() [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] [stderr] error: could not compile `advent-of-code` (bin "0201" test) due to 2 previous errors [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/day1/02.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 6 | let file = File::open(file_name).expect("file not found!"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | [INFO] [stdout] 9 | reader.lines().map(|x| x.unwrap().parse::().unwrap()).collect() [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "0102" test) due to 2 previous errors; 3 warnings emitted [INFO] [stdout] warning: variable `segmentSums` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | let mut segmentSums: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `segment_sums` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pastThree` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | let pastThree = sum([&input[i-2], &input[i-1], &input[i]]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `past_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `greaterThan` should have a snake case name [INFO] [stdout] --> src/day1/02.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let mut greaterThan = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `greater_than` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "0201") due to 2 previous errors [INFO] [stderr] error: could not compile `advent-of-code` (bin "0102") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "afa30a3e8bc400123745f0b23d8f5e351dc088061c61950f3f20586dd863d3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afa30a3e8bc400123745f0b23d8f5e351dc088061c61950f3f20586dd863d3b3", kill_on_drop: false }` [INFO] [stdout] afa30a3e8bc400123745f0b23d8f5e351dc088061c61950f3f20586dd863d3b3