[INFO] cloning repository https://github.com/Trayshar/AoC22 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trayshar/AoC22" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrayshar%2FAoC22", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrayshar%2FAoC22'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aee47037865fe35661cb55f9c8a0d9d3bfb9be44 [INFO] testing Trayshar/AoC22/aee47037865fe35661cb55f9c8a0d9d3bfb9be44 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrayshar%2FAoC22" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Trayshar/AoC22 [INFO] finished tweaking git repo https://github.com/Trayshar/AoC22 [INFO] tweaked toml for git repo https://github.com/Trayshar/AoC22 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Trayshar/AoC22 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Trayshar/AoC22 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20fb7b68a1284c3e2c743e3d0491858e3fd8d150261c3b6e0cd48ad644f86300 [INFO] running `Command { std: "docker" "start" "-a" "20fb7b68a1284c3e2c743e3d0491858e3fd8d150261c3b6e0cd48ad644f86300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20fb7b68a1284c3e2c743e3d0491858e3fd8d150261c3b6e0cd48ad644f86300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20fb7b68a1284c3e2c743e3d0491858e3fd8d150261c3b6e0cd48ad644f86300", kill_on_drop: false }` [INFO] [stdout] 20fb7b68a1284c3e2c743e3d0491858e3fd8d150261c3b6e0cd48ad644f86300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df89c109b9294d7f0f2d33ae6721f7f27af38541f7fb1fbc1848d329a16bf7f3 [INFO] running `Command { std: "docker" "start" "-a" "df89c109b9294d7f0f2d33ae6721f7f27af38541f7fb1fbc1848d329a16bf7f3", kill_on_drop: false }` [INFO] [stderr] Compiling aoc22 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `costs` [INFO] [stdout] --> src/lib.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut costs: Vec> = vec![None; node_count]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_costs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adj` [INFO] [stdout] --> src/lib.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | for adj in adjs.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_adj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `costs` [INFO] [stdout] --> src/lib.rs:118:80 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn dijkstra<'a, AF, CF, C>(node_count: usize, start: usize, adjacents: AF, costs: CF) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_costs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut costs: Vec> = vec![None; node_count]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut node = start; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn value(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn value(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn value_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn value_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isCommutative` should have a snake case name [INFO] [stdout] --> src/lib.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn isCommutative(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_commutative` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/day21.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | match line.split_ascii_whitespace().collect::>()[..] { [INFO] [stdout] | ^^^^^^^ cannot infer type of the type parameter `B` declared on the method `collect` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 19 - match line.split_ascii_whitespace().collect::>()[..] { [INFO] [stdout] 19 + match line.split_ascii_whitespace().collect::>()[..] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc22` (bin "day21") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "df89c109b9294d7f0f2d33ae6721f7f27af38541f7fb1fbc1848d329a16bf7f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df89c109b9294d7f0f2d33ae6721f7f27af38541f7fb1fbc1848d329a16bf7f3", kill_on_drop: false }` [INFO] [stdout] df89c109b9294d7f0f2d33ae6721f7f27af38541f7fb1fbc1848d329a16bf7f3