[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgadomski%2Fadvent-of-code" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gadomski/advent-of-code on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-29/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" "+1.60.0" "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 pbr v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48c2a291263ecebf5237ff1a55406f3cce7df86b6c4dc6522c59a645bb21b322 [INFO] running `Command { std: "docker" "start" "-a" "48c2a291263ecebf5237ff1a55406f3cce7df86b6c4dc6522c59a645bb21b322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48c2a291263ecebf5237ff1a55406f3cce7df86b6c4dc6522c59a645bb21b322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c2a291263ecebf5237ff1a55406f3cce7df86b6c4dc6522c59a645bb21b322", kill_on_drop: false }` [INFO] [stdout] 48c2a291263ecebf5237ff1a55406f3cce7df86b6c4dc6522c59a645bb21b322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e6960cce41b25525d402338ccb2eaf9f750d736bf08ebd2b31dcf4b7db1ee27 [INFO] running `Command { std: "docker" "start" "-a" "0e6960cce41b25525d402338ccb2eaf9f750d736bf08ebd2b31dcf4b7db1ee27", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling cc v1.0.25 [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 rustc-demangle v0.1.9 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling text_io v0.1.7 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [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/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] 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 18.79s [INFO] running `Command { std: "docker" "inspect" "0e6960cce41b25525d402338ccb2eaf9f750d736bf08ebd2b31dcf4b7db1ee27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e6960cce41b25525d402338ccb2eaf9f750d736bf08ebd2b31dcf4b7db1ee27", kill_on_drop: false }` [INFO] [stdout] 0e6960cce41b25525d402338ccb2eaf9f750d736bf08ebd2b31dcf4b7db1ee27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44a55702b9fec680f1320737b4eed43c9cce5a4771aa613ed771bc2c98ac75fd [INFO] running `Command { std: "docker" "start" "-a" "44a55702b9fec680f1320737b4eed43c9cce5a4771aa613ed771bc2c98ac75fd", 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] 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] 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[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] 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] 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] [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" "44a55702b9fec680f1320737b4eed43c9cce5a4771aa613ed771bc2c98ac75fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a55702b9fec680f1320737b4eed43c9cce5a4771aa613ed771bc2c98ac75fd", kill_on_drop: false }` [INFO] [stdout] 44a55702b9fec680f1320737b4eed43c9cce5a4771aa613ed771bc2c98ac75fd