[INFO] cloning repository https://github.com/kevin-harrison/aoc-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevin-harrison/aoc-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin-harrison%2Faoc-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin-harrison%2Faoc-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76b57f317079cc7a065e6b5754c021029b0f8cb3 [INFO] checking kevin-harrison/aoc-2022 against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin-harrison%2Faoc-2022" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/kevin-harrison/aoc-2022 [INFO] finished tweaking git repo https://github.com/kevin-harrison/aoc-2022 [INFO] tweaked toml for git repo https://github.com/kevin-harrison/aoc-2022 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kevin-harrison/aoc-2022 on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kevin-harrison/aoc-2022 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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69836f775d6ce9d2ce6898119f75b274a6304ab5365c92c305872e553c882038 [INFO] running `Command { std: "docker" "start" "-a" "69836f775d6ce9d2ce6898119f75b274a6304ab5365c92c305872e553c882038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69836f775d6ce9d2ce6898119f75b274a6304ab5365c92c305872e553c882038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69836f775d6ce9d2ce6898119f75b274a6304ab5365c92c305872e553c882038", kill_on_drop: false }` [INFO] [stdout] 69836f775d6ce9d2ce6898119f75b274a6304ab5365c92c305872e553c882038 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5488711d84426423722052b067578a9b325dfe0bb0240b999722cd58dd913e46 [INFO] running `Command { std: "docker" "start" "-a" "5488711d84426423722052b067578a9b325dfe0bb0240b999722cd58dd913e46", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking advent_of_code v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/20_2.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | while let Some(ref mut node) = current { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------- this expression has type `&mut Tree` [INFO] [stdout] | | [INFO] [stdout] | expected `Tree`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Tree` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/19.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn part_two(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: field `id` is never read [INFO] [stdout] --> src/bin/19.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Blueprint { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Blueprint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/20_2.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn part_two(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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "20_2" test) due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/bin/08.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/bin/08.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [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 variable: `trees` [INFO] [stdout] --> src/bin/08.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | fn scan_treeline(trees: Vec<&[u8]>, result: &[&[u8]]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trees` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/bin/08.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | fn scan_treeline(trees: Vec<&[u8]>, result: &[&[u8]]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/08.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | 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: function `scan_treeline` is never used [INFO] [stdout] --> src/bin/08.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn scan_treeline(trees: Vec<&[u8]>, result: &[&[u8]]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trees` [INFO] [stdout] --> src/bin/08.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | fn scan_treeline(trees: Vec<&[u8]>, result: &[&[u8]]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trees` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/bin/08.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | fn scan_treeline(trees: Vec<&[u8]>, result: &[&[u8]]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/08.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | 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: function `scan_treeline` is never used [INFO] [stdout] --> src/bin/08.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn scan_treeline(trees: Vec<&[u8]>, result: &[&[u8]]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn part_two(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: method `add_path` is never used [INFO] [stdout] --> src/bin/16.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl ValveGraph { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn add_path(&mut self, from: usize, to: usize, weight: u32) { [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 `max_pressure` is never used [INFO] [stdout] --> src/bin/16.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn max_pressure(graph: &ValveGraph, cache: &mut Vec, mut used: u128, position: usize, time: u128) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn part_two(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: method `add_path` is never used [INFO] [stdout] --> src/bin/16.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl ValveGraph { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn add_path(&mut self, from: usize, to: usize, weight: u32) { [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 `max_pressure` is never used [INFO] [stdout] --> src/bin/16.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn max_pressure(graph: &ValveGraph, cache: &mut Vec, mut used: u128, position: usize, time: u128) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5488711d84426423722052b067578a9b325dfe0bb0240b999722cd58dd913e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5488711d84426423722052b067578a9b325dfe0bb0240b999722cd58dd913e46", kill_on_drop: false }` [INFO] [stdout] 5488711d84426423722052b067578a9b325dfe0bb0240b999722cd58dd913e46