[INFO] cloning repository https://github.com/gadomski/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gadomski/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgadomski%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgadomski%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2f46cf68a3f653ae0c694e11223079bb1d2e310 [INFO] testing gadomski/advent-of-code against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgadomski%2Fadvent-of-code" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gadomski/advent-of-code on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gadomski/advent-of-code [INFO] finished tweaking git repo https://github.com/gadomski/advent-of-code [INFO] tweaked toml for git repo https://github.com/gadomski/advent-of-code written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/gadomski/advent-of-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text_io v0.1.7 [INFO] [stderr] Downloaded redox_syscall v0.1.43 [INFO] [stderr] Downloaded pbr v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42fc2f31815621989b75fbd38d138df1ff74f54c66ced7e1867221c2000de5fb [INFO] running `Command { std: "docker" "start" "-a" "42fc2f31815621989b75fbd38d138df1ff74f54c66ced7e1867221c2000de5fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42fc2f31815621989b75fbd38d138df1ff74f54c66ced7e1867221c2000de5fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42fc2f31815621989b75fbd38d138df1ff74f54c66ced7e1867221c2000de5fb", kill_on_drop: false }` [INFO] [stdout] 42fc2f31815621989b75fbd38d138df1ff74f54c66ced7e1867221c2000de5fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd142358d3e99aa61bcf998aa51ee8f4c143db2635a8ec50eb8c67f9b1d3edb8 [INFO] running `Command { std: "docker" "start" "-a" "bd142358d3e99aa61bcf998aa51ee8f4c143db2635a8ec50eb8c67f9b1d3edb8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling text_io v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling pbr v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/03.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let mut entry = map.entry((x, y)).or_insert_with(Vec::new); [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] --> src/02.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut entry = frequencies.entry(c).or_insert(0); [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: variant is never constructed: `Crash` [INFO] [stdout] --> src/13.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Crash(Location), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/13.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.32s [INFO] running `Command { std: "docker" "inspect" "bd142358d3e99aa61bcf998aa51ee8f4c143db2635a8ec50eb8c67f9b1d3edb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd142358d3e99aa61bcf998aa51ee8f4c143db2635a8ec50eb8c67f9b1d3edb8", kill_on_drop: false }` [INFO] [stdout] bd142358d3e99aa61bcf998aa51ee8f4c143db2635a8ec50eb8c67f9b1d3edb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99e0c7a60fb8e2ce3d63e31260c06c92381588e459642de58d0122f852ce3f3c [INFO] running `Command { std: "docker" "start" "-a" "99e0c7a60fb8e2ce3d63e31260c06c92381588e459642de58d0122f852ce3f3c", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/02.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut entry = frequencies.entry(c).or_insert(0); [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] --> src/03.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let mut entry = map.entry((x, y)).or_insert_with(Vec::new); [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] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/11.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | let grid = Grid::new(8); [INFO] [stdout] | ^^^^^^^^^ - supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/11.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(size: i64, serial_number: i64) -> Grid { [INFO] [stdout] | ^^^ --------- ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `power_level` found for struct `Grid` in the current scope [INFO] [stdout] --> src/11.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 13 | struct Grid { [INFO] [stdout] | ----------- method `power_level` not found for this [INFO] [stdout] ... [INFO] [stdout] 157 | assert_eq!(4, grid.power_level(3, 5)); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/11.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | let grid = Grid::new(57); [INFO] [stdout] | ^^^^^^^^^ -- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/11.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(size: i64, serial_number: i64) -> Grid { [INFO] [stdout] | ^^^ --------- ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `power_level` found for struct `Grid` in the current scope [INFO] [stdout] --> src/11.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 13 | struct Grid { [INFO] [stdout] | ----------- method `power_level` not found for this [INFO] [stdout] ... [INFO] [stdout] 160 | assert_eq!(-5, grid.power_level(122, 79)); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/11.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | let grid = Grid::new(39); [INFO] [stdout] | ^^^^^^^^^ -- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/11.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(size: i64, serial_number: i64) -> Grid { [INFO] [stdout] | ^^^ --------- ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `power_level` found for struct `Grid` in the current scope [INFO] [stdout] --> src/11.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 13 | struct Grid { [INFO] [stdout] | ----------- method `power_level` not found for this [INFO] [stdout] ... [INFO] [stdout] 163 | assert_eq!(0, grid.power_level(217, 196)); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/11.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | let grid = Grid::new(71); [INFO] [stdout] | ^^^^^^^^^ -- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/11.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(size: i64, serial_number: i64) -> Grid { [INFO] [stdout] | ^^^ --------- ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `power_level` found for struct `Grid` in the current scope [INFO] [stdout] --> src/11.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 13 | struct Grid { [INFO] [stdout] | ----------- method `power_level` not found for this [INFO] [stdout] ... [INFO] [stdout] 166 | assert_eq!(4, grid.power_level(101, 153)); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Crash` [INFO] [stdout] --> src/13.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Crash(Location), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/13.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "99e0c7a60fb8e2ce3d63e31260c06c92381588e459642de58d0122f852ce3f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99e0c7a60fb8e2ce3d63e31260c06c92381588e459642de58d0122f852ce3f3c", kill_on_drop: false }` [INFO] [stdout] 99e0c7a60fb8e2ce3d63e31260c06c92381588e459642de58d0122f852ce3f3c