[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] testing xixiaofinland/advent_of_code_2020 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxixiaofinland%2Fadvent_of_code_2020" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xixiaofinland/advent_of_code_2020 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3fefcc9ac07efccbeb2eed9210c9b9bd97b901513f5782b822ec2b417a6bc04 [INFO] running `Command { std: "docker" "start" "-a" "a3fefcc9ac07efccbeb2eed9210c9b9bd97b901513f5782b822ec2b417a6bc04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3fefcc9ac07efccbeb2eed9210c9b9bd97b901513f5782b822ec2b417a6bc04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3fefcc9ac07efccbeb2eed9210c9b9bd97b901513f5782b822ec2b417a6bc04", kill_on_drop: false }` [INFO] [stdout] a3fefcc9ac07efccbeb2eed9210c9b9bd97b901513f5782b822ec2b417a6bc04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1045064f6809c6b885bcd44caf25fc9d28e24c2ca097e1228cb600f8ec07e17 [INFO] running `Command { std: "docker" "start" "-a" "a1045064f6809c6b885bcd44caf25fc9d28e24c2ca097e1228cb600f8ec07e17", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling 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: `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: 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] 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] [stderr] error: could not compile `aoc_2020` (bin "aoc_2020") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a1045064f6809c6b885bcd44caf25fc9d28e24c2ca097e1228cb600f8ec07e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1045064f6809c6b885bcd44caf25fc9d28e24c2ca097e1228cb600f8ec07e17", kill_on_drop: false }` [INFO] [stdout] a1045064f6809c6b885bcd44caf25fc9d28e24c2ca097e1228cb600f8ec07e17