[INFO] cloning repository https://github.com/h3ndrk/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/h3ndrk/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh3ndrk%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh3ndrk%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47e12d42d21d123ab19431ff96ebacab679be7e6 [INFO] checking h3ndrk/advent_of_code against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh3ndrk%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/h3ndrk/advent_of_code on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/h3ndrk/advent_of_code [INFO] finished tweaking git repo https://github.com/h3ndrk/advent_of_code [INFO] tweaked toml for git repo https://github.com/h3ndrk/advent_of_code written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/h3ndrk/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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e46846e84fe398a6294fa5d8da54726eb7403cb155988cf7807682e1bb5cee93 [INFO] running `Command { std: "docker" "start" "-a" "e46846e84fe398a6294fa5d8da54726eb7403cb155988cf7807682e1bb5cee93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e46846e84fe398a6294fa5d8da54726eb7403cb155988cf7807682e1bb5cee93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46846e84fe398a6294fa5d8da54726eb7403cb155988cf7807682e1bb5cee93", kill_on_drop: false }` [INFO] [stdout] e46846e84fe398a6294fa5d8da54726eb7403cb155988cf7807682e1bb5cee93 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75301ecb3f7e44302b30e02d6827160fa944cedf8717c874e2c2f9783eb0c873 [INFO] running `Command { std: "docker" "start" "-a" "75301ecb3f7e44302b30e02d6827160fa944cedf8717c874e2c2f9783eb0c873", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bin/2021-12-10.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | completion_scores[(completion_scores.len() / 2)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - completion_scores[(completion_scores.len() / 2)] [INFO] [stdout] 172 + completion_scores[completion_scores.len() / 2] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/bin/2021-12-20.rs:171:33 [INFO] [stdout] | [INFO] [stdout] 171 | true => (1 << bit_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - true => (1 << bit_index), [INFO] [stdout] 171 + true => 1 << bit_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infinite_series` is never used [INFO] [stdout] --> src/bin/2021-12-17.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn infinite_series(n: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> src/bin/2021-12-16.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | let binary: String = input [INFO] [stdout] | __________________________^ [INFO] [stdout] 140 | | .chars() [INFO] [stdout] 141 | | .fold(String::new(), |packet, hexadecimal| { [INFO] [stdout] 142 | | packet [INFO] [stdout] ... | [INFO] [stdout] 162 | | }) [INFO] [stdout] 163 | | .into(); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bin/2021-12-10.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | completion_scores[(completion_scores.len() / 2)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - completion_scores[(completion_scores.len() / 2)] [INFO] [stdout] 172 + completion_scores[completion_scores.len() / 2] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "2021-12-16" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated functions `from_str` and `from_iterator` are never used [INFO] [stdout] --> src/bin/2021-12-14.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl PolymerIterator { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 173 | fn from_str(input: &'static str, rules: &HashMap<(char, char), char>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn from_iterator(iterator: PolymerIterator, rules: &HashMap<(char, char), char>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_counts` is never used [INFO] [stdout] --> src/bin/2021-12-14.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn calculate_counts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infinite_series` is never used [INFO] [stdout] --> src/bin/2021-12-17.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn infinite_series(n: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "75301ecb3f7e44302b30e02d6827160fa944cedf8717c874e2c2f9783eb0c873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75301ecb3f7e44302b30e02d6827160fa944cedf8717c874e2c2f9783eb0c873", kill_on_drop: false }` [INFO] [stdout] 75301ecb3f7e44302b30e02d6827160fa944cedf8717c874e2c2f9783eb0c873