[INFO] cloning repository https://github.com/bryanburgers/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bryanburgers/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbryanburgers%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbryanburgers%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d5c048065959190c1da5110ddbd46f3e1799e64 [INFO] checking bryanburgers/advent-of-code-2020 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbryanburgers%2Fadvent-of-code-2020" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bryanburgers/advent-of-code-2020 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bryanburgers/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/bryanburgers/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/bryanburgers/advent-of-code-2020 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bryanburgers/advent-of-code-2020 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa8b512520734da1054f85d18a378f08c78836bf4106bc5c26b7ffca27843450 [INFO] running `Command { std: "docker" "start" "-a" "aa8b512520734da1054f85d18a378f08c78836bf4106bc5c26b7ffca27843450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa8b512520734da1054f85d18a378f08c78836bf4106bc5c26b7ffca27843450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa8b512520734da1054f85d18a378f08c78836bf4106bc5c26b7ffca27843450", kill_on_drop: false }` [INFO] [stdout] aa8b512520734da1054f85d18a378f08c78836bf4106bc5c26b7ffca27843450 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d895931e1f83804ee277d3caf80c4eba76d73f5de0f667cc5c3bf032e3be387 [INFO] running `Command { std: "docker" "start" "-a" "9d895931e1f83804ee277d3caf80c4eba76d73f5de0f667cc5c3bf032e3be387", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking day-06 v0.1.0 (/opt/rustwide/workdir/day-06) [INFO] [stderr] Checking day-22 v0.1.0 (/opt/rustwide/workdir/day-22) [INFO] [stderr] Checking day-10 v0.1.0 (/opt/rustwide/workdir/day-10) [INFO] [stderr] Checking day-18 v0.1.0 (/opt/rustwide/workdir/day-18) [INFO] [stderr] Checking day-23 v0.1.0 (/opt/rustwide/workdir/day-23) [INFO] [stderr] Checking day-01 v0.1.0 (/opt/rustwide/workdir/day-01) [INFO] [stderr] Checking day-25 v0.1.0 (/opt/rustwide/workdir/day-25) [INFO] [stderr] Checking day-16 v0.1.0 (/opt/rustwide/workdir/day-16) [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stdout] warning: unused import: `std::convert::TryInto as _` [INFO] [stdout] --> day-23/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryInto as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day-14 v0.1.0 (/opt/rustwide/workdir/day-14) [INFO] [stdout] warning: unused import: `std::convert::TryInto as _` [INFO] [stdout] --> day-23/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryInto as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day-11 v0.1.0 (/opt/rustwide/workdir/day-11) [INFO] [stderr] Checking day-05 v0.1.0 (/opt/rustwide/workdir/day-05) [INFO] [stderr] Checking day-19 v0.1.0 (/opt/rustwide/workdir/day-19) [INFO] [stderr] Checking day-24 v0.1.0 (/opt/rustwide/workdir/day-24) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day-23/src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day-09 v0.1.0 (/opt/rustwide/workdir/day-09) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day-23/src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | for i in 0..10_000_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day-20 v0.1.0 (/opt/rustwide/workdir/day-20) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day-23/src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day-23/src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | for i in 0..10_000_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-23/src/main.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let mut destination_ptr = unsafe { self.pointer_for_value(destination.unwrap()) }; [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] [stderr] Checking day-13 v0.1.0 (/opt/rustwide/workdir/day-13) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-23/src/main.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let mut destination_ptr = unsafe { self.pointer_for_value(destination.unwrap()) }; [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: variable does not need to be mutable [INFO] [stdout] --> day-23/src/main.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let mut after = unsafe { after_ptr.as_mut().unwrap() }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-23/src/main.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let mut before = unsafe { before_ptr.as_mut().unwrap() }; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-23/src/main.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut slice_head = unsafe { slice_head_ptr.as_mut().unwrap() }; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-23/src/main.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let mut slice_tail = unsafe { slice_tail_ptr.as_mut().unwrap() }; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_one` is never used [INFO] [stdout] --> day-23/src/main.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn is_one(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `output` is never used [INFO] [stdout] --> day-23/src/main.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn output(&self, round: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day-07 v0.1.0 (/opt/rustwide/workdir/day-07) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-23/src/main.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let mut after = unsafe { after_ptr.as_mut().unwrap() }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-23/src/main.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let mut before = unsafe { before_ptr.as_mut().unwrap() }; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-23/src/main.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut slice_head = unsafe { slice_head_ptr.as_mut().unwrap() }; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-23/src/main.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let mut slice_tail = unsafe { slice_tail_ptr.as_mut().unwrap() }; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_one` is never used [INFO] [stdout] --> day-23/src/main.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn is_one(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `output` is never used [INFO] [stdout] --> day-23/src/main.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn output(&self, round: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day-12 v0.1.0 (/opt/rustwide/workdir/day-12) [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> day-07/src/main.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | all_seen.insert(input.outer.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> day-07/src/main.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | all_seen.insert(item.color.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> day-07/src/main.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | seen.push(item.color.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> day-07/src/main.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | contains.insert(input.outer.clone(), seen); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> day-07/src/main.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | contains.insert(input.outer.clone(), input.inner.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day-07` (bin "day-07") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9d895931e1f83804ee277d3caf80c4eba76d73f5de0f667cc5c3bf032e3be387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d895931e1f83804ee277d3caf80c4eba76d73f5de0f667cc5c3bf032e3be387", kill_on_drop: false }` [INFO] [stdout] 9d895931e1f83804ee277d3caf80c4eba76d73f5de0f667cc5c3bf032e3be387