[INFO] cloning repository https://github.com/Jassob/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/Jassob/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJassob%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJassob%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5558d293b2c0ef1fde9fa29c05a583f686d0f7f7 [INFO] checking Jassob/advent-of-code-2020/5558d293b2c0ef1fde9fa29c05a583f686d0f7f7 against master#06194cadcd0948a7100b46737f61e82b8c00d632 for pr-117967-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJassob%2Fadvent-of-code-2020" "/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/Jassob/advent-of-code-2020 on toolchain 06194cadcd0948a7100b46737f61e82b8c00d632 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+06194cadcd0948a7100b46737f61e82b8c00d632" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jassob/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/Jassob/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/Jassob/advent-of-code-2020 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jassob/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" "+06194cadcd0948a7100b46737f61e82b8c00d632" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+06194cadcd0948a7100b46737f61e82b8c00d632" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd87ab6acd46fbbd160d6f7138688a78f532a3f9d2d2c1a31b7626a8bb35173d [INFO] running `Command { std: "docker" "start" "-a" "dd87ab6acd46fbbd160d6f7138688a78f532a3f9d2d2c1a31b7626a8bb35173d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd87ab6acd46fbbd160d6f7138688a78f532a3f9d2d2c1a31b7626a8bb35173d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd87ab6acd46fbbd160d6f7138688a78f532a3f9d2d2c1a31b7626a8bb35173d", kill_on_drop: false }` [INFO] [stdout] dd87ab6acd46fbbd160d6f7138688a78f532a3f9d2d2c1a31b7626a8bb35173d [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+06194cadcd0948a7100b46737f61e82b8c00d632" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9491106f47391ed1bae4afcfc51443bfb6edcc18a5192c44fe85b175476da2b5 [INFO] running `Command { std: "docker" "start" "-a" "9491106f47391ed1bae4afcfc51443bfb6edcc18a5192c44fe85b175476da2b5", kill_on_drop: false }` [INFO] [stderr] Checking aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/bin/day10.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/bin/day10.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/day18.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | loop {} [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 14 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day10.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | fn part2(input: Vec) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day18.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | fn from_str(s: &str) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day15.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | fn part2(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/bin/day18.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut val = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `words` [INFO] [stdout] --> src/bin/day18.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut words = line.split(' '); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_words` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day18.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut val = 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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day18.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut words = line.split(' '); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day18.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | fn part1(input: Vec) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day10.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | fn part2(input: Vec) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2020` (bin "day18" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/bin/day20.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day20.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | fn part1(input: String) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_x` [INFO] [stdout] --> src/bin/day20.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | let (max_x, max_y) = self.dimensions; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_y` [INFO] [stdout] --> src/bin/day20.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let (max_x, max_y) = self.dimensions; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/bin/day20.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | fn matches(&self, other: &Tile) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/bin/day20.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `matches` is never used [INFO] [stdout] --> src/bin/day20.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 25 | fn matches(&self, other: &Tile) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Puzzle` is never constructed [INFO] [stdout] --> src/bin/day20.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Puzzle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9491106f47391ed1bae4afcfc51443bfb6edcc18a5192c44fe85b175476da2b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9491106f47391ed1bae4afcfc51443bfb6edcc18a5192c44fe85b175476da2b5", kill_on_drop: false }` [INFO] [stdout] 9491106f47391ed1bae4afcfc51443bfb6edcc18a5192c44fe85b175476da2b5