[INFO] cloning repository https://github.com/landerwells/Advent-of-Code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/landerwells/Advent-of-Code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanderwells%2FAdvent-of-Code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanderwells%2FAdvent-of-Code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d870a1806ba324378fbf924eaa4f64b2bdc7d005 [INFO] testing landerwells/Advent-of-Code against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanderwells%2FAdvent-of-Code" "/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/landerwells/Advent-of-Code on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/landerwells/Advent-of-Code [INFO] finished tweaking git repo https://github.com/landerwells/Advent-of-Code [INFO] tweaked toml for git repo https://github.com/landerwells/Advent-of-Code written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/landerwells/Advent-of-Code 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aochelpers v0.6.1 [INFO] [stderr] Downloaded crypto v0.5.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.39 [INFO] [stderr] Downloaded indoc v2.0.4 [INFO] [stderr] Downloaded futures-io v0.3.29 [INFO] [stderr] Downloaded futures-channel v0.3.29 [INFO] [stderr] Downloaded openssl-sys v0.9.97 [INFO] [stderr] Downloaded eyre v0.6.11 [INFO] [stderr] Downloaded ahash v0.8.6 [INFO] [stderr] Downloaded futures-task v0.3.29 [INFO] [stderr] Downloaded reqwest v0.11.22 [INFO] [stderr] Downloaded futures-util v0.3.29 [INFO] [stderr] Downloaded zerocopy v0.7.30 [INFO] [stderr] Downloaded h2 v0.3.22 [INFO] [stderr] Downloaded syn v2.0.40 [INFO] [stderr] Downloaded futures-sink v0.3.29 [INFO] [stderr] Downloaded openssl v0.10.61 [INFO] [stderr] Downloaded rustix v0.38.28 [INFO] [stderr] Downloaded zerocopy-derive v0.7.30 [INFO] [stderr] Downloaded color-eyre v0.6.2 [INFO] [stderr] Downloaded futures-core v0.3.29 [INFO] [stderr] Downloaded tokio v1.35.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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac98ea862cd6cee94ff291a57960e375c87e99fe868e7c847a0c9259bd722da8 [INFO] running `Command { std: "docker" "start" "-a" "ac98ea862cd6cee94ff291a57960e375c87e99fe868e7c847a0c9259bd722da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac98ea862cd6cee94ff291a57960e375c87e99fe868e7c847a0c9259bd722da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac98ea862cd6cee94ff291a57960e375c87e99fe868e7c847a0c9259bd722da8", kill_on_drop: false }` [INFO] [stdout] ac98ea862cd6cee94ff291a57960e375c87e99fe868e7c847a0c9259bd722da8 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d790892c3d56116af75b67fe37e87abedfcd68c40a3eced5126ce505833a9a05 [INFO] running `Command { std: "docker" "start" "-a" "d790892c3d56116af75b67fe37e87abedfcd68c40a3eced5126ce505833a9a05", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling zerocopy v0.7.30 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling eyre v0.6.11 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling crypto v0.5.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling aochelpers v0.6.1 [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2015/day07.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn part_one(input: &String) -> i32 { [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: unused variable: `input` [INFO] [stdout] --> src/aoc2015/day07.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn part_two(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2015/day08.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn part_one(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2015/day08.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn part_two(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2022/day10.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn part_one(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2022/day10.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn part_two(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `times` is never read [INFO] [stdout] --> src/aoc2023/day06.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut times: Vec = Vec::new(); [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 `distances` is never read [INFO] [stdout] --> src/aoc2023/day06.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut distances: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc2023/day11.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut grid: Vec> = input.lines().map(|line| line.chars().collect()).collect(); [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: `input` [INFO] [stdout] --> src/aoc2023/day12.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn part_one(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2023/day12.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn part_two(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/aoc2023/day13.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | valid = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/aoc2023/day13.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | valid = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_ranges_overlap` is never used [INFO] [stdout] --> src/aoc2023/day05.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn do_ranges_overlap(a: std::ops::Range, b: std::ops::Range) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shift_range` is never used [INFO] [stdout] --> src/aoc2023/day05.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn shift_range(r: std::ops::Range, offset: usize) -> std::ops::Range { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> src/aoc2023/day12.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn is_valid(groups: Vec<&str>, counts: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.14s [INFO] running `Command { std: "docker" "inspect" "d790892c3d56116af75b67fe37e87abedfcd68c40a3eced5126ce505833a9a05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d790892c3d56116af75b67fe37e87abedfcd68c40a3eced5126ce505833a9a05", kill_on_drop: false }` [INFO] [stdout] d790892c3d56116af75b67fe37e87abedfcd68c40a3eced5126ce505833a9a05 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92b117cde83965a0f1e9240ecb72e24074ad90be24beca093bd16e2a646a1824 [INFO] running `Command { std: "docker" "start" "-a" "92b117cde83965a0f1e9240ecb72e24074ad90be24beca093bd16e2a646a1824", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2015/day07.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn part_one(input: &String) -> i32 { [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: unused variable: `input` [INFO] [stdout] --> src/aoc2015/day07.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn part_two(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2015/day08.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn part_one(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2015/day08.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn part_two(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2022/day10.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn part_one(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2022/day10.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn part_two(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `times` is never read [INFO] [stdout] --> src/aoc2023/day06.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut times: Vec = Vec::new(); [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 `distances` is never read [INFO] [stdout] --> src/aoc2023/day06.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut distances: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc2023/day11.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut grid: Vec> = input.lines().map(|line| line.chars().collect()).collect(); [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: `input` [INFO] [stdout] --> src/aoc2023/day12.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn part_one(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc2023/day12.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn part_two(input: &String) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/aoc2023/day13.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | valid = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/aoc2023/day13.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | valid = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_ranges_overlap` is never used [INFO] [stdout] --> src/aoc2023/day05.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn do_ranges_overlap(a: std::ops::Range, b: std::ops::Range) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shift_range` is never used [INFO] [stdout] --> src/aoc2023/day05.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn shift_range(r: std::ops::Range, offset: usize) -> std::ops::Range { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "92b117cde83965a0f1e9240ecb72e24074ad90be24beca093bd16e2a646a1824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92b117cde83965a0f1e9240ecb72e24074ad90be24beca093bd16e2a646a1824", kill_on_drop: false }` [INFO] [stdout] 92b117cde83965a0f1e9240ecb72e24074ad90be24beca093bd16e2a646a1824 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad8e331357ce41e1b50793ebdc3ceee2637f4bb2fb9232d89bec6543724794b5 [INFO] running `Command { std: "docker" "start" "-a" "ad8e331357ce41e1b50793ebdc3ceee2637f4bb2fb9232d89bec6543724794b5", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/aoc2015/day07.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | fn part_one(input: &String) -> i32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/aoc2015/day07.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | fn part_two(input: &String) -> i32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/aoc2015/day08.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | fn part_one(input: &String) -> i32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/aoc2015/day08.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | fn part_two(input: &String) -> i32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/aoc2022/day10.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | fn part_one(input: &String) -> i32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/aoc2022/day10.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | fn part_two(input: &String) -> i32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `times` is never read [INFO] [stderr] --> src/aoc2023/day06.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let mut times: Vec = Vec::new(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `distances` is never read [INFO] [stderr] --> src/aoc2023/day06.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let mut distances: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aoc2023/day11.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let mut grid: Vec> = input.lines().map(|line| line.chars().collect()).collect(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/aoc2023/day12.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | fn part_one(input: &String) -> i32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/aoc2023/day12.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | fn part_two(input: &String) -> i32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `valid` is never read [INFO] [stderr] --> src/aoc2023/day13.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | valid = true; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `valid` is never read [INFO] [stderr] --> src/aoc2023/day13.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | valid = false; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: function `do_ranges_overlap` is never used [INFO] [stderr] --> src/aoc2023/day05.rs:110:4 [INFO] [stderr] | [INFO] [stderr] 110 | fn do_ranges_overlap(a: std::ops::Range, b: std::ops::Range) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `shift_range` is never used [INFO] [stderr] --> src/aoc2023/day05.rs:114:4 [INFO] [stderr] | [INFO] [stderr] 114 | fn shift_range(r: std::ops::Range, offset: usize) -> std::ops::Range { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `advent_of_code` (bin "advent_of_code" test) generated 15 warnings (run `cargo fix --bin "advent_of_code" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code-22b8c6a80adb3d0f) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test aoc2015::day02::tests::test_calculate_ribbon ... ok [INFO] [stdout] test aoc2015::day02::tests::test_calculate_wrapping_paper ... ok [INFO] [stdout] test aoc2023::day07::tests::test_part1 ... ok [INFO] [stdout] test aoc2023::day07::tests::test_score_part1 ... ok [INFO] [stdout] test aoc2023::day11::tests::test_calculate_distance ... ok [INFO] [stdout] test aoc2023::day07::tests::test_part2 ... ok [INFO] [stdout] test aoc2023::day11::tests::test_solve_part_one ... ok [INFO] [stdout] test aoc2023::day12::tests::test_is_valid ... ok [INFO] [stdout] test aoc2023::day13::tests::test_horizontal_mirror_one ... ok [INFO] [stdout] test aoc2023::day13::tests::test_horizontal_mirror ... ok [INFO] [stdout] test aoc2023::day13::tests::test_vertical_mirror ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad8e331357ce41e1b50793ebdc3ceee2637f4bb2fb9232d89bec6543724794b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8e331357ce41e1b50793ebdc3ceee2637f4bb2fb9232d89bec6543724794b5", kill_on_drop: false }` [INFO] [stdout] ad8e331357ce41e1b50793ebdc3ceee2637f4bb2fb9232d89bec6543724794b5