[INFO] cloning repository https://github.com/Danmou/advent-of-code-2021-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Danmou/advent-of-code-2021-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanmou%2Fadvent-of-code-2021-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanmou%2Fadvent-of-code-2021-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 63ce1fbef1ad92a60baeb680303ca6411a79ab93
[INFO] checking Danmou/advent-of-code-2021-rust against try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanmou%2Fadvent-of-code-2021-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Danmou/advent-of-code-2021-rust on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Danmou/advent-of-code-2021-rust
[INFO] finished tweaking git repo https://github.com/Danmou/advent-of-code-2021-rust
[INFO] tweaked toml for git repo https://github.com/Danmou/advent-of-code-2021-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Danmou/advent-of-code-2021-rust 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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f2d08852c3e3e4d4e99ef183a31a98d9e82437f45c3d1e5f0ec19a188cb4e8d5
[INFO] running `Command { std: "docker" "start" "-a" "f2d08852c3e3e4d4e99ef183a31a98d9e82437f45c3d1e5f0ec19a188cb4e8d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2d08852c3e3e4d4e99ef183a31a98d9e82437f45c3d1e5f0ec19a188cb4e8d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2d08852c3e3e4d4e99ef183a31a98d9e82437f45c3d1e5f0ec19a188cb4e8d5", kill_on_drop: false }`
[INFO] [stdout] f2d08852c3e3e4d4e99ef183a31a98d9e82437f45c3d1e5f0ec19a188cb4e8d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a747c71a8acd9b3bd6f874547ae2eda21c4cdfb6b7e38cf8d96c3fea5a934e5e
[INFO] running `Command { std: "docker" "start" "-a" "a747c71a8acd9b3bd6f874547ae2eda21c4cdfb6b7e38cf8d96c3fea5a934e5e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.109
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling siphasher v0.3.7
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling hashbrown v0.6.3
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling rustversion v1.0.5
[INFO] [stderr]    Compiling radium v0.6.2
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking ahash v0.2.19
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking wyz v0.4.0
[INFO] [stderr]     Checking rand_isaac v0.2.0
[INFO] [stderr]     Checking fixedbitset v0.4.0
[INFO] [stderr]     Checking funty v1.2.0
[INFO] [stderr]     Checking graphlib v0.6.3
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking ndarray v0.15.4
[INFO] [stderr]     Checking strum v0.23.0
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]     Checking bitvec v0.22.3
[INFO] [stderr]     Checking pathfinding v3.0.5
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]    Compiling phf_macros v0.10.0
[INFO] [stderr]    Compiling strum_macros v0.23.1
[INFO] [stderr]     Checking phf v0.10.0
[INFO] [stderr]     Checking advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/bin/aoc14b/main.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     for (count) in char_counts.values_mut() {
[INFO] [stdout]    |         ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -     for (count) in char_counts.values_mut() {
[INFO] [stdout] 60 +     for count in char_counts.values_mut() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/aoc22b/main.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut region = match rest
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains`, `crop`, and `size` are never used
[INFO] [stdout]   --> src/bin/aoc22b/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T: Copy + Integer> Range<T> {
[INFO] [stdout]    | -------------------------------- methods in this implementation
[INFO] [stdout] 15 |     fn contains(&self, p: T) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn crop(&mut self, other: &Range<T>) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn size(&self) -> T {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains`, `crop`, and `size` are never used
[INFO] [stdout]   --> src/bin/aoc22b/main.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<T: Copy + Integer> Cuboid<T> {
[INFO] [stdout]    | --------------------------------- methods in this implementation
[INFO] [stdout] 38 |     fn contains(&self, (x, y, z): (T, T, T)) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn crop(&mut self, x: Range<T>, y: Range<T>, z: Range<T>) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn size(&self) -> T {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `best_position` is assigned to, but never used
[INFO] [stdout]   --> src/bin/aoc7b/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut best_position = -1;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_best_position` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `best_position` is never read
[INFO] [stdout]   --> src/bin/aoc7b/main.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             best_position = pos;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> src/bin/aoc5b/main.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl Map {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 91 |     fn print(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `up` should have an upper camel case name
[INFO] [stdout]  --> src/bin/aoc2b/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     up,
[INFO] [stdout]   |     ^^ help: convert the identifier to upper camel case (notice the capitalization): `Up`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `down` should have an upper camel case name
[INFO] [stdout]   --> src/bin/aoc2b/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     down,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case: `Down`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `forward` should have an upper camel case name
[INFO] [stdout]   --> src/bin/aoc2b/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     forward,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Forward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> src/bin/aoc5b/main.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl Map {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 91 |     fn print(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `deref_mut` found for reference `&Rc<RefCell<Pair>>` in the current scope
[INFO] [stdout]   --> src/bin/aoc18a/main.rs:88:52
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     c if c.is_digit(10) => current.deref_mut().set_val(c.to_string().parse().unwrap()),
[INFO] [stdout]    |                                                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `deref` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     c if c.is_digit(10) => current.deref().set_val(c.to_string().parse().unwrap()),
[INFO] [stdout]    |                                                    ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-code-2021` (bin "aoc18a") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/aoc22b/main.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut region = match rest
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains`, `crop`, and `size` are never used
[INFO] [stdout]   --> src/bin/aoc22b/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T: Copy + Integer> Range<T> {
[INFO] [stdout]    | -------------------------------- methods in this implementation
[INFO] [stdout] 15 |     fn contains(&self, p: T) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn crop(&mut self, other: &Range<T>) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn size(&self) -> T {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains`, `crop`, and `size` are never used
[INFO] [stdout]   --> src/bin/aoc22b/main.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<T: Copy + Integer> Cuboid<T> {
[INFO] [stdout]    | --------------------------------- methods in this implementation
[INFO] [stdout] 38 |     fn contains(&self, (x, y, z): (T, T, T)) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn crop(&mut self, x: Range<T>, y: Range<T>, z: Range<T>) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn size(&self) -> T {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_image` is never used
[INFO] [stdout]   --> src/bin/aoc20b/main.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn print_image(image: &Image) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a747c71a8acd9b3bd6f874547ae2eda21c4cdfb6b7e38cf8d96c3fea5a934e5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a747c71a8acd9b3bd6f874547ae2eda21c4cdfb6b7e38cf8d96c3fea5a934e5e", kill_on_drop: false }`
[INFO] [stdout] a747c71a8acd9b3bd6f874547ae2eda21c4cdfb6b7e38cf8d96c3fea5a934e5e
