[INFO] cloning repository https://github.com/thuchede/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thuchede/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthuchede%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthuchede%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76d3342b9c2d63e11bdae631444ebc346e277778 [INFO] checking thuchede/advent-of-code-2023 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthuchede%2Fadvent-of-code-2023" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thuchede/advent-of-code-2023 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/thuchede/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/thuchede/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/thuchede/advent-of-code-2023 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thuchede/advent-of-code-2023 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v1.10.2 [INFO] [stderr] Downloaded rayon v1.8.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.16 [INFO] [stderr] Downloaded aho-corasick v1.1.2 [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded same-file v1.0.6 [INFO] [stderr] Downloaded walkdir v2.4.0 [INFO] [stderr] Downloaded either v1.9.0 [INFO] [stderr] Downloaded quote v1.0.33 [INFO] [stderr] Downloaded nom v7.1.3 [INFO] [stderr] Downloaded globset v0.4.14 [INFO] [stderr] Downloaded find_all v2.0.0 [INFO] [stderr] Downloaded serde_derive v1.0.193 [INFO] [stderr] Downloaded serde v1.0.193 [INFO] [stderr] Downloaded bstr v1.8.0 [INFO] [stderr] Downloaded ignore v0.4.21 [INFO] [stderr] Downloaded num-rational v0.4.1 [INFO] [stderr] Downloaded num-traits v0.2.17 [INFO] [stderr] Downloaded num v0.4.1 [INFO] [stderr] Downloaded memoffset v0.9.0 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded regex-automata v0.4.3 [INFO] [stderr] Downloaded regex-syntax v0.8.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.70 [INFO] [stderr] Downloaded syn v2.0.40 [INFO] [stderr] Downloaded log v0.4.20 [INFO] [stderr] Downloaded winapi-util v0.1.6 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded num-complex v0.4.4 [INFO] [stderr] Downloaded num-iter v0.1.43 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded num-integer v0.1.45 [INFO] [stderr] Downloaded rayon-core v1.12.0 [INFO] [stderr] Downloaded minimal-lexical v0.2.1 [INFO] [stderr] Downloaded autocfg v1.1.0 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.15 [INFO] [stderr] Downloaded crossbeam-deque v0.8.3 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f6a24129bde48e8b53b580764b5f74788cebb067d85dff2582efd236d0eb487d [INFO] running `Command { std: "docker" "start" "-a" "f6a24129bde48e8b53b580764b5f74788cebb067d85dff2582efd236d0eb487d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6a24129bde48e8b53b580764b5f74788cebb067d85dff2582efd236d0eb487d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a24129bde48e8b53b580764b5f74788cebb067d85dff2582efd236d0eb487d", kill_on_drop: false }` [INFO] [stdout] f6a24129bde48e8b53b580764b5f74788cebb067d85dff2582efd236d0eb487d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 61630fd1f178641020759bf92a358c754799c90d108a78c9fe88e12342504d8d [INFO] running `Command { std: "docker" "start" "-a" "61630fd1f178641020759bf92a358c754799c90d108a78c9fe88e12342504d8d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking find_all v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [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 aho-corasick v1.1.2 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking ignore v0.4.21 [INFO] [stderr] Checking aoc-2023-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/day12.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | for x in (0..(record.len())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - for x in (0..(record.len())) { [INFO] [stdout] 31 + for x in 0..(record.len()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/day12.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | for x in (0..(record.len())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - for x in (0..(record.len())) { [INFO] [stdout] 54 + for x in 0..(record.len()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/day12.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | for x in (0..(record.len())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - for x in (0..(record.len())) { [INFO] [stdout] 31 + for x in 0..(record.len()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/day12.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | for x in (0..(record.len())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - for x in (0..(record.len())) { [INFO] [stdout] 54 + for x in 0..(record.len()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/day12.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | for x in (0..(sample.len())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 193 - for x in (0..(sample.len())) { [INFO] [stdout] 193 + for x in 0..(sample.len()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/day12.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec) -> (String, Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `records` [INFO] [stdout] --> src/day12.rs:123:38 [INFO] [stdout] | [INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/day13.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | .filter(|(key, group)| *key) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/day13.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | .filter(|(key, group)| *key) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_layouts` [INFO] [stdout] --> src/day14.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut previous_layouts: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_layouts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iterations` [INFO] [stdout] --> src/day14.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut iterations = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iterations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_layout` [INFO] [stdout] --> src/day14.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut new_layout: Vec = flipped.iter().map(|line| slide_rock(line)).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day14.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut previous_layouts: Vec> = 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: variable does not need to be mutable [INFO] [stdout] --> src/day14.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut iterations = 0; [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/day14.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut flipped: Vec = flip(&sample); [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/day14.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut new_layout: Vec = flipped.iter().map(|line| slide_rock(line)).collect(); [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/day14.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut flipped: Vec = flip(&sample); [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/day14.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut new_layout: Vec = flipped.iter().map(|line| slide_rock(line)).collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part2` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let part2 = day14::part_2(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_part2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Hand` is never used [INFO] [stdout] --> src/day07.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | type Hand<'a> = (&'a str, i64, Strength); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ByStrength` is never used [INFO] [stdout] --> src/day07.rs:161:7 [INFO] [stdout] | [INFO] [stdout] 161 | trait ByStrength { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DesertMap` is never constructed [INFO] [stdout] --> src/day08.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct DesertMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_not_valid` is never used [INFO] [stdout] --> src/day12.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn is_not_valid(line: &str, groups: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_large_solution` is never used [INFO] [stdout] --> src/day12.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/day12.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec) -> (String, Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `records` [INFO] [stdout] --> src/day12.rs:123:38 [INFO] [stdout] | [INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/day13.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | .filter(|(key, group)| *key) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/day13.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | .filter(|(key, group)| *key) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_layouts` [INFO] [stdout] --> src/day14.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut previous_layouts: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_layouts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iterations` [INFO] [stdout] --> src/day14.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut iterations = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iterations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_layout` [INFO] [stdout] --> src/day14.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut new_layout: Vec = flipped.iter().map(|line| slide_rock(line)).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day14.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut previous_layouts: Vec> = 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: variable does not need to be mutable [INFO] [stdout] --> src/day14.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut iterations = 0; [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/day14.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut flipped: Vec = flip(&sample); [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/day14.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut new_layout: Vec = flipped.iter().map(|line| slide_rock(line)).collect(); [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/day14.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut flipped: Vec = flip(&sample); [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/day14.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut new_layout: Vec = flipped.iter().map(|line| slide_rock(line)).collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/day14.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let res = read_from("src/input/sample14.txt"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part2` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let part2 = day14::part_2(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_part2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DesertMap` is never constructed [INFO] [stdout] --> src/day08.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct DesertMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_large_solution` is never used [INFO] [stdout] --> src/day12.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.92s [INFO] running `Command { std: "docker" "inspect" "61630fd1f178641020759bf92a358c754799c90d108a78c9fe88e12342504d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61630fd1f178641020759bf92a358c754799c90d108a78c9fe88e12342504d8d", kill_on_drop: false }` [INFO] [stdout] 61630fd1f178641020759bf92a358c754799c90d108a78c9fe88e12342504d8d [INFO] checking thuchede/advent-of-code-2023 against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthuchede%2Fadvent-of-code-2023" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thuchede/advent-of-code-2023 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/thuchede/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/thuchede/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/thuchede/advent-of-code-2023 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thuchede/advent-of-code-2023 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5cf7a0fa04e63637c864f58e6693d6d07619b8db11fee6a12062f1c253a94f2e [INFO] running `Command { std: "docker" "start" "-a" "5cf7a0fa04e63637c864f58e6693d6d07619b8db11fee6a12062f1c253a94f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cf7a0fa04e63637c864f58e6693d6d07619b8db11fee6a12062f1c253a94f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf7a0fa04e63637c864f58e6693d6d07619b8db11fee6a12062f1c253a94f2e", kill_on_drop: false }` [INFO] [stdout] 5cf7a0fa04e63637c864f58e6693d6d07619b8db11fee6a12062f1c253a94f2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f2cf58454fbdde02316bfc76bea9ac222aa2d51320bb7629ef4d873c314652a2 [INFO] running `Command { std: "docker" "start" "-a" "f2cf58454fbdde02316bfc76bea9ac222aa2d51320bb7629ef4d873c314652a2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking find_all v2.0.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [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 aho-corasick v1.1.2 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [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" "f2cf58454fbdde02316bfc76bea9ac222aa2d51320bb7629ef4d873c314652a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2cf58454fbdde02316bfc76bea9ac222aa2d51320bb7629ef4d873c314652a2", kill_on_drop: false }` [INFO] [stdout] f2cf58454fbdde02316bfc76bea9ac222aa2d51320bb7629ef4d873c314652a2