[INFO] cloning repository https://github.com/dmeklund/advent-of-code-2021-deklund [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmeklund/advent-of-code-2021-deklund" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmeklund%2Fadvent-of-code-2021-deklund", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmeklund%2Fadvent-of-code-2021-deklund'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a26e0f9d7b03885508c283f6298740ce3ac7c2d6 [INFO] checking dmeklund/advent-of-code-2021-deklund against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmeklund%2Fadvent-of-code-2021-deklund" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dmeklund/advent-of-code-2021-deklund [INFO] finished tweaking git repo https://github.com/dmeklund/advent-of-code-2021-deklund [INFO] tweaked toml for git repo https://github.com/dmeklund/advent-of-code-2021-deklund written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dmeklund/advent-of-code-2021-deklund on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dmeklund/advent-of-code-2021-deklund 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c8c2cc8b3566609e8fb7c3fe9ad2d2e86a054c214e1a02ad10342ebae859a86 [INFO] running `Command { std: "docker" "start" "-a" "3c8c2cc8b3566609e8fb7c3fe9ad2d2e86a054c214e1a02ad10342ebae859a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c8c2cc8b3566609e8fb7c3fe9ad2d2e86a054c214e1a02ad10342ebae859a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c8c2cc8b3566609e8fb7c3fe9ad2d2e86a054c214e1a02ad10342ebae859a86", kill_on_drop: false }` [INFO] [stdout] 3c8c2cc8b3566609e8fb7c3fe9ad2d2e86a054c214e1a02ad10342ebae859a86 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc528a854045b838d05df22bce9898f94603a81592f8b2c73762151cec4c7770 [INFO] running `Command { std: "docker" "start" "-a" "bc528a854045b838d05df22bce9898f94603a81592f8b2c73762151cec4c7770", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking advent-of-code-2021-deklund v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NdIndex` [INFO] [stdout] --> src/bin/day9.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray::{Array2, NdIndex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `simulate_day` is never used [INFO] [stdout] --> src/bin/day6.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl LanternFish { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 9 | fn simulate_day(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `simulate_day` and `count` are never used [INFO] [stdout] --> src/bin/day6.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl LanternFishSet { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn simulate_day(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anum` [INFO] [stdout] --> src/bin/day9.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | sizes.sort_by(|&(anum, asize), &(bnum, bsize)| asize.cmp(&bsize)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_anum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bnum` [INFO] [stdout] --> src/bin/day9.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | sizes.sort_by(|&(anum, asize), &(bnum, bsize)| asize.cmp(&bsize)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `digit` [INFO] [stdout] --> src/bin/day8.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for (digit, segments) in &digitmap { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_digit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `digit` [INFO] [stdout] --> src/bin/day8.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for (digit, segments) in &digitmap { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_digit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mappings` [INFO] [stdout] --> src/bin/day8.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mappings = find_mapping(&display); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mappings` [INFO] [stdout] --> src/bin/day8.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mappings = find_mapping(&display); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `simulate_day` is never used [INFO] [stdout] --> src/bin/day6.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl LanternFish { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 9 | fn simulate_day(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `simulate_day` and `count` are never used [INFO] [stdout] --> src/bin/day6.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl LanternFishSet { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn simulate_day(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NdIndex` [INFO] [stdout] --> src/bin/day9.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray::{Array2, NdIndex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ind` [INFO] [stdout] --> src/bin/day4.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for ind in 0..bingo.boards.len() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day4.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(bingo: &Bingo) -> BingoResults { [INFO] [stdout] | ^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn new(bingo: &Bingo) -> BingoResults<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ind` [INFO] [stdout] --> src/bin/day4.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for ind in 0..bingo.boards.len() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day4.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(bingo: &Bingo) -> BingoResults { [INFO] [stdout] | ^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn new(bingo: &Bingo) -> BingoResults<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anum` [INFO] [stdout] --> src/bin/day9.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | sizes.sort_by(|&(anum, asize), &(bnum, bsize)| asize.cmp(&bsize)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_anum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bnum` [INFO] [stdout] --> src/bin/day9.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | sizes.sort_by(|&(anum, asize), &(bnum, bsize)| asize.cmp(&bsize)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.39s [INFO] running `Command { std: "docker" "inspect" "bc528a854045b838d05df22bce9898f94603a81592f8b2c73762151cec4c7770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc528a854045b838d05df22bce9898f94603a81592f8b2c73762151cec4c7770", kill_on_drop: false }` [INFO] [stdout] bc528a854045b838d05df22bce9898f94603a81592f8b2c73762151cec4c7770