[INFO] cloning repository https://github.com/duien/advent_of_code_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duien/advent_of_code_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduien%2Fadvent_of_code_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduien%2Fadvent_of_code_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75eecb8a8e20bdfcc5bd5f60a8491124804bc71b [INFO] testing duien/advent_of_code_2024 against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduien%2Fadvent_of_code_2024" "/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/duien/advent_of_code_2024 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/duien/advent_of_code_2024 [INFO] finished tweaking git repo https://github.com/duien/advent_of_code_2024 [INFO] tweaked toml for git repo https://github.com/duien/advent_of_code_2024 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/duien/advent_of_code_2024 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] 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] af43bd50c57ff2287b470999a2e2f321546dd097e16e9ae734c3ab334b14dd78 [INFO] running `Command { std: "docker" "start" "-a" "af43bd50c57ff2287b470999a2e2f321546dd097e16e9ae734c3ab334b14dd78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af43bd50c57ff2287b470999a2e2f321546dd097e16e9ae734c3ab334b14dd78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af43bd50c57ff2287b470999a2e2f321546dd097e16e9ae734c3ab334b14dd78", kill_on_drop: false }` [INFO] [stdout] af43bd50c57ff2287b470999a2e2f321546dd097e16e9ae734c3ab334b14dd78 [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] ce7ae65df983dc7237d2ff3f4ee9055f57c3ba5a5279bd75f1b32e0f277ff64b [INFO] running `Command { std: "docker" "start" "-a" "ce7ae65df983dc7237d2ff3f4ee9055f57c3ba5a5279bd75f1b32e0f277ff64b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling grid v0.15.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `DAY` is never used [INFO] [stdout] --> src/bin/day_00.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const DAY: u8 = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_INPUT` is never used [INFO] [stdout] --> src/bin/day_00.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const TEST_INPUT: &str = "\ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_input` is never used [INFO] [stdout] --> src/bin/day_00.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn file_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/day_14.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | dbg!(mul_args("mul(a,b)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | dbg!(mul_args("mul(5,6)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | dbg!(mul_args("mul(65)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | dbg!(mul_args("mul(65,)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | dbg!(mul_args("mul(65,187)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(mul_args("mul(65,foo)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | dbg!(mul_args("mul(65,8)extra")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | dbg!(mul_args("mul[65,8]extra")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | dbg!(garbage(TEST_INPUT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | dbg!(after_garbage(TEST_INPUT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | dbg!(many_after_garbage(TEST_INPUT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> src/bin/day_06.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Laboratory { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | guard: Option, [INFO] [stdout] 35 | grid: Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Laboratory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `advance` is never used [INFO] [stdout] --> src/bin/day_06.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Laboratory { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 39 | fn advance(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `obstruction` is never read [INFO] [stdout] --> src/bin/day_06.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct Location { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 77 | obstruction: bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `facing` is never read [INFO] [stdout] --> src/bin/day_06.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | struct Guard { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 82 | location: Coord, [INFO] [stdout] 83 | facing: Direction [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Guard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `facing_location` is never used [INFO] [stdout] --> src/bin/day_06.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl Guard { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 87 | fn facing_location(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `South`, `East`, and `West` are never constructed [INFO] [stdout] --> src/bin/day_06.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 97 | North, South, East, West [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_input` is never used [INFO] [stdout] --> src/bin/day_06.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn file_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inspect_disk` is never used [INFO] [stdout] --> src/bin/day_09.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn inspect_disk(disk: &[Option]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_14.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | for _ in 0..=step { movers.iter_mut().for_each(|mut m| m.step()); } [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/bin/day_14.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | movers.iter_mut().for_each(|mut m| m.step()); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_14.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | io::stdin().read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = io::stdin().read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.73s [INFO] running `Command { std: "docker" "inspect" "ce7ae65df983dc7237d2ff3f4ee9055f57c3ba5a5279bd75f1b32e0f277ff64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7ae65df983dc7237d2ff3f4ee9055f57c3ba5a5279bd75f1b32e0f277ff64b", kill_on_drop: false }` [INFO] [stdout] ce7ae65df983dc7237d2ff3f4ee9055f57c3ba5a5279bd75f1b32e0f277ff64b [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] f62d6282fae875805d19eb8dfdf674817408bd721aa36bd61f1679b2b71ad159 [INFO] running `Command { std: "docker" "start" "-a" "f62d6282fae875805d19eb8dfdf674817408bd721aa36bd61f1679b2b71ad159", kill_on_drop: false }` [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `DAY` is never used [INFO] [stdout] --> src/bin/day_00.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const DAY: u8 = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_INPUT` is never used [INFO] [stdout] --> src/bin/day_00.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const TEST_INPUT: &str = "\ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_input` is never used [INFO] [stdout] --> src/bin/day_00.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn file_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/day_14.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inspect_disk` is never used [INFO] [stdout] --> src/bin/day_09.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn inspect_disk(disk: &[Option]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_14.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | for _ in 0..=step { movers.iter_mut().for_each(|mut m| m.step()); } [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/bin/day_14.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | movers.iter_mut().for_each(|mut m| m.step()); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> src/bin/day_06.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Laboratory { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | guard: Option, [INFO] [stdout] 35 | grid: Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Laboratory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `advance` is never used [INFO] [stdout] --> src/bin/day_06.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Laboratory { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 39 | fn advance(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `obstruction` is never read [INFO] [stdout] --> src/bin/day_06.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct Location { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 77 | obstruction: bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `facing` is never read [INFO] [stdout] --> src/bin/day_06.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | struct Guard { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 82 | location: Coord, [INFO] [stdout] 83 | facing: Direction [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Guard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `facing_location` is never used [INFO] [stdout] --> src/bin/day_06.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl Guard { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 87 | fn facing_location(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `South`, `East`, and `West` are never constructed [INFO] [stdout] --> src/bin/day_06.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 97 | North, South, East, West [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_input` is never used [INFO] [stdout] --> src/bin/day_06.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn file_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | dbg!(mul_args("mul(a,b)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | dbg!(mul_args("mul(5,6)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | dbg!(mul_args("mul(65)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | dbg!(mul_args("mul(65,)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | dbg!(mul_args("mul(65,187)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(mul_args("mul(65,foo)")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | dbg!(mul_args("mul(65,8)extra")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | dbg!(mul_args("mul[65,8]extra")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | dbg!(garbage(TEST_INPUT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | dbg!(after_garbage(TEST_INPUT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_03.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | dbg!(many_after_garbage(TEST_INPUT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day_14.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | io::stdin().read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = io::stdin().read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "f62d6282fae875805d19eb8dfdf674817408bd721aa36bd61f1679b2b71ad159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62d6282fae875805d19eb8dfdf674817408bd721aa36bd61f1679b2b71ad159", kill_on_drop: false }` [INFO] [stdout] f62d6282fae875805d19eb8dfdf674817408bd721aa36bd61f1679b2b71ad159 [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] 3e43166905ec6e0ec10931183c356c5ae032c9bbae55cc8acbf0def4e29c1c55 [INFO] running `Command { std: "docker" "start" "-a" "3e43166905ec6e0ec10931183c356c5ae032c9bbae55cc8acbf0def4e29c1c55", kill_on_drop: false }` [INFO] [stderr] warning: field `grid` is never read [INFO] [stderr] --> src/bin/day_06.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 33 | struct Laboratory { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 34 | guard: Option, [INFO] [stderr] 35 | grid: Vec> [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Laboratory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `advance` is never used [INFO] [stderr] --> src/bin/day_06.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 38 | impl Laboratory { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 39 | fn advance(&mut self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `obstruction` is never read [INFO] [stderr] --> src/bin/day_06.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 76 | struct Location { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 77 | obstruction: bool [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `facing` is never read [INFO] [stderr] --> src/bin/day_06.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 81 | struct Guard { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 82 | location: Coord, [INFO] [stderr] 83 | facing: Direction [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Guard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `facing_location` is never used [INFO] [stderr] --> src/bin/day_06.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 86 | impl Guard { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 87 | fn facing_location(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `South`, `East`, and `West` are never constructed [INFO] [stderr] --> src/bin/day_06.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 96 | enum Direction { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 97 | North, South, East, West [INFO] [stderr] | ^^^^^ ^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `file_input` is never used [INFO] [stderr] --> src/bin/day_06.rs:100:4 [INFO] [stderr] | [INFO] [stderr] 100 | fn file_input() -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DAY` is never used [INFO] [stderr] --> src/bin/day_00.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | const DAY: u8 = 0; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `TEST_INPUT` is never used [INFO] [stderr] --> src/bin/day_00.rs:2:7 [INFO] [stderr] | [INFO] [stderr] 2 | const TEST_INPUT: &str = "\ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `file_input` is never used [INFO] [stderr] --> src/bin/day_00.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn file_input() -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `inspect_disk` is never used [INFO] [stderr] --> src/bin/day_09.rs:85:4 [INFO] [stderr] | [INFO] [stderr] 85 | fn inspect_disk(disk: &[Option]) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | dbg!(mul_args("mul(a,b)")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | dbg!(mul_args("mul(5,6)")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | dbg!(mul_args("mul(65)")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | dbg!(mul_args("mul(65,)")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | dbg!(mul_args("mul(65,187)")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | dbg!(mul_args("mul(65,foo)")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | dbg!(mul_args("mul(65,8)extra")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | dbg!(mul_args("mul[65,8]extra")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | dbg!(garbage(TEST_INPUT)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | dbg!(after_garbage(TEST_INPUT)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_03.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | dbg!(many_after_garbage(TEST_INPUT)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `aoc` (bin "day_06" test) generated 7 warnings [INFO] [stderr] warning: `aoc` (bin "day_00" test) generated 3 warnings [INFO] [stderr] warning: `aoc` (bin "day_09" test) generated 1 warning [INFO] [stderr] warning: `aoc` (bin "day_03" test) generated 11 warnings [INFO] [stderr] warning: denote infinite loops with `loop { ... }` [INFO] [stderr] --> src/bin/day_14.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | while true { [INFO] [stderr] | ^^^^^^^^^^ help: use `loop` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(while_true)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/day_14.rs:39:53 [INFO] [stderr] | [INFO] [stderr] 39 | for _ in 0..=step { movers.iter_mut().for_each(|mut m| m.step()); } [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: variable does not need to be mutable [INFO] [stderr] --> src/bin/day_14.rs:42:37 [INFO] [stderr] | [INFO] [stderr] 42 | movers.iter_mut().for_each(|mut m| m.step()); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/day_14.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | io::stdin().read_line(&mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 51 | let _ = io::stdin().read_line(&mut buf); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `aoc` (bin "day_14" test) generated 4 warnings (run `cargo fix --bin "day_14" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/bin/day_00.rs (/opt/rustwide/target/debug/deps/day_00-ddfbeb40f64e3fb2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day_01.rs (/opt/rustwide/target/debug/deps/day_01-65b8c73404f16b4a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day_02.rs (/opt/rustwide/target/debug/deps/day_02-dd92e83b6ecbf7ac) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test safety_checking::test_count_could_be_safe ... ok [INFO] [stderr] Running unittests src/bin/day_03.rs (/opt/rustwide/target/debug/deps/day_03-7b71a3a02574f0fc) [INFO] [stdout] test safety_checking::test_count_is_safe ... ok [INFO] [stdout] test safety_checking::test_various_reports ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day_04.rs (/opt/rustwide/target/debug/deps/day_04-23d01c1e430d198b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day_05.rs (/opt/rustwide/target/debug/deps/day_05-5b5f795c0aa4c0fe) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day_06.rs (/opt/rustwide/target/debug/deps/day_06-3e38d321351bdc81) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day_08.rs (/opt/rustwide/target/debug/deps/day_08-82bd1065c232c1be) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day_09.rs (/opt/rustwide/target/debug/deps/day_09-420c7f6e43942d21) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/bin/day_11.rs (/opt/rustwide/target/debug/deps/day_11-06b874813b344917) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day_14.rs (/opt/rustwide/target/debug/deps/day_14-1ad4c4a2b7ce6cea) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3e43166905ec6e0ec10931183c356c5ae032c9bbae55cc8acbf0def4e29c1c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e43166905ec6e0ec10931183c356c5ae032c9bbae55cc8acbf0def4e29c1c55", kill_on_drop: false }` [INFO] [stdout] 3e43166905ec6e0ec10931183c356c5ae032c9bbae55cc8acbf0def4e29c1c55