[INFO] cloning repository https://github.com/SpicyRicecaker/advent-of-code-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpicyRicecaker/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0a1f2f41ab6993a7824723b657d27b735757e91 [INFO] checking SpicyRicecaker/advent-of-code-2021/c0a1f2f41ab6993a7824723b657d27b735757e91 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fadvent-of-code-2021" "/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/SpicyRicecaker/advent-of-code-2021 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SpicyRicecaker/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/SpicyRicecaker/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/SpicyRicecaker/advent-of-code-2021 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SpicyRicecaker/advent-of-code-2021 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b57c808e8c3aa4ff4526af3c80d7d8d103b61488c4cd96a1b6696ddf36fd71a [INFO] running `Command { std: "docker" "start" "-a" "8b57c808e8c3aa4ff4526af3c80d7d8d103b61488c4cd96a1b6696ddf36fd71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b57c808e8c3aa4ff4526af3c80d7d8d103b61488c4cd96a1b6696ddf36fd71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b57c808e8c3aa4ff4526af3c80d7d8d103b61488c4cd96a1b6696ddf36fd71a", kill_on_drop: false }` [INFO] [stdout] 8b57c808e8c3aa4ff4526af3c80d7d8d103b61488c4cd96a1b6696ddf36fd71a [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a90737b3dc9d47344c24c3ac5bfcd4f6eab5cf9a0bed7b4e044638d0fc63f7db [INFO] running `Command { std: "docker" "start" "-a" "a90737b3dc9d47344c24c3ac5bfcd4f6eab5cf9a0bed7b4e044638d0fc63f7db", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir/twenty-one) [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking regex-automata v0.3.2 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking twenty-two v0.1.0 (/opt/rustwide/workdir/twenty-two) [INFO] [stderr] Checking twenty-three v0.1.0 (/opt/rustwide/workdir/twenty-three) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> twenty-three/src/bin/8.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> twenty-three/src/bin/8-2.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::ControlFlow` [INFO] [stdout] --> twenty-two/src/bin/seventeen_two.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ops::ControlFlow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> twenty-three/src/bin/8.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> twenty-three/src/bin/8-2.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cleared_lines` is never read [INFO] [stdout] --> twenty-two/src/bin/seventeen_two.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | cleared_lines: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> twenty-three/src/bin/7.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> twenty-three/src/bin/5.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut seeds: Vec<_> = it [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> twenty-three/src/bin/7.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::ControlFlow` [INFO] [stdout] --> twenty-two/src/bin/seventeen_two.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ops::ControlFlow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cleared_lines` is never read [INFO] [stdout] --> twenty-two/src/bin/seventeen_two.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | cleared_lines: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> twenty-three/src/bin/4-2.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut S: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> twenty-three/src/bin/7-2.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut number_hand = to_number_hand(hand, &card_rank); [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] --> twenty-three/src/bin/5.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut seeds: Vec<_> = it [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: function `num_cards_by_occ_to_char_cards_by_occ` is never used [INFO] [stdout] --> twenty-three/src/bin/7-2.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn num_cards_by_occ_to_char_cards_by_occ(v: &[(u32, u32)], card_rank: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_hand_to_char_hand` is never used [INFO] [stdout] --> twenty-three/src/bin/7-2.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn number_hand_to_char_hand(number_hand: [u32; 5], card_rank: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> twenty-three/src/bin/4-2.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut S: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> twenty-three/src/bin/7-2.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut number_hand = to_number_hand(hand, &card_rank); [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: function `num_cards_by_occ_to_char_cards_by_occ` is never used [INFO] [stdout] --> twenty-three/src/bin/7-2.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn num_cards_by_occ_to_char_cards_by_occ(v: &[(u32, u32)], card_rank: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_hand_to_char_hand` is never used [INFO] [stdout] --> twenty-three/src/bin/7-2.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn number_hand_to_char_hand(number_hand: [u32; 5], card_rank: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.08s [INFO] running `Command { std: "docker" "inspect" "a90737b3dc9d47344c24c3ac5bfcd4f6eab5cf9a0bed7b4e044638d0fc63f7db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a90737b3dc9d47344c24c3ac5bfcd4f6eab5cf9a0bed7b4e044638d0fc63f7db", kill_on_drop: false }` [INFO] [stdout] a90737b3dc9d47344c24c3ac5bfcd4f6eab5cf9a0bed7b4e044638d0fc63f7db