[INFO] cloning repository https://github.com/kczimm/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/kczimm/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkczimm%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkczimm%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93f228e4796d0cd8a9e34911fd7c3b0dc2e380fa [INFO] checking kczimm/advent-of-code-2020 against try#2b43d8e161cfe46fae25518efb124c3c1d0fa392 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkczimm%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] started tweaking git repo https://github.com/kczimm/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/kczimm/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/kczimm/advent-of-code-2020 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kczimm/advent-of-code-2020 on toolchain 2b43d8e161cfe46fae25518efb124c3c1d0fa392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kczimm/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" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd475be95cbbfe089c5715583e4b3c33e95d478764a3bd6ebbe78c3aabc8bbb3 [INFO] running `Command { std: "docker" "start" "-a" "cd475be95cbbfe089c5715583e4b3c33e95d478764a3bd6ebbe78c3aabc8bbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd475be95cbbfe089c5715583e4b3c33e95d478764a3bd6ebbe78c3aabc8bbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd475be95cbbfe089c5715583e4b3c33e95d478764a3bd6ebbe78c3aabc8bbb3", kill_on_drop: false }` [INFO] [stdout] cd475be95cbbfe089c5715583e4b3c33e95d478764a3bd6ebbe78c3aabc8bbb3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e66824d6d370bd674b174f88f1a0be443b18c3ba3c8df22dd818323026d620ab [INFO] running `Command { std: "docker" "start" "-a" "e66824d6d370bd674b174f88f1a0be443b18c3ba3c8df22dd818323026d620ab", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `combos` is never used [INFO] [stdout] --> src/day10/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn combos(n: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combos` is never used [INFO] [stdout] --> src/day10/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn combos(n: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid_tickets` [INFO] [stdout] --> src/day16/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let valid_tickets = self [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_tickets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/day16/main.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl Ticket { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 59 | fn is_valid(&self, r: &Rule) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `part2` is never used [INFO] [stdout] --> src/day16/main.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'a> Notes<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn part2(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/day4/main.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn from_batch(batch: &'a str) -> Vec { [INFO] [stdout] | ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 193 | pub fn from_batch(batch: &'a str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_v2` is never used [INFO] [stdout] --> src/day14/main.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> BitMask<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | fn apply_v2(&self, value: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/day4/main.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn from_batch(batch: &'a str) -> Vec { [INFO] [stdout] | ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 193 | pub fn from_batch(batch: &'a str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coordinate` is never used [INFO] [stdout] --> src/day17/main.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type Coordinate = (isize, isize, isize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PocketDimension` is never constructed [INFO] [stdout] --> src/day17/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct PocketDimension { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `boot`, `active_cubes`, `cycle`, `num_active_neighbors`, and `get` are never used [INFO] [stdout] --> src/day17/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PocketDimension { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 20 | pub fn boot(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn active_cubes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn cycle(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn num_active_neighbors(&self, coordinate: Coordinate) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get(&self, coordinate: Coordinate) -> Cube { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOOT_CYCLES` is never used [INFO] [stdout] --> src/day17/main.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | const BOOT_CYCLES: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Cube` is never used [INFO] [stdout] --> src/day17/main.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 109 | enum Cube { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/day17/main.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Cube::from(' '); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = Cube::from(' '); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/day5/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Seat { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn from(line: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid_tickets` [INFO] [stdout] --> src/day16/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let valid_tickets = self [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_tickets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/day16/main.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl Ticket { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 59 | fn is_valid(&self, r: &Rule) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `part2` is never used [INFO] [stdout] --> src/day16/main.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'a> Notes<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn part2(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "e66824d6d370bd674b174f88f1a0be443b18c3ba3c8df22dd818323026d620ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e66824d6d370bd674b174f88f1a0be443b18c3ba3c8df22dd818323026d620ab", kill_on_drop: false }` [INFO] [stdout] e66824d6d370bd674b174f88f1a0be443b18c3ba3c8df22dd818323026d620ab