[INFO] cloning repository https://github.com/louislatreille/aoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/louislatreille/aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouislatreille%2Faoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouislatreille%2Faoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc05702e752aa6a9c5276617b68eec065ef1051a [INFO] checking louislatreille/aoc against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouislatreille%2Faoc" "/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/louislatreille/aoc on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/louislatreille/aoc [INFO] finished tweaking git repo https://github.com/louislatreille/aoc [INFO] tweaked toml for git repo https://github.com/louislatreille/aoc written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/louislatreille/aoc 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.23.0 [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.34 [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93fbc32b69d0301d22b5527f32f4febb2bd1e35337ee6ef0335224176962b018 [INFO] running `Command { std: "docker" "start" "-a" "93fbc32b69d0301d22b5527f32f4febb2bd1e35337ee6ef0335224176962b018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93fbc32b69d0301d22b5527f32f4febb2bd1e35337ee6ef0335224176962b018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93fbc32b69d0301d22b5527f32f4febb2bd1e35337ee6ef0335224176962b018", kill_on_drop: false }` [INFO] [stdout] 93fbc32b69d0301d22b5527f32f4febb2bd1e35337ee6ef0335224176962b018 [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a0fc664f937e14d5ef0192e695f348185a0a1da86f264bd7f5e2aa9777b34e6 [INFO] running `Command { std: "docker" "start" "-a" "8a0fc664f937e14d5ef0192e695f348185a0a1da86f264bd7f5e2aa9777b34e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking primes v0.3.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr::eq` [INFO] [stdout] --> src/y_2021/day_18.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/y_2021/day_18.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::{Itertools, PutBackN}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::eq` [INFO] [stdout] --> src/y_2021/day_18.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/y_2021/day_18.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::{Itertools, PutBackN}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/y_2021/day_14.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | for (index, (pair, pair_count)) in self.pairs.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/y_2021/day_16.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let packet = transmission.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_in_last` [INFO] [stdout] --> src/y_2021/day_18.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | pos_in_last: bool, // false: left, true: right [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_in_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/y_2021/day_14.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | for (index, (pair, pair_count)) in self.pairs.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/y_2021/day_16.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let packet = transmission.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner_id` [INFO] [stdout] --> src/y_2021/day_19.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | scanner_id: &u8, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_in_last` [INFO] [stdout] --> src/y_2021/day_18.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | pos_in_last: bool, // false: left, true: right [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_in_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/y_2021/day_22.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut new_self = self.clone(); [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: unused variable: `scanner_id` [INFO] [stdout] --> src/y_2021/day_19.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | scanner_id: &u8, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/y_2021/day_22.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut new_self = self.clone(); [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: associated function `new` is never used [INFO] [stdout] --> src/y_2021/day_13.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 165 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 166 | fn new(x: i32, y: i32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_pair` is never read [INFO] [stdout] --> src/y_2021/day_14.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct PolySynthetizer { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | last_pair: (char, char), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolySynthetizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_step`, `apply_x_steps`, and `count_elements` are never used [INFO] [stdout] --> src/y_2021/day_14.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl PolySynthetizer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | fn apply_step(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn apply_x_steps(&mut self, amount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn count_elements(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `type_id` are never read [INFO] [stdout] --> src/y_2021/day_16.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct BitsPacket { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | packet: String, [INFO] [stdout] 37 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | version_num: u32, [INFO] [stdout] 39 | type_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/y_2021/day_18.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 123 | enum SnailfishNumberExplosionState { [INFO] [stdout] | ----------------------------- variant in this enum [INFO] [stdout] 124 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnailfishNumberExplosionState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all_1_1_1_cubes` is never used [INFO] [stdout] --> src/y_2021/day_22.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Cuboid { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn all_1_1_1_cubes(&self) -> Vec<(i32, i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init_with_inputs` is never used [INFO] [stdout] --> src/y_2021/day_24.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl Alu { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | fn init_with_inputs(inputs: Vec) -> Alu { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y_2021/day_4.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl BingoBoard { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 119 | fn new(board: Vec>) -> BingoBoard { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y_2021/day_13.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 165 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 166 | fn new(x: i32, y: i32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_pair` is never read [INFO] [stdout] --> src/y_2021/day_14.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct PolySynthetizer { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | last_pair: (char, char), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolySynthetizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_step`, `apply_x_steps`, and `count_elements` are never used [INFO] [stdout] --> src/y_2021/day_14.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl PolySynthetizer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | fn apply_step(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn apply_x_steps(&mut self, amount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn count_elements(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `type_id` are never read [INFO] [stdout] --> src/y_2021/day_16.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct BitsPacket { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | packet: String, [INFO] [stdout] 37 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | version_num: u32, [INFO] [stdout] 39 | type_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/y_2021/day_18.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 123 | enum SnailfishNumberExplosionState { [INFO] [stdout] | ----------------------------- variant in this enum [INFO] [stdout] 124 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnailfishNumberExplosionState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all_1_1_1_cubes` is never used [INFO] [stdout] --> src/y_2021/day_22.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Cuboid { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn all_1_1_1_cubes(&self) -> Vec<(i32, i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.42s [INFO] running `Command { std: "docker" "inspect" "8a0fc664f937e14d5ef0192e695f348185a0a1da86f264bd7f5e2aa9777b34e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a0fc664f937e14d5ef0192e695f348185a0a1da86f264bd7f5e2aa9777b34e6", kill_on_drop: false }` [INFO] [stdout] 8a0fc664f937e14d5ef0192e695f348185a0a1da86f264bd7f5e2aa9777b34e6