[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghsyeung%2Faoc_2022_rust" "/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/ghsyeung/aoc_2022_rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-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-7-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.77 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1e1b858011427735ca25279e0f2cb2ab0cb49b684e1829f9b2e5cea8bf2fd8d [INFO] running `Command { std: "docker" "start" "-a" "d1e1b858011427735ca25279e0f2cb2ab0cb49b684e1829f9b2e5cea8bf2fd8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1e1b858011427735ca25279e0f2cb2ab0cb49b684e1829f9b2e5cea8bf2fd8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e1b858011427735ca25279e0f2cb2ab0cb49b684e1829f9b2e5cea8bf2fd8d", kill_on_drop: false }` [INFO] [stdout] d1e1b858011427735ca25279e0f2cb2ab0cb49b684e1829f9b2e5cea8bf2fd8d [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 945ecce6fe125793306a22ad271d6f2722f97d0424eb612d71d4b9ff69000be0 [INFO] running `Command { std: "docker" "start" "-a" "945ecce6fe125793306a22ad271d6f2722f97d0424eb612d71d4b9ff69000be0", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [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] Compiling backtrace v0.3.66 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking color-spantrace v0.2.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 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 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/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: 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: 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: 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: `#[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: 4 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: 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: `#[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: 2 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.90s [INFO] running `Command { std: "docker" "inspect" "945ecce6fe125793306a22ad271d6f2722f97d0424eb612d71d4b9ff69000be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "945ecce6fe125793306a22ad271d6f2722f97d0424eb612d71d4b9ff69000be0", kill_on_drop: false }` [INFO] [stdout] 945ecce6fe125793306a22ad271d6f2722f97d0424eb612d71d4b9ff69000be0 [INFO] checking ghsyeung/aoc_2022_rust against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghsyeung%2Faoc_2022_rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ghsyeung/aoc_2022_rust on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/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-7-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc59d3ea4da59ac620dc149300de115886cd0bb877204a7eda91e64931c53617 [INFO] running `Command { std: "docker" "start" "-a" "dc59d3ea4da59ac620dc149300de115886cd0bb877204a7eda91e64931c53617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc59d3ea4da59ac620dc149300de115886cd0bb877204a7eda91e64931c53617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc59d3ea4da59ac620dc149300de115886cd0bb877204a7eda91e64931c53617", kill_on_drop: false }` [INFO] [stdout] dc59d3ea4da59ac620dc149300de115886cd0bb877204a7eda91e64931c53617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebe79aae8714fa7bad68d5abdd53cd305e35cb98b6c84a1a2c4476b0fafab108 [INFO] running `Command { std: "docker" "start" "-a" "ebe79aae8714fa7bad68d5abdd53cd305e35cb98b6c84a1a2c4476b0fafab108", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [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 tracing-core v0.1.30 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [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: 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: 2 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: 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: `#[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: 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: 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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: 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 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: `#[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: 4 warnings emitted [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.13s [INFO] running `Command { std: "docker" "inspect" "ebe79aae8714fa7bad68d5abdd53cd305e35cb98b6c84a1a2c4476b0fafab108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe79aae8714fa7bad68d5abdd53cd305e35cb98b6c84a1a2c4476b0fafab108", kill_on_drop: false }` [INFO] [stdout] ebe79aae8714fa7bad68d5abdd53cd305e35cb98b6c84a1a2c4476b0fafab108