[INFO] cloning repository https://github.com/Erlendlbr/adventofcode23 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Erlendlbr/adventofcode23" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErlendlbr%2Fadventofcode23", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErlendlbr%2Fadventofcode23'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dee39da49440674059a6386b4b774228aa000cfd [INFO] checking Erlendlbr/adventofcode23 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErlendlbr%2Fadventofcode23" "/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/Erlendlbr/adventofcode23 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Erlendlbr/adventofcode23 [INFO] finished tweaking git repo https://github.com/Erlendlbr/adventofcode23 [INFO] tweaked toml for git repo https://github.com/Erlendlbr/adventofcode23 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Erlendlbr/adventofcode23 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" "+2e6fc425411280c658d852813de01c5157255088" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3268941a1f6b1c78d9cfed37a16d37e12961168aaa0be67edddb233d6f92807b [INFO] running `Command { std: "docker" "start" "-a" "3268941a1f6b1c78d9cfed37a16d37e12961168aaa0be67edddb233d6f92807b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3268941a1f6b1c78d9cfed37a16d37e12961168aaa0be67edddb233d6f92807b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3268941a1f6b1c78d9cfed37a16d37e12961168aaa0be67edddb233d6f92807b", kill_on_drop: false }` [INFO] [stdout] 3268941a1f6b1c78d9cfed37a16d37e12961168aaa0be67edddb233d6f92807b [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e93da355f4c5e02a06662912d5a0509f014eea92388fd46a9c7051cc8a4a496 [INFO] running `Command { std: "docker" "start" "-a" "5e93da355f4c5e02a06662912d5a0509f014eea92388fd46a9c7051cc8a4a496", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking adv23 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day_13/mirror.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | if (vec[idx + off] != vec[idx - off - 1]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - if (vec[idx + off] != vec[idx - off - 1]) { [INFO] [stdout] 43 + if vec[idx + off] != vec[idx - off - 1] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day_13/mirror.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | if (cmp_a != cmp_b) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - if (cmp_a != cmp_b) { [INFO] [stdout] 119 + if cmp_a != cmp_b { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/day_17/search.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day_13/mirror.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | if (vec[idx + off] != vec[idx - off - 1]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - if (vec[idx + off] != vec[idx - off - 1]) { [INFO] [stdout] 43 + if vec[idx + off] != vec[idx - off - 1] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day_13/mirror.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | if (cmp_a != cmp_b) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - if (cmp_a != cmp_b) { [INFO] [stdout] 119 + if cmp_a != cmp_b { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/day_17/search.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/day_12/spring.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | let mut temp = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/day_12/spring.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | let mut temp = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_12/spring.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut initial = setUP.as_slice(); [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/day_12/spring.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut initial = setUP.as_slice(); [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: `msng` [INFO] [stdout] --> src/day_12/spring.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let msng = rec - dmg; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_msng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/day_12/spring.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let pos: Vec = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msng` [INFO] [stdout] --> src/day_12/spring.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let msng = rec - dmg; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_msng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/day_12/spring.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let pos: Vec = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unk` [INFO] [stdout] --> src/day_12/spring.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let unk = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_unk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msng` [INFO] [stdout] --> src/day_12/spring.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let msng = rec - dmg; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_msng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recs` [INFO] [stdout] --> src/day_12/spring.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let recs: Vec = vec![]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unk` [INFO] [stdout] --> src/day_12/spring.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let unk = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_unk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msng` [INFO] [stdout] --> src/day_12/spring.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let msng = rec - dmg; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_msng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recs` [INFO] [stdout] --> src/day_12/spring.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let recs: Vec = vec![]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/day_13/mirror.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | for (idx, line) in vec.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/day_13/mirror.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | for (idx, line) in vec.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/day_17/search.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut current = start; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/day_17/search.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut score = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `goal` [INFO] [stdout] --> src/day_17/search.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | fn star_rest(start:(usize,usize), goal: (usize,usize), matrix: [[char; INPUT_SIZE];INPUT_SIZE]) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_goal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/day_17/search.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | fn star_rest(start:(usize,usize), goal: (usize,usize), matrix: [[char; INPUT_SIZE];INPUT_SIZE]) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_17/search.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut current = start; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_17/search.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut score = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/day_17/search.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut current = start; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/day_17/search.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut score = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `goal` [INFO] [stdout] --> src/day_17/search.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | fn star_rest(start:(usize,usize), goal: (usize,usize), matrix: [[char; INPUT_SIZE];INPUT_SIZE]) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_goal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/day_17/search.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | fn star_rest(start:(usize,usize), goal: (usize,usize), matrix: [[char; INPUT_SIZE];INPUT_SIZE]) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_17/search.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut current = start; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_17/search.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut score = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/day_12/spring.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl SpringRecord { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn check_cond(&self, cond: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn generate_posibale(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn amount_posibale_expanded(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn generate_posibale_rec(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | fn rec_valid(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn simple_gues(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | fn amount_posibale(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `North`, `South`, and `West` are never constructed [INFO] [stdout] --> src/day_17/search.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum CardinalDirection { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 9 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | East, [INFO] [stdout] 12 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardinalDirection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `setUP` should have a snake case name [INFO] [stdout] --> src/day_12/spring.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut setUP = self.condition.clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `set_up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_HASHMAP` should have a snake case name [INFO] [stdout] --> src/day_15/hash.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn generate_HASHMAP(seq: &str) -> AdvHashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_hashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/day_12/spring.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl SpringRecord { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn check_cond(&self, cond: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn generate_posibale(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn amount_posibale_expanded(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn generate_posibale_rec(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | fn rec_valid(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn simple_gues(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | fn amount_posibale(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `North`, `South`, and `West` are never constructed [INFO] [stdout] --> src/day_17/search.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum CardinalDirection { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 9 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | East, [INFO] [stdout] 12 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardinalDirection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `setUP` should have a snake case name [INFO] [stdout] --> src/day_12/spring.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut setUP = self.condition.clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `set_up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_HASHMAP` should have a snake case name [INFO] [stdout] --> src/day_15/hash.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn generate_HASHMAP(seq: &str) -> AdvHashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_hashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "5e93da355f4c5e02a06662912d5a0509f014eea92388fd46a9c7051cc8a4a496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e93da355f4c5e02a06662912d5a0509f014eea92388fd46a9c7051cc8a4a496", kill_on_drop: false }` [INFO] [stdout] 5e93da355f4c5e02a06662912d5a0509f014eea92388fd46a9c7051cc8a4a496 [INFO] checking Erlendlbr/adventofcode23 against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErlendlbr%2Fadventofcode23" "/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/Erlendlbr/adventofcode23 on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Erlendlbr/adventofcode23 [INFO] finished tweaking git repo https://github.com/Erlendlbr/adventofcode23 [INFO] tweaked toml for git repo https://github.com/Erlendlbr/adventofcode23 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Erlendlbr/adventofcode23 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d8ec9ce61c7f3c57434e2e18d20d46d47d9bf87cfbdfb80b87ec5bb3bc70b04 [INFO] running `Command { std: "docker" "start" "-a" "8d8ec9ce61c7f3c57434e2e18d20d46d47d9bf87cfbdfb80b87ec5bb3bc70b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d8ec9ce61c7f3c57434e2e18d20d46d47d9bf87cfbdfb80b87ec5bb3bc70b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d8ec9ce61c7f3c57434e2e18d20d46d47d9bf87cfbdfb80b87ec5bb3bc70b04", kill_on_drop: false }` [INFO] [stdout] 8d8ec9ce61c7f3c57434e2e18d20d46d47d9bf87cfbdfb80b87ec5bb3bc70b04 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bebaa920935e57fa927401c36ff2c15e98f56d246716a3bb70f1e24e5d13e47 [INFO] running `Command { std: "docker" "start" "-a" "7bebaa920935e57fa927401c36ff2c15e98f56d246716a3bb70f1e24e5d13e47", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 825 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 826 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 827 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 828 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 829 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 831 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7bebaa920935e57fa927401c36ff2c15e98f56d246716a3bb70f1e24e5d13e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bebaa920935e57fa927401c36ff2c15e98f56d246716a3bb70f1e24e5d13e47", kill_on_drop: false }` [INFO] [stdout] 7bebaa920935e57fa927401c36ff2c15e98f56d246716a3bb70f1e24e5d13e47