[INFO] cloning repository https://github.com/mikeweber/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikeweber/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeweber%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeweber%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8a077300fb8773f2716b74c8cb7b01fb177ae47 [INFO] checking mikeweber/adventofcode2020 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeweber%2Fadventofcode2020" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikeweber/adventofcode2020 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/mikeweber/adventofcode2020 [INFO] finished tweaking git repo https://github.com/mikeweber/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/mikeweber/adventofcode2020 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mikeweber/adventofcode2020 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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4c88455d263d3685c5b02b93b3a2b14c8f9cade78b18ac0af260803d937be28c [INFO] running `Command { std: "docker" "start" "-a" "4c88455d263d3685c5b02b93b3a2b14c8f9cade78b18ac0af260803d937be28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c88455d263d3685c5b02b93b3a2b14c8f9cade78b18ac0af260803d937be28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c88455d263d3685c5b02b93b3a2b14c8f9cade78b18ac0af260803d937be28c", kill_on_drop: false }` [INFO] [stdout] 4c88455d263d3685c5b02b93b3a2b14c8f9cade78b18ac0af260803d937be28c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e2f165d77a6e99e18a03dd1a71e9a87b44794dbed5bb47fd3c54c7ac98267af2 [INFO] running `Command { std: "docker" "start" "-a" "e2f165d77a6e99e18a03dd1a71e9a87b44794dbed5bb47fd3c54c7ac98267af2", kill_on_drop: false }` [INFO] [stderr] Checking advent2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/ex05/mod.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | fn find_missing_seat(tickets: &Vec, min: u16, max: u16) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/ex05/mod.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | fn find_missing_seat(tickets: &Vec, min: u16, max: u16) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/ex06/mod.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | group.fold(0, |count, (ch, answer_size)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/ex03/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl TreeMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get(&self, row_index: usize, col_index: usize) -> Marker { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/ex05/mod.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | fn find_missing_seat(tickets: &Vec, min: u16, max: u16) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/ex05/mod.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | fn find_missing_seat(tickets: &Vec, min: u16, max: u16) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/ex06/mod.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | group.fold(0, |count, (ch, answer_size)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_part_a` is never used [INFO] [stdout] --> src/ex05/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn test_part_a() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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.21s [INFO] running `Command { std: "docker" "inspect" "e2f165d77a6e99e18a03dd1a71e9a87b44794dbed5bb47fd3c54c7ac98267af2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2f165d77a6e99e18a03dd1a71e9a87b44794dbed5bb47fd3c54c7ac98267af2", kill_on_drop: false }` [INFO] [stdout] e2f165d77a6e99e18a03dd1a71e9a87b44794dbed5bb47fd3c54c7ac98267af2 [INFO] checking mikeweber/adventofcode2020 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%2Fmikeweber%2Fadventofcode2020" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikeweber/adventofcode2020 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/mikeweber/adventofcode2020 [INFO] finished tweaking git repo https://github.com/mikeweber/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/mikeweber/adventofcode2020 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mikeweber/adventofcode2020 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] df52f0157f390d1261b47816f57308f897d827b7f8006252f5eaca19e76130a1 [INFO] running `Command { std: "docker" "start" "-a" "df52f0157f390d1261b47816f57308f897d827b7f8006252f5eaca19e76130a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df52f0157f390d1261b47816f57308f897d827b7f8006252f5eaca19e76130a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df52f0157f390d1261b47816f57308f897d827b7f8006252f5eaca19e76130a1", kill_on_drop: false }` [INFO] [stdout] df52f0157f390d1261b47816f57308f897d827b7f8006252f5eaca19e76130a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6c0c7fecc3375e184d646cb36e63a016de28d0065373e210f330b65277a6e93f [INFO] running `Command { std: "docker" "start" "-a" "6c0c7fecc3375e184d646cb36e63a016de28d0065373e210f330b65277a6e93f", kill_on_drop: false }` [INFO] [stderr] Checking advent2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/ex05/mod.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | fn find_missing_seat(tickets: &Vec, min: u16, max: u16) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/ex05/mod.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | fn find_missing_seat(tickets: &Vec, min: u16, max: u16) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/ex06/mod.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | group.fold(0, |count, (ch, answer_size)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/ex03/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl TreeMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get(&self, row_index: usize, col_index: usize) -> Marker { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/utils/read_lines.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | where P: AsRef, { [INFO] [stdout] 7 | let file = File::open(filename).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Ok(io::BufReader::new(file).lines()) [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2020` (bin "advent2020") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/ex05/mod.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | fn find_missing_seat(tickets: &Vec, min: u16, max: u16) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/ex05/mod.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | fn find_missing_seat(tickets: &Vec, min: u16, max: u16) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/ex06/mod.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | group.fold(0, |count, (ch, answer_size)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_part_a` is never used [INFO] [stdout] --> src/ex05/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn test_part_a() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/utils/read_lines.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | where P: AsRef, { [INFO] [stdout] 7 | let file = File::open(filename).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Ok(io::BufReader::new(file).lines()) [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2020` (bin "advent2020" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6c0c7fecc3375e184d646cb36e63a016de28d0065373e210f330b65277a6e93f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c0c7fecc3375e184d646cb36e63a016de28d0065373e210f330b65277a6e93f", kill_on_drop: false }` [INFO] [stdout] 6c0c7fecc3375e184d646cb36e63a016de28d0065373e210f330b65277a6e93f