[INFO] cloning repository https://github.com/LRuffati/AoC21 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LRuffati/AoC21" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLRuffati%2FAoC21", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLRuffati%2FAoC21'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3edb0fc54e9330f8ecb64fb874205523c4ddf50c [INFO] checking LRuffati/AoC21 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLRuffati%2FAoC21" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LRuffati/AoC21 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] started tweaking git repo https://github.com/LRuffati/AoC21 [INFO] finished tweaking git repo https://github.com/LRuffati/AoC21 [INFO] tweaked toml for git repo https://github.com/LRuffati/AoC21 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LRuffati/AoC21 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 025fda8a65e1c4bf6ffcc1867646de24eb99e25e2d8a6766fceea875fa32f22f [INFO] running `Command { std: "docker" "start" "-a" "025fda8a65e1c4bf6ffcc1867646de24eb99e25e2d8a6766fceea875fa32f22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "025fda8a65e1c4bf6ffcc1867646de24eb99e25e2d8a6766fceea875fa32f22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "025fda8a65e1c4bf6ffcc1867646de24eb99e25e2d8a6766fceea875fa32f22f", kill_on_drop: false }` [INFO] [stdout] 025fda8a65e1c4bf6ffcc1867646de24eb99e25e2d8a6766fceea875fa32f22f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] effba31f23bf18b181b389ba58b9b9134780e18775ac82e8e6a4c59a0f9f7782 [INFO] running `Command { std: "docker" "start" "-a" "effba31f23bf18b181b389ba58b9b9134780e18775ac82e8e6a4c59a0f9f7782", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/days/day9.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/days/day9.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/days/day9.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/days/day9.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day8.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guess` is never constructed [INFO] [stdout] --> src/days/day8.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Guess { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day8.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn solve_b(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candidate` is never constructed [INFO] [stdout] --> src/days/day9.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Candidate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/days/day9.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day9.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElemBasin` is never constructed [INFO] [stdout] --> src/days/day9.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct ElemBasin { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_idx` is never used [INFO] [stdout] --> src/days/day9.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_idx(vector: &Vec, mut start: usize) -> Option{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day9.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn solve_b(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day10.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day8.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guess` is never constructed [INFO] [stdout] --> src/days/day8.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Guess { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day8.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn solve_b(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candidate` is never constructed [INFO] [stdout] --> src/days/day9.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Candidate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/days/day9.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day9.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElemBasin` is never constructed [INFO] [stdout] --> src/days/day9.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct ElemBasin { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_idx` is never used [INFO] [stdout] --> src/days/day9.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_idx(vector: &Vec, mut start: usize) -> Option{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day9.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn solve_b(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day10.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days/day8.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | 2 => dig_1 = digit.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days/day8.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | 4 => dig_4 = digit.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days/day8.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | 2 => dig_1 = digit.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days/day8.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | 4 => dig_4 = digit.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.99s [INFO] running `Command { std: "docker" "inspect" "effba31f23bf18b181b389ba58b9b9134780e18775ac82e8e6a4c59a0f9f7782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "effba31f23bf18b181b389ba58b9b9134780e18775ac82e8e6a4c59a0f9f7782", kill_on_drop: false }` [INFO] [stdout] effba31f23bf18b181b389ba58b9b9134780e18775ac82e8e6a4c59a0f9f7782