[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] checking gadomski/advent-of-code against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgadomski%2Fadvent-of-code" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gadomski/advent-of-code on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 127078eb6d7bfa823b924698e633d1375d3f6afccbea914cde0f2d2f85eb7c90 [INFO] running `Command { std: "docker" "start" "-a" "127078eb6d7bfa823b924698e633d1375d3f6afccbea914cde0f2d2f85eb7c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "127078eb6d7bfa823b924698e633d1375d3f6afccbea914cde0f2d2f85eb7c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "127078eb6d7bfa823b924698e633d1375d3f6afccbea914cde0f2d2f85eb7c90", kill_on_drop: false }` [INFO] [stdout] 127078eb6d7bfa823b924698e633d1375d3f6afccbea914cde0f2d2f85eb7c90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 066e08aececdba3193ef97d66fc9cd222a41c475d9cd3c6867997cb75cc17672 [INFO] running `Command { std: "docker" "start" "-a" "066e08aececdba3193ef97d66fc9cd222a41c475d9cd3c6867997cb75cc17672", kill_on_drop: false }` [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 cc v1.0.25 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking 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] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking pbr v1.0.1 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Checking 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: 1 warning emitted [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] | ^^^^^^^^^--- an argument of type `i64` is missing [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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 156 | let grid = Grid::new(8, /* i64 */); [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] 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | InvalidState(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 | InvalidState(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | MissingState(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 | MissingState(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | NoInput(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 | NoInput(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | NoNewline(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 | NoNewline(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | NoOutput(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 | NoOutput(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/13.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | InvalidTrack(char), [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | InvalidTrack(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | EvenInputLength(Rule), [INFO] [stdout] | --------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | EvenInputLength(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Crash` is never constructed [INFO] [stdout] --> src/13.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 65 | Crash(Location), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | UnequalRuleInputLength(Vec), [INFO] [stdout] | ---------------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 | UnequalRuleInputLength(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/13.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | InvalidTrack(char), [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | InvalidTrack(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Crash` is never constructed [INFO] [stdout] --> src/13.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 65 | Crash(Location), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 struct [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] | ^^^^^^^^^---- an argument of type `i64` is missing [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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 159 | let grid = Grid::new(57, /* i64 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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 struct [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] | ^^^^^^^^^---- an argument of type `i64` is missing [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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 162 | let grid = Grid::new(39, /* i64 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | InvalidState(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 | InvalidState(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | MissingState(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 | MissingState(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | NoInput(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 | NoInput(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | NoNewline(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 | NoNewline(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | NoOutput(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 | NoOutput(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | EvenInputLength(Rule), [INFO] [stdout] | --------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | EvenInputLength(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/12.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | UnequalRuleInputLength(Vec), [INFO] [stdout] | ---------------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 | UnequalRuleInputLength(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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 struct [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] | ^^^^^^^^^---- an argument of type `i64` is missing [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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 165 | let grid = Grid::new(71, /* i64 */); [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 struct [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` (bin "day-11" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "066e08aececdba3193ef97d66fc9cd222a41c475d9cd3c6867997cb75cc17672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066e08aececdba3193ef97d66fc9cd222a41c475d9cd3c6867997cb75cc17672", kill_on_drop: false }` [INFO] [stdout] 066e08aececdba3193ef97d66fc9cd222a41c475d9cd3c6867997cb75cc17672 [INFO] checking gadomski/advent-of-code against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgadomski%2Fadvent-of-code" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gadomski/advent-of-code on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d148af01959dcc01d4f825246a506f9887026fee4756e61beac0c0db1dee4b5 [INFO] running `Command { std: "docker" "start" "-a" "7d148af01959dcc01d4f825246a506f9887026fee4756e61beac0c0db1dee4b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d148af01959dcc01d4f825246a506f9887026fee4756e61beac0c0db1dee4b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d148af01959dcc01d4f825246a506f9887026fee4756e61beac0c0db1dee4b5", kill_on_drop: false }` [INFO] [stdout] 7d148af01959dcc01d4f825246a506f9887026fee4756e61beac0c0db1dee4b5 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2478eda55b707db4bce9ea0974432a07020e2207cd1db9ff91e08a467e28f66 [INFO] running `Command { std: "docker" "start" "-a" "d2478eda55b707db4bce9ea0974432a07020e2207cd1db9ff91e08a467e28f66", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "d2478eda55b707db4bce9ea0974432a07020e2207cd1db9ff91e08a467e28f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2478eda55b707db4bce9ea0974432a07020e2207cd1db9ff91e08a467e28f66", kill_on_drop: false }` [INFO] [stdout] d2478eda55b707db4bce9ea0974432a07020e2207cd1db9ff91e08a467e28f66