[INFO] cloning repository https://github.com/benzend/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/benzend/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenzend%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenzend%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b6fa6147d30cb194aff0dc962ccb83b3ac6bd61 [INFO] checking benzend/advent-of-code-2023 against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenzend%2Fadvent-of-code-2023" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benzend/advent-of-code-2023 on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benzend/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/benzend/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/benzend/advent-of-code-2023 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/benzend/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" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47fed77c0a921b6baa8b1b8513608bac4db8a901b23ebd24ee53f89856c4cbaf [INFO] running `Command { std: "docker" "start" "-a" "47fed77c0a921b6baa8b1b8513608bac4db8a901b23ebd24ee53f89856c4cbaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47fed77c0a921b6baa8b1b8513608bac4db8a901b23ebd24ee53f89856c4cbaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47fed77c0a921b6baa8b1b8513608bac4db8a901b23ebd24ee53f89856c4cbaf", kill_on_drop: false }` [INFO] [stdout] 47fed77c0a921b6baa8b1b8513608bac4db8a901b23ebd24ee53f89856c4cbaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8b63bec933b62d6cc072fe310f6c8ee7f8560a0ca735595ad46e5c8098edcab [INFO] running `Command { std: "docker" "start" "-a" "d8b63bec933b62d6cc072fe310f6c8ee7f8560a0ca735595ad46e5c8098edcab", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_input` is never used [INFO] [stdout] --> src/advent.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_input(day: AdventDay, part: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AdventDay { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(day: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl AdventPart { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(part: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_and_last_num` is never used [INFO] [stdout] --> src/day_1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn first_and_last_num(s: &str) -> Option<(u128, u128)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_and_last_num_int_n_txt` is never used [INFO] [stdout] --> src/day_1.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn first_and_last_num_int_n_txt(s: &str) -> Option<(u128, u128)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_contains_num` is never used [INFO] [stdout] --> src/day_1.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn str_contains_num(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_extract_num` is never used [INFO] [stdout] --> src/day_1.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn str_extract_num(s: &str) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_first_num_int_or_txt` is never used [INFO] [stdout] --> src/day_1.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn find_first_num_int_or_txt(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_last_num_int_or_txt` is never used [INFO] [stdout] --> src/day_1.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn find_last_num_int_or_txt(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_game` is never used [INFO] [stdout] --> src/day_2.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn valid_game(game: Game, rules: GameRules) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameRules` is never constructed [INFO] [stdout] --> src/day_2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GameRules { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/day_2.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_2.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Game { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(s: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_adjacent_to_special` is never used [INFO] [stdout] --> src/day_3.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn is_adjacent_to_special(special: &(usize, usize, String), num_group: &(usize, usize, String)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl AdventPart { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(part: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "d8b63bec933b62d6cc072fe310f6c8ee7f8560a0ca735595ad46e5c8098edcab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b63bec933b62d6cc072fe310f6c8ee7f8560a0ca735595ad46e5c8098edcab", kill_on_drop: false }` [INFO] [stdout] d8b63bec933b62d6cc072fe310f6c8ee7f8560a0ca735595ad46e5c8098edcab