[INFO] cloning repository https://github.com/acrucetta/advent-of-code-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acrucetta/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facrucetta%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facrucetta%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7b1b4c04e9e0ce6372ae9b65a798ad22afa1452 [INFO] checking acrucetta/advent-of-code-2022 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facrucetta%2Fadvent-of-code-2022" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acrucetta/advent-of-code-2022 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/acrucetta/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/acrucetta/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/acrucetta/advent-of-code-2022 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/acrucetta/advent-of-code-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b5223a545711a24d882f413fb8760667f392cefd5b2c78c7893ccb780e16e60 [INFO] running `Command { std: "docker" "start" "-a" "6b5223a545711a24d882f413fb8760667f392cefd5b2c78c7893ccb780e16e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b5223a545711a24d882f413fb8760667f392cefd5b2c78c7893ccb780e16e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b5223a545711a24d882f413fb8760667f392cefd5b2c78c7893ccb780e16e60", kill_on_drop: false }` [INFO] [stdout] 6b5223a545711a24d882f413fb8760667f392cefd5b2c78c7893ccb780e16e60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eed45178dd0dbfec74e8fcff38442123a166ccd06843c2f0b262128a0da7440 [INFO] running `Command { std: "docker" "start" "-a" "4eed45178dd0dbfec74e8fcff38442123a166ccd06843c2f0b262128a0da7440", kill_on_drop: false }` [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking advent_of_code v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMap`, `cmp::max`, `hash::Hash` [INFO] [stdout] --> src/bin/09.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, collections::{HashMap, HashSet}, hash::Hash}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALL_DIRECTIONS`, `CARDINAL_DIRECTIONS`, `self` [INFO] [stdout] --> src/bin/08.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | use advent_of_code::helpers::grid::{Grid, ALL_DIRECTIONS, CARDINAL_DIRECTIONS, self}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALL_DIRECTIONS`, `CARDINAL_DIRECTIONS`, `self` [INFO] [stdout] --> src/bin/08.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | use advent_of_code::helpers::grid::{Grid, ALL_DIRECTIONS, CARDINAL_DIRECTIONS, self}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `cmp::max`, `hash::Hash` [INFO] [stdout] --> src/bin/09.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, collections::{HashMap, HashSet}, hash::Hash}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movements` [INFO] [stdout] --> src/bin/09.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let movements = parse_directions(input); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movements` [INFO] [stdout] --> src/bin/09.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let movements = parse_directions(input); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/05.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | for (y, line) in input.lines().rev().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overlap` is never used [INFO] [stdout] --> src/bin/04.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Range { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn overlap (&self, other: &Range) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/05.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | for (y, line) in input.lines().rev().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | Direction::UP(x, y) => current_node.0 = (current_node.0 as i32 + x) as usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | Direction::DOWN(x, y) => current_node.0 = (current_node.0 as i32 + x) as usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | Direction::LEFT(x, y) => current_node.1 = (current_node.1 as i32 + y) as usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | Direction::RIGHT(x, y) => current_node.1 = (current_node.1 as i32 + y) as usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_tree_height` [INFO] [stdout] --> src/bin/08.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let curr_tree_height = grid.grid[current_node.0][current_node.1].to_digit(10).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_tree_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_tree_height` [INFO] [stdout] --> src/bin/08.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let prev_tree_height = grid.grid[previous_node.0][previous_node.1].to_digit(10).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_tree_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | Direction::UP(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | Direction::UP(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | Direction::DOWN(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | Direction::DOWN(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | Direction::LEFT(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:165:28 [INFO] [stdout] | [INFO] [stdout] 165 | Direction::LEFT(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | Direction::RIGHT(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | Direction::RIGHT(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/11.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/11.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `addx` should have an upper camel case name [INFO] [stdout] --> src/bin/10.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | addx, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Addx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `noop` should have an upper camel case name [INFO] [stdout] --> src/bin/10.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | noop, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Noop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `buffer` should have an upper camel case name [INFO] [stdout] --> src/bin/10.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | buffer, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/10.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | signal_strengths += (register * cycle as i32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - signal_strengths += (register * cycle as i32); [INFO] [stdout] 77 + signal_strengths += register * cycle as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | Direction::UP(x, y) => current_node.0 = (current_node.0 as i32 + x) as usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | Direction::DOWN(x, y) => current_node.0 = (current_node.0 as i32 + x) as usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | Direction::LEFT(x, y) => current_node.1 = (current_node.1 as i32 + y) as usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | Direction::RIGHT(x, y) => current_node.1 = (current_node.1 as i32 + y) as usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_tree_height` [INFO] [stdout] --> src/bin/08.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let curr_tree_height = grid.grid[current_node.0][current_node.1].to_digit(10).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_tree_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `addx` should have an upper camel case name [INFO] [stdout] --> src/bin/10.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | addx, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Addx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `noop` should have an upper camel case name [INFO] [stdout] --> src/bin/10.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | noop, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Noop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_tree_height` [INFO] [stdout] --> src/bin/08.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let prev_tree_height = grid.grid[previous_node.0][previous_node.1].to_digit(10).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_tree_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `buffer` should have an upper camel case name [INFO] [stdout] --> src/bin/10.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | buffer, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/10.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | signal_strengths += (register * cycle as i32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - signal_strengths += (register * cycle as i32); [INFO] [stdout] 77 + signal_strengths += register * cycle as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | Direction::UP(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | Direction::UP(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | Direction::DOWN(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | Direction::DOWN(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | Direction::LEFT(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:165:28 [INFO] [stdout] | [INFO] [stdout] 165 | Direction::LEFT(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/08.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | Direction::RIGHT(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/08.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | Direction::RIGHT(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overlap` is never used [INFO] [stdout] --> src/bin/04.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Range { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn overlap (&self, other: &Range) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/bin/06.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/10.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut parts = line.split_whitespace().collect_vec(); [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: unused variable: `crt_drawing` [INFO] [stdout] --> src/bin/10.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let crt_drawing : Vec> = vec![vec![' ';40];6]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crt_drawing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/10.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut parts = line.split_whitespace().collect_vec(); [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: unused variable: `crt_drawing` [INFO] [stdout] --> src/bin/10.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let crt_drawing : Vec> = vec![vec![' ';40];6]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crt_drawing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/bin/06.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "4eed45178dd0dbfec74e8fcff38442123a166ccd06843c2f0b262128a0da7440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eed45178dd0dbfec74e8fcff38442123a166ccd06843c2f0b262128a0da7440", kill_on_drop: false }` [INFO] [stdout] 4eed45178dd0dbfec74e8fcff38442123a166ccd06843c2f0b262128a0da7440 [INFO] checking acrucetta/advent-of-code-2022 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facrucetta%2Fadvent-of-code-2022" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acrucetta/advent-of-code-2022 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/acrucetta/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/acrucetta/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/acrucetta/advent-of-code-2022 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/acrucetta/advent-of-code-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e4c78c08efee2d8164c6c5f7561f59132b5d69ba71842ba91945ea7d648daf8 [INFO] running `Command { std: "docker" "start" "-a" "5e4c78c08efee2d8164c6c5f7561f59132b5d69ba71842ba91945ea7d648daf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e4c78c08efee2d8164c6c5f7561f59132b5d69ba71842ba91945ea7d648daf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4c78c08efee2d8164c6c5f7561f59132b5d69ba71842ba91945ea7d648daf8", kill_on_drop: false }` [INFO] [stdout] 5e4c78c08efee2d8164c6c5f7561f59132b5d69ba71842ba91945ea7d648daf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1236de6134a8949310d943ca76bb98ab04d02f64afb763a5be520c7c0f0f9f0 [INFO] running `Command { std: "docker" "start" "-a" "f1236de6134a8949310d943ca76bb98ab04d02f64afb763a5be520c7c0f0f9f0", kill_on_drop: false }` [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-1.7.0/src/exec.rs:848:13 [INFO] [stdout] | [INFO] [stdout] 848 | / match dfa::Fsm::reverse( [INFO] [stdout] 849 | | &self.ro.dfa_reverse, [INFO] [stdout] 850 | | self.cache.value(), [INFO] [stdout] 851 | | false, [INFO] [stdout] ... | [INFO] [stdout] 862 | | Quit => return Some(Quit), [INFO] [stdout] 863 | | }; [INFO] [stdout] | |_____________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f1236de6134a8949310d943ca76bb98ab04d02f64afb763a5be520c7c0f0f9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1236de6134a8949310d943ca76bb98ab04d02f64afb763a5be520c7c0f0f9f0", kill_on_drop: false }` [INFO] [stdout] f1236de6134a8949310d943ca76bb98ab04d02f64afb763a5be520c7c0f0f9f0