[INFO] cloning repository https://github.com/andogq/aoc_22 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andogq/aoc_22" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandogq%2Faoc_22", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandogq%2Faoc_22'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0d8da49fbe7add7220ccbdefa01d113f7068146 [INFO] building andogq/aoc_22 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandogq%2Faoc_22" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andogq/aoc_22 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andogq/aoc_22 [INFO] finished tweaking git repo https://github.com/andogq/aoc_22 [INFO] tweaked toml for git repo https://github.com/andogq/aoc_22 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andogq/aoc_22 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tqdm v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3ab076ca82bdba5a182bbf45ea7426913fb67689af10a44c1865e26a4e269a9 [INFO] running `Command { std: "docker" "start" "-a" "c3ab076ca82bdba5a182bbf45ea7426913fb67689af10a44c1865e26a4e269a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3ab076ca82bdba5a182bbf45ea7426913fb67689af10a44c1865e26a4e269a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ab076ca82bdba5a182bbf45ea7426913fb67689af10a44c1865e26a4e269a9", kill_on_drop: false }` [INFO] [stdout] c3ab076ca82bdba5a182bbf45ea7426913fb67689af10a44c1865e26a4e269a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00efb7cede94b07ed4df7fb508bf293c7274b03b76c8ce5adb59f8697497e15f [INFO] running `Command { std: "docker" "start" "-a" "00efb7cede94b07ed4df7fb508bf293c7274b03b76c8ce5adb59f8697497e15f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling tqdm v0.4.2 [INFO] [stderr] Compiling advent_of_code_22 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/problems/day_17.rs:282:27 [INFO] [stdout] | [INFO] [stdout] 282 | tower[(position.1 - 1 + y)].overlap(&row) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 282 - tower[(position.1 - 1 + y)].overlap(&row) [INFO] [stdout] 282 + tower[position.1 - 1 + y].overlap(&row) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/problems/day_16.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 255 | return 0; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 256 | [INFO] [stdout] 257 | / let start = input [INFO] [stdout] 258 | | .valves [INFO] [stdout] 259 | | .iter() [INFO] [stdout] 260 | | .find(|(_, v)| v.identifier == "AA") [INFO] [stdout] 261 | | .unwrap() [INFO] [stdout] 262 | | .0 [INFO] [stdout] 263 | | .to_owned(); [INFO] [stdout] | |________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/problems/day_16.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 269 | return 0; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 270 | [INFO] [stdout] 271 | / let start = input [INFO] [stdout] 272 | | .valves [INFO] [stdout] 273 | | .iter() [INFO] [stdout] 274 | | .find(|(_, v)| v.identifier == "AA") [INFO] [stdout] 275 | | .unwrap() [INFO] [stdout] 276 | | .0 [INFO] [stdout] 277 | | .to_owned(); [INFO] [stdout] | |________________________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/problems/day_16.rs:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | fn part_1(input: Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/problems/day_16.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | fn part_2(input: Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rocks` [INFO] [stdout] --> src/problems/day_17.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | fn part_2((rocks, jets): Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jets` [INFO] [stdout] --> src/problems/day_17.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | fn part_2((rocks, jets): Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_jets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_ROCKS_2` is never used [INFO] [stdout] --> src/problems/day_17.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NUM_ROCKS_2: usize = 1000000000000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `world_to_hashset` is never used [INFO] [stdout] --> src/problems/day_17.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn world_to_hashset(world: &[Row]) -> HashSet<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `derive`, `solve`, and `roots` are never used [INFO] [stdout] --> src/problems/day_21.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Polynomial { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn derive(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn solve(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn roots(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.22s [INFO] running `Command { std: "docker" "inspect" "00efb7cede94b07ed4df7fb508bf293c7274b03b76c8ce5adb59f8697497e15f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00efb7cede94b07ed4df7fb508bf293c7274b03b76c8ce5adb59f8697497e15f", kill_on_drop: false }` [INFO] [stdout] 00efb7cede94b07ed4df7fb508bf293c7274b03b76c8ce5adb59f8697497e15f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7a97a5017be9e5653b4e89e0dc5334291f1e1b52a7a976cc5879de83f1d55c6 [INFO] running `Command { std: "docker" "start" "-a" "f7a97a5017be9e5653b4e89e0dc5334291f1e1b52a7a976cc5879de83f1d55c6", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code_22 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/problems/day_17.rs:282:27 [INFO] [stdout] | [INFO] [stdout] 282 | tower[(position.1 - 1 + y)].overlap(&row) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 282 - tower[(position.1 - 1 + y)].overlap(&row) [INFO] [stdout] 282 + tower[position.1 - 1 + y].overlap(&row) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/problems/day_16.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 255 | return 0; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 256 | [INFO] [stdout] 257 | / let start = input [INFO] [stdout] 258 | | .valves [INFO] [stdout] 259 | | .iter() [INFO] [stdout] 260 | | .find(|(_, v)| v.identifier == "AA") [INFO] [stdout] 261 | | .unwrap() [INFO] [stdout] 262 | | .0 [INFO] [stdout] 263 | | .to_owned(); [INFO] [stdout] | |________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/problems/day_16.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 269 | return 0; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 270 | [INFO] [stdout] 271 | / let start = input [INFO] [stdout] 272 | | .valves [INFO] [stdout] 273 | | .iter() [INFO] [stdout] 274 | | .find(|(_, v)| v.identifier == "AA") [INFO] [stdout] 275 | | .unwrap() [INFO] [stdout] 276 | | .0 [INFO] [stdout] 277 | | .to_owned(); [INFO] [stdout] | |________________________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/problems/day_16.rs:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | fn part_1(input: Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/problems/day_16.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | fn part_2(input: Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rocks` [INFO] [stdout] --> src/problems/day_17.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | fn part_2((rocks, jets): Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jets` [INFO] [stdout] --> src/problems/day_17.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | fn part_2((rocks, jets): Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_jets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_ROCKS_2` is never used [INFO] [stdout] --> src/problems/day_17.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NUM_ROCKS_2: usize = 1000000000000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `world_to_hashset` is never used [INFO] [stdout] --> src/problems/day_17.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn world_to_hashset(world: &[Row]) -> HashSet<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `derive`, `solve`, and `roots` are never used [INFO] [stdout] --> src/problems/day_21.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Polynomial { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn derive(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn solve(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn roots(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "f7a97a5017be9e5653b4e89e0dc5334291f1e1b52a7a976cc5879de83f1d55c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7a97a5017be9e5653b4e89e0dc5334291f1e1b52a7a976cc5879de83f1d55c6", kill_on_drop: false }` [INFO] [stdout] f7a97a5017be9e5653b4e89e0dc5334291f1e1b52a7a976cc5879de83f1d55c6