[INFO] cloning repository https://github.com/IanLiuTW/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/IanLiuTW/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIanLiuTW%2Fadvent_of_code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIanLiuTW%2Fadvent_of_code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 28bc289aa60614893ea425885c0a8bc2dcf70ba1
[INFO] checking IanLiuTW/advent_of_code against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIanLiuTW%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/IanLiuTW/advent_of_code on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/IanLiuTW/advent_of_code
[INFO] finished tweaking git repo https://github.com/IanLiuTW/advent_of_code
[INFO] tweaked toml for git repo https://github.com/IanLiuTW/advent_of_code written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/IanLiuTW/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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded counter v0.5.7
[INFO] [stderr]   Downloaded cached_proc_macro v0.18.1
[INFO] [stderr]   Downloaded mintex v0.1.2
[INFO] [stderr]   Downloaded cached v0.47.0
[INFO] [stderr]   Downloaded bisection v0.1.0
[INFO] [stderr]   Downloaded tinyjson v2.5.1
[INFO] [stderr]   Downloaded dhat v0.3.2
[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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 339b1c256f95fbd9dea8e1f8a21a78b115a86779e358efd19f3d46f980357c61
[INFO] running `Command { std: "docker" "start" "-a" "339b1c256f95fbd9dea8e1f8a21a78b115a86779e358efd19f3d46f980357c61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "339b1c256f95fbd9dea8e1f8a21a78b115a86779e358efd19f3d46f980357c61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "339b1c256f95fbd9dea8e1f8a21a78b115a86779e358efd19f3d46f980357c61", kill_on_drop: false }`
[INFO] [stdout] 339b1c256f95fbd9dea8e1f8a21a78b115a86779e358efd19f3d46f980357c61
[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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0890612a81867e1b044e336b35939441166a25afac43030b33773289328c7864
[INFO] running `Command { std: "docker" "start" "-a" "0890612a81867e1b044e336b35939441166a25afac43030b33773289328c7864", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling thiserror v1.0.55
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking cached_proc_macro_types v0.1.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking counter v0.5.7
[INFO] [stderr]     Checking pico-args v0.5.0
[INFO] [stderr]     Checking bisection v0.1.0
[INFO] [stderr]     Checking tinyjson v2.5.1
[INFO] [stderr]     Checking itertools v0.12.0
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.55
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling cached_proc_macro v0.18.1
[INFO] [stderr]     Checking cached v0.47.0
[INFO] [stderr]     Checking advent_of_code v0.10.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/readme_benchmarks.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Parser(String),
[INFO] [stdout]    |     ------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[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]    = 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] 12 |     Parser(()),
[INFO] [stdout]    |            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/readme_benchmarks.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |     IO(io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[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] 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] 13 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/run_multi.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 |     IO(io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[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] 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 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/readme_benchmarks.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Parser(String),
[INFO] [stdout]    |     ------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[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]    = 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] 12 |     Parser(()),
[INFO] [stdout]    |            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/readme_benchmarks.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |     IO(io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[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] 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] 13 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/run_multi.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 |     IO(io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[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] 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 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `(`
[INFO] [stdout]   --> src/bin/19.rs:94:34
[INFO] [stdout]    |
[INFO] [stdout] 94 |                     if condition.(item) {}
[INFO] [stdout]    |                                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `}`
[INFO] [stdout]    --> src/bin/19.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |             }
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `brute_force` is never used
[INFO] [stdout]   --> src/bin/12.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn brute_force(record: &Vec<char>, cnt: &Vec<usize>) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_regex` is never used
[INFO] [stdout]   --> src/bin/12.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn get_regex(cnt: &Vec<usize>) -> String {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0618]: expected function, found `&Condition`
[INFO] [stdout]   --> src/bin/19.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 for (condition, rule) in &self.rules[&rule] {
[INFO] [stdout]    |                      --------- `condition` has type `&Condition`
[INFO] [stdout] 94 |                     if condition.(item) {}
[INFO] [stdout]    |                        ^^^^^^^^^-------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        call expression requires function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bin/19.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn eval_and_keep(&self, item: &Item2) -> [Item2;2] {
[INFO] [stdout]     |                                              --------- expected `[Item2; 2]` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 136 |                 item.
[INFO] [stdout]     |                 ^^^^ expected `[Item2; 2]`, found `&Item2`
[INFO] [stdout]     |
[INFO] [stdout]     = note:  expected array `[Item2; 2]`
[INFO] [stdout]             found reference `&Item2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/19.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn part_two(input: &str) -> Option<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] Some errors have detailed explanations: E0308, E0618.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `(`
[INFO] [stdout]   --> src/bin/19.rs:94:34
[INFO] [stdout]    |
[INFO] [stdout] 94 |                     if condition.(item) {}
[INFO] [stdout]    |                                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `}`
[INFO] [stdout]    --> src/bin/19.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |             }
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0618]: expected function, found `&Condition`
[INFO] [stdout]   --> src/bin/19.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 for (condition, rule) in &self.rules[&rule] {
[INFO] [stdout]    |                      --------- `condition` has type `&Condition`
[INFO] [stdout] 94 |                     if condition.(item) {}
[INFO] [stdout]    |                        ^^^^^^^^^-------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        call expression requires function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bin/19.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn eval_and_keep(&self, item: &Item2) -> [Item2;2] {
[INFO] [stdout]     |                                              --------- expected `[Item2; 2]` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 136 |                 item.
[INFO] [stdout]     |                 ^^^^ expected `[Item2; 2]`, found `&Item2`
[INFO] [stdout]     |
[INFO] [stdout]     = note:  expected array `[Item2; 2]`
[INFO] [stdout]             found reference `&Item2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/19.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn part_two(input: &str) -> Option<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] [stderr] error: could not compile `advent_of_code` (bin "19" test) due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0308, E0618.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent_of_code` (bin "19") due to 4 previous errors; 1 warning emitted
[INFO] [stdout] warning: function `brute_force` is never used
[INFO] [stdout]   --> src/bin/12.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn brute_force(record: &Vec<char>, cnt: &Vec<usize>) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_regex` is never used
[INFO] [stdout]   --> src/bin/12.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn get_regex(cnt: &Vec<usize>) -> String {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0890612a81867e1b044e336b35939441166a25afac43030b33773289328c7864", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0890612a81867e1b044e336b35939441166a25afac43030b33773289328c7864", kill_on_drop: false }`
[INFO] [stdout] 0890612a81867e1b044e336b35939441166a25afac43030b33773289328c7864
