[INFO] cloning repository https://github.com/aschokking/aoc_2024_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aschokking/aoc_2024_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faschokking%2Faoc_2024_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faschokking%2Faoc_2024_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc8960e5bda8c2cd9a5f2a36112db61188e09fa2 [INFO] checking aschokking/aoc_2024_rust against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faschokking%2Faoc_2024_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/aschokking/aoc_2024_rust [INFO] finished tweaking git repo https://github.com/aschokking/aoc_2024_rust [INFO] tweaked toml for git repo https://github.com/aschokking/aoc_2024_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aschokking/aoc_2024_rust on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aschokking/aoc_2024_rust 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5a13ab0192babdb828584b53e478dba9a69d2d947dff50cb840226d0c69024c3 [INFO] running `Command { std: "docker" "start" "5a13ab0192babdb828584b53e478dba9a69d2d947dff50cb840226d0c69024c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a13ab0192babdb828584b53e478dba9a69d2d947dff50cb840226d0c69024c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a13ab0192babdb828584b53e478dba9a69d2d947dff50cb840226d0c69024c3" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a13ab0192babdb828584b53e478dba9a69d2d947dff50cb840226d0c69024c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a13ab0192babdb828584b53e478dba9a69d2d947dff50cb840226d0c69024c3" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking binary-merge v0.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking inplace-vec-builder v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking counter v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tqdm v0.6.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking range-collections v0.4.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/bin/02.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | report.iter().all(|&x| (x >= 1 && x <= 3)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - report.iter().all(|&x| (x >= 1 && x <= 3)) [INFO] [stdout] 16 + report.iter().all(|&x| x >= 1 && x <= 3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "03" test) due to 1 previous error [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/bin/02.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | || report.iter().all(|&x| (x >= -3 && x <= -1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - || report.iter().all(|&x| (x >= -3 && x <= -1)) [INFO] [stdout] 17 + || report.iter().all(|&x| x >= -3 && x <= -1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `Option` [INFO] [stdout] --> src/bin/03.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / input.lines().map(|line| { [INFO] [stdout] 9 | | part_one_process_line(line) [INFO] [stdout] 10 | | }).reduce(|acc, x| acc + x).into() [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 10 - }).reduce(|acc, x| acc + x).into() [INFO] [stdout] 10 + }).reduce(|acc, x| acc + x) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 8 ~ as Into<_>>::into(input.lines().map(|line| { [INFO] [stdout] 9 | part_one_process_line(line) [INFO] [stdout] 10 ~ }).reduce(|acc, x| acc + x)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/bin/02.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | report.iter().all(|&x| (x >= 1 && x <= 3)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - report.iter().all(|&x| (x >= 1 && x <= 3)) [INFO] [stdout] 16 + report.iter().all(|&x| x >= 1 && x <= 3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/bin/02.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | || report.iter().all(|&x| (x >= -3 && x <= -1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - || report.iter().all(|&x| (x >= -3 && x <= -1)) [INFO] [stdout] 17 + || report.iter().all(|&x| x >= -3 && x <= -1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Option` [INFO] [stdout] --> src/bin/03.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / input.lines().map(|line| { [INFO] [stdout] 9 | | part_one_process_line(line) [INFO] [stdout] 10 | | }).reduce(|acc, x| acc + x).into() [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 10 - }).reduce(|acc, x| acc + x).into() [INFO] [stdout] 10 + }).reduce(|acc, x| acc + x) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 8 ~ as Into<_>>::into(input.lines().map(|line| { [INFO] [stdout] 9 | part_one_process_line(line) [INFO] [stdout] 10 ~ }).reduce(|acc, x| acc + x)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "03") due to 1 previous error [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/05.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/05.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [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/05.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/05.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `priority-queue` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | priority-queue = "1.3.2" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `priority-queue` [INFO] [stderr] warning: unused dependency `range-collections` [INFO] [stderr] --> Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | range-collections = "0.4.5" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `range-collections` [INFO] [stderr] warning: unused dependency `tqdm` [INFO] [stderr] --> Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | tqdm = "0.6.0" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tqdm` [INFO] [stderr] warning: `advent_of_code` (manifest) generated 3 warnings [INFO] running `Command { std: "docker" "inspect" "5a13ab0192babdb828584b53e478dba9a69d2d947dff50cb840226d0c69024c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a13ab0192babdb828584b53e478dba9a69d2d947dff50cb840226d0c69024c3", kill_on_drop: false }` [INFO] [stdout] 5a13ab0192babdb828584b53e478dba9a69d2d947dff50cb840226d0c69024c3