[INFO] cloning repository https://github.com/MichaelCG8/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MichaelCG8/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelCG8%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelCG8%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5b72238ec0f1afda65f44a23ae776e4f8a05a1b [INFO] checking MichaelCG8/aoc2021 against try#35b6491ce6d2b388d0a5de1e59e2123604af807f for pr-136539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelCG8%2Faoc2021" "/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/MichaelCG8/aoc2021 on toolchain 35b6491ce6d2b388d0a5de1e59e2123604af807f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MichaelCG8/aoc2021 [INFO] finished tweaking git repo https://github.com/MichaelCG8/aoc2021 [INFO] tweaked toml for git repo https://github.com/MichaelCG8/aoc2021 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MichaelCG8/aoc2021 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" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbeecca1cfa426ae39240aa51a5e7378e142cffc96f1336132d261e34dec2d49 [INFO] running `Command { std: "docker" "start" "-a" "fbeecca1cfa426ae39240aa51a5e7378e142cffc96f1336132d261e34dec2d49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbeecca1cfa426ae39240aa51a5e7378e142cffc96f1336132d261e34dec2d49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbeecca1cfa426ae39240aa51a5e7378e142cffc96f1336132d261e34dec2d49", kill_on_drop: false }` [INFO] [stdout] fbeecca1cfa426ae39240aa51a5e7378e142cffc96f1336132d261e34dec2d49 [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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c54dfc8955fc1e27ac27304b4104bab414dfff86ba593c23aaa92569dd894434 [INFO] running `Command { std: "docker" "start" "-a" "c54dfc8955fc1e27ac27304b4104bab414dfff86ba593c23aaa92569dd894434", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/bin/18.rs:71:80 [INFO] [stdout] | [INFO] [stdout] 71 | fn iter_descendants<'a>(&'a self, tree: &'a Tree) -> Box + 'a> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/bin/18.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | None => ( [INFO] [stdout] | _____________________^ [INFO] [stdout] 95 | | 3 * tree.get(self.children[0]).unwrap().magnitude(tree) [INFO] [stdout] | |________________^ [INFO] [stdout] 96 | + 2 * tree.get(self.children[1]).unwrap().magnitude(tree) [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 ~ None => 3 * tree.get(self.children[0]).unwrap().magnitude(tree) [INFO] [stdout] 95 ~ + 2 * tree.get(self.children[1]).unwrap().magnitude(tree) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `op` in this scope [INFO] [stdout] --> src/bin/22.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | if op == "on" { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `op` in this scope [INFO] [stdout] --> src/bin/22.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | if op == "on" { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>` [INFO] [stdout] --> src/bin/22.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut cuboids = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | if x_lo <= cuboid.x_hi [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cuboids` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 99 | let mut cuboids: Vec = Vec::new(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `x_hi` on type `&_` [INFO] [stdout] --> src/bin/22.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | if x_lo <= cuboid.x_hi [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reduce_helper` is never used [INFO] [stdout] --> src/bin/18.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | fn reduce_helper(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_part1` [INFO] [stdout] --> src/bin/19.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let start_part1 = time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_part1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>` [INFO] [stdout] --> src/bin/22.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut cuboids = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | if x_lo <= cuboid.x_hi [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cuboids` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 99 | let mut cuboids: Vec = Vec::new(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_part2` [INFO] [stdout] --> src/bin/22.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let start_part2 = time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_part2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `x_hi` on type `&_` [INFO] [stdout] --> src/bin/22.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | if x_lo <= cuboid.x_hi [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/bin/25.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(part1(DATA), ); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] note: while trying to match meta-variable `$right:expr` [INFO] [stdout] --> /rustc/35b6491ce6d2b388d0a5de1e59e2123604af807f/library/core/src/macros/mod.rs:43:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/25.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_part2` [INFO] [stdout] --> src/bin/22.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let start_part2 = time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_part2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_part2` [INFO] [stdout] --> src/bin/25.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let start_part2 = time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_part2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coords_to_diffs` is never used [INFO] [stdout] --> src/bin/19.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn coords_to_diffs(coords: &Vec, relative_to_idx: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: method `count_beacons` is never used [INFO] [stdout] --> src/bin/19.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | fn count_beacons(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/19.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn part1(data: &str) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (bin "22" test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc2021` (bin "22") due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: unused variable: `start_part1` [INFO] [stdout] --> src/bin/19.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let start_part1 = time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_part1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (bin "25" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: function `coords_to_diffs` is never used [INFO] [stdout] --> src/bin/19.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn coords_to_diffs(coords: &Vec, relative_to_idx: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c54dfc8955fc1e27ac27304b4104bab414dfff86ba593c23aaa92569dd894434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c54dfc8955fc1e27ac27304b4104bab414dfff86ba593c23aaa92569dd894434", kill_on_drop: false }` [INFO] [stdout] c54dfc8955fc1e27ac27304b4104bab414dfff86ba593c23aaa92569dd894434