[INFO] cloning repository https://github.com/ghsyeung/aoc_2022_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ghsyeung/aoc_2022_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghsyeung%2Faoc_2022_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghsyeung%2Faoc_2022_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff9e5a811c08723919ad896046a84280ffcedd80 [INFO] checking ghsyeung/aoc_2022_rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghsyeung%2Faoc_2022_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ghsyeung/aoc_2022_rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/ghsyeung/aoc_2022_rust [INFO] finished tweaking git repo https://github.com/ghsyeung/aoc_2022_rust [INFO] tweaked toml for git repo https://github.com/ghsyeung/aoc_2022_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ghsyeung/aoc_2022_rust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93fd1bd41d8ca40b5fd74ffe4dd1e019c41db38eb4a3ebeb59eb32a0d116d866 [INFO] running `Command { std: "docker" "start" "-a" "93fd1bd41d8ca40b5fd74ffe4dd1e019c41db38eb4a3ebeb59eb32a0d116d866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93fd1bd41d8ca40b5fd74ffe4dd1e019c41db38eb4a3ebeb59eb32a0d116d866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93fd1bd41d8ca40b5fd74ffe4dd1e019c41db38eb4a3ebeb59eb32a0d116d866", kill_on_drop: false }` [INFO] [stdout] 93fd1bd41d8ca40b5fd74ffe4dd1e019c41db38eb4a3ebeb59eb32a0d116d866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8b1a16db27463613279f4de4adae7fcbeaa9b960f15495581d6b9b0ada2750e [INFO] running `Command { std: "docker" "start" "-a" "e8b1a16db27463613279f4de4adae7fcbeaa9b960f15495581d6b9b0ada2750e", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking advent_of_code v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/14.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn part_one(input: &str) -> eyre::Result { [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/bin/14.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part_two(input: &str) -> eyre::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/14.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn part_one(input: &str) -> eyre::Result { [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/bin/14.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part_two(input: &str) -> eyre::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/07.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | Dir(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FileEntryInput` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 92 | Dir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/bin/07.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 107 | impl Walk { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 108 | pub fn path(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dir` and `File` are never constructed [INFO] [stdout] --> src/bin/07.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum FileEntry { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 126 | Dir(HashMap), [INFO] [stdout] | ^^^ [INFO] [stdout] 127 | File(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileEntry` 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 `root` is never read [INFO] [stdout] --> src/bin/07.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct FileSystem { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 132 | pub root: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileSystem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/03.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/06.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/11.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | for i in 0..20 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/11.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `determine_target_2` is never used [INFO] [stdout] --> src/bin/11.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 192 | impl Monkey { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn determine_target_2(&self, item: usize, coprime: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_debug` and `print_active` are never used [INFO] [stdout] --> src/bin/11.rs:280:16 [INFO] [stdout] | [INFO] [stdout] 232 | impl Monkeys { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn print_debug(&self, round: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn print_active(&self, round: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 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: `itertools::Itertools` [INFO] [stdout] --> src/bin/06.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [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: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/03.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/10.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let input = advent_of_code::read_file("examples", 10); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/07.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | Dir(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FileEntryInput` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 92 | Dir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/bin/07.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 107 | impl Walk { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 108 | pub fn path(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dir` and `File` are never constructed [INFO] [stdout] --> src/bin/07.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum FileEntry { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 126 | Dir(HashMap), [INFO] [stdout] | ^^^ [INFO] [stdout] 127 | File(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileEntry` 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 `root` is never read [INFO] [stdout] --> src/bin/07.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct FileSystem { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 132 | pub root: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileSystem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/11.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | for i in 0..20 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/11.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `determine_target_2` is never used [INFO] [stdout] --> src/bin/11.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 192 | impl Monkey { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn determine_target_2(&self, item: usize, coprime: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_debug` and `print_active` are never used [INFO] [stdout] --> src/bin/11.rs:280:16 [INFO] [stdout] | [INFO] [stdout] 232 | impl Monkeys { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn print_debug(&self, round: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn print_active(&self, round: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "e8b1a16db27463613279f4de4adae7fcbeaa9b960f15495581d6b9b0ada2750e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b1a16db27463613279f4de4adae7fcbeaa9b960f15495581d6b9b0ada2750e", kill_on_drop: false }` [INFO] [stdout] e8b1a16db27463613279f4de4adae7fcbeaa9b960f15495581d6b9b0ada2750e