[INFO] cloning repository https://github.com/xixiaofinland/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/xixiaofinland/advent_of_code_2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxixiaofinland%2Fadvent_of_code_2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxixiaofinland%2Fadvent_of_code_2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2946bec00cc2a92f859a7ca1798e89baecf9f030 [INFO] checking xixiaofinland/advent_of_code_2020 against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxixiaofinland%2Fadvent_of_code_2020" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xixiaofinland/advent_of_code_2020 [INFO] finished tweaking git repo https://github.com/xixiaofinland/advent_of_code_2020 [INFO] tweaked toml for git repo https://github.com/xixiaofinland/advent_of_code_2020 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xixiaofinland/advent_of_code_2020 on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xixiaofinland/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" "+863511eff87e66198b396935f3b5c8a543022f53" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e29b312c8fb89673830fddc22e46d6ff9483a0b3167a94377d2a8218ab8bc48 [INFO] running `Command { std: "docker" "start" "-a" "4e29b312c8fb89673830fddc22e46d6ff9483a0b3167a94377d2a8218ab8bc48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e29b312c8fb89673830fddc22e46d6ff9483a0b3167a94377d2a8218ab8bc48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e29b312c8fb89673830fddc22e46d6ff9483a0b3167a94377d2a8218ab8bc48", kill_on_drop: false }` [INFO] [stdout] 4e29b312c8fb89673830fddc22e46d6ff9483a0b3167a94377d2a8218ab8bc48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5442c607d3ed318341a58d28da1e3f9efd4ef553ac4202759f00903e504eab1 [INFO] running `Command { std: "docker" "start" "-a" "f5442c607d3ed318341a58d28da1e3f9efd4ef553ac4202759f00903e504eab1", kill_on_drop: false }` [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking aoc_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/days/day1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/days/day22.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/days/day1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/days/day22.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/days/day22b.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/days/day22b.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `winner` [INFO] [stdout] --> src/days/day22b.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | let (winner, winning_deck) = play(&mut player1, &mut player2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_winner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `winner` [INFO] [stdout] --> src/days/day22b.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | let (winner, winning_deck) = play(&mut player1, &mut player2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_winner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_grid` is never used [INFO] [stdout] --> src/days/day11b.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn display_grid(grid: &[Vec]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_neighbors` is never used [INFO] [stdout] --> src/days/day17a.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_neighbors((x, y, z): Coord) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_token` is never used [INFO] [stdout] --> src/days/day18a.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn split_token(element: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_rule_imperative` is never used [INFO] [stdout] --> src/days/day19a.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn match_rule_imperative<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_type_two` is never used [INFO] [stdout] --> src/days/day3.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn count_type_two() -> AoCResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_type_one` is never used [INFO] [stdout] --> src/days/day3.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn count_type_one(right_shift: usize) -> AoCResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_fp` is never used [INFO] [stdout] --> src/days/day7.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn count_fp(inverse_graph: &HashMap>) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_total_fp` is never used [INFO] [stdout] --> src/days/day7.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn count_total_fp(bag: &str, graph: &HashMap>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_grid` is never used [INFO] [stdout] --> src/days/day11b.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn display_grid(grid: &[Vec]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_neighbors` is never used [INFO] [stdout] --> src/days/day17a.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_neighbors((x, y, z): Coord) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_token` is never used [INFO] [stdout] --> src/days/day18a.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn split_token(element: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_rule_imperative` is never used [INFO] [stdout] --> src/days/day19a.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn match_rule_imperative<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_type_two` is never used [INFO] [stdout] --> src/days/day3.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn count_type_two() -> AoCResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_type_one` is never used [INFO] [stdout] --> src/days/day3.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn count_type_one(right_shift: usize) -> AoCResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_fp` is never used [INFO] [stdout] --> src/days/day7.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn count_fp(inverse_graph: &HashMap>) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_total_fp` is never used [INFO] [stdout] --> src/days/day7.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn count_total_fp(bag: &str, graph: &HashMap>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `solve_day25a` in this scope [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | match solve_day25a() { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::day25a::solve_day25a; [INFO] [stdout] | [INFO] [stdout] 1 + use aoc_2020::days::day25a::solve_day25a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `solve_day25a` in this scope [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | match solve_day25a() { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::day25a::solve_day25a; [INFO] [stdout] | [INFO] [stdout] 1 + use aoc_2020::days::day25a::solve_day25a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aoc_2020::days::*` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc_2020::days::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aoc_2020::days::*` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc_2020::days::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_2020` (bin "aoc_2020") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc_2020` (bin "aoc_2020" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f5442c607d3ed318341a58d28da1e3f9efd4ef553ac4202759f00903e504eab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5442c607d3ed318341a58d28da1e3f9efd4ef553ac4202759f00903e504eab1", kill_on_drop: false }` [INFO] [stdout] f5442c607d3ed318341a58d28da1e3f9efd4ef553ac4202759f00903e504eab1