[INFO] cloning repository https://github.com/mdsherry/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdsherry/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdsherry%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdsherry%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fe2027e99be6abd5c1692e08e07bcf9b3336499 [INFO] testing mdsherry/aoc2020 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdsherry%2Faoc2020" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mdsherry/aoc2020 [INFO] finished tweaking git repo https://github.com/mdsherry/aoc2020 [INFO] tweaked toml for git repo https://github.com/mdsherry/aoc2020 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mdsherry/aoc2020 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mdsherry/aoc2020 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93bc3b84ce328ec22c57e53bb5d13774e2f54c48f5c994165b61b972469b893e [INFO] running `Command { std: "docker" "start" "-a" "93bc3b84ce328ec22c57e53bb5d13774e2f54c48f5c994165b61b972469b893e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93bc3b84ce328ec22c57e53bb5d13774e2f54c48f5c994165b61b972469b893e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93bc3b84ce328ec22c57e53bb5d13774e2f54c48f5c994165b61b972469b893e", kill_on_drop: false }` [INFO] [stdout] 93bc3b84ce328ec22c57e53bb5d13774e2f54c48f5c994165b61b972469b893e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c224322decba5390bd4aef7fc695bcd82493d3f1ac6bb037a0f948a52b2886f [INFO] running `Command { std: "docker" "start" "-a" "0c224322decba5390bd4aef7fc695bcd82493d3f1ac6bb037a0f948a52b2886f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling util v0.1.0 (/opt/rustwide/workdir/util) [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling tap v1.0.0 [INFO] [stderr] Compiling funty v1.0.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling day-17 v0.1.0 (/opt/rustwide/workdir/day-17) [INFO] [stderr] Compiling day-14 v0.1.0 (/opt/rustwide/workdir/day-14) [INFO] [stderr] Compiling day-16 v0.1.0 (/opt/rustwide/workdir/day-16) [INFO] [stderr] Compiling day-12 v0.1.0 (/opt/rustwide/workdir/day-12) [INFO] [stderr] Compiling day-09 v0.1.0 (/opt/rustwide/workdir/day-09) [INFO] [stdout] warning: static `INPUT` is never used [INFO] [stdout] --> day-09/src/part1.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | static INPUT: &str = include_str!("input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> day-09/src/part1.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `target` should have an upper case name [INFO] [stdout] --> day-09/src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | const target: u64 = 375054920; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 7 - const target: u64 = 375054920; [INFO] [stdout] 7 + const TARGET: u64 = 375054920; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Facing` is never used [INFO] [stdout] --> day-12/src/main.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Facing { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cw` and `ccw` are never used [INFO] [stdout] --> day-12/src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Facing { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 21 | fn cw(self, degrees: u32) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn ccw(self, degrees: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_input` [INFO] [stdout] --> day-17/src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let test_input = ".#.\n..#\n###"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day-10 v0.1.0 (/opt/rustwide/workdir/day-10) [INFO] [stderr] Compiling day-08 v0.1.0 (/opt/rustwide/workdir/day-08) [INFO] [stdout] warning: variable `diff_2` is assigned to, but never used [INFO] [stdout] --> day-10/src/part1.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut diff_2 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_diff_2` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INPUT` is never used [INFO] [stdout] --> day-10/src/part1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static INPUT: &str = include_str!("input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> day-10/src/part1.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day-06 v0.1.0 (/opt/rustwide/workdir/day-06) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> day-06/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day-13 v0.1.0 (/opt/rustwide/workdir/day-13) [INFO] [stdout] warning: static `START` is never used [INFO] [stdout] --> day-13/src/main.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static START: usize = 1002632; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day-24 v0.1.0 (/opt/rustwide/workdir/day-24) [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Compiling day-20 v0.1.0 (/opt/rustwide/workdir/day-20) [INFO] [stderr] Compiling day-05 v0.1.0 (/opt/rustwide/workdir/day-05) [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling day-04 v0.1.0 (/opt/rustwide/workdir/day-04) [INFO] [stdout] warning: method `render_line` is never used [INFO] [stdout] --> day-20/src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 22 | fn render_line(&self, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flip_v` is never used [INFO] [stdout] --> day-20/src/main.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn flip_v(map: &mut Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day-25 v0.1.0 (/opt/rustwide/workdir/day-25) [INFO] [stderr] Compiling day-07 v0.1.0 (/opt/rustwide/workdir/day-07) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let bytes = bits / Limb::BITS; [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INPUT` is never used [INFO] [stdout] --> day-05/src/part1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static INPUT: &str = include_str!("input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Splits` is never used [INFO] [stdout] --> day-05/src/part1.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Splits { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from` and `split` are never used [INFO] [stdout] --> day-05/src/part1.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Splits { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 12 | fn from(c: char) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn split(self, bottom: u8, top: u8) -> (u8, u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> day-05/src/part1.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let bytes = bits / Limb::BITS; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:55 [INFO] [stdout] | [INFO] [stdout] 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `usize & u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:53 [INFO] [stdout] | [INFO] [stdout] 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^ no implementation for `usize & u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `BitAnd`: [INFO] [stdout] `&usize` implements `BitAnd` [INFO] [stdout] `&usize` implements `BitAnd` [INFO] [stdout] `usize` implements `BitAnd<&usize>` [INFO] [stdout] `usize` implements `BitAnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> day-07/src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::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: `std::collections::HashSet` [INFO] [stdout] --> day-25/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | let (q, r) = shift.ceil_divmod(Limb::BITS); [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `u32` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | let (q, r) = shift.ceil_divmod(Limb::BITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `ceil_divmod` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/util/num.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn ceil_divmod(self, y: Self) -> (Self, i32) { [INFO] [stdout] | ^^^^^^^^^^^ ------- [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 175 | let (q, r) = shift.ceil_divmod(Limb::BITS.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day-11 v0.1.0 (/opt/rustwide/workdir/day-11) [INFO] [stderr] Compiling day-15 v0.1.0 (/opt/rustwide/workdir/day-15) [INFO] [stderr] Compiling day-23 v0.1.0 (/opt/rustwide/workdir/day-23) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> day-07/src/part1.rs:39:70 [INFO] [stdout] | [INFO] [stdout] 39 | let count = it.next().unwrap().parse::().map_err(|e| panic!("Bad number {}", content)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1043:42 [INFO] [stdout] | [INFO] [stdout] 1043 | let mut count = index.saturating_mul(Limb::BITS); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/num/mod.rs:1248:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1043 | let mut count = index.saturating_mul(Limb::BITS.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> day-07/src/main.rs:40:70 [INFO] [stdout] | [INFO] [stdout] 40 | let count = it.next().unwrap().parse::().map_err(|e| panic!("Bad number {}", content)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INPUT` is never used [INFO] [stdout] --> day-07/src/part1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | static INPUT: &str = include_str!("input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> day-07/src/part1.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_rule` is never used [INFO] [stdout] --> day-07/src/part1.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn parse_rule(line: &str) -> Rule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> day-07/src/part1.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bag` is never constructed [INFO] [stdout] --> day-07/src/part1.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct Bag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> day-07/src/part1.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl Bag { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 60 | fn parse(s: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Modifier` is never used [INFO] [stdout] --> day-07/src/part1.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | enum Modifier { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> day-07/src/part1.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl Modifier { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 91 | fn parse(s: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Colour` is never used [INFO] [stdout] --> day-07/src/part1.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 118 | enum Colour { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> day-07/src/part1.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 154 | impl Colour { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 155 | fn parse(s: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day-19 v0.1.0 (/opt/rustwide/workdir/day-19) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:28 [INFO] [stdout] | [INFO] [stdout] 1058 | Limb::BITS.checked_mul(x.len()) [INFO] [stdout] | ----------- ^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/num/mod.rs:1128:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1058 | Limb::BITS.checked_mul(x.len().try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:22 [INFO] [stdout] | [INFO] [stdout] 1059 | .map(|v| v - nlz) [INFO] [stdout] | ^^^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:20 [INFO] [stdout] | [INFO] [stdout] 1059 | .map(|v| v - nlz) [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1060:20 [INFO] [stdout] | [INFO] [stdout] 1060 | .unwrap_or(usize::max_value()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `usize` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:5 [INFO] [stdout] | [INFO] [stdout] 1058 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1059 | | .map(|v| v - nlz) [INFO] [stdout] 1060 | | .unwrap_or(usize::max_value()) [INFO] [stdout] | |____________________------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/option.rs:1025:12 [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1060 | .unwrap_or(usize::max_value().try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:5 [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 1058 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1059 | | .map(|v| v - nlz) [INFO] [stdout] 1060 | | .unwrap_or(usize::max_value()) [INFO] [stdout] | |______________________________________^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1060 | .unwrap_or(usize::max_value()).try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1085:23 [INFO] [stdout] | [INFO] [stdout] 1085 | debug_assert!(n < bits && n != 0); [INFO] [stdout] | - ^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1085 | debug_assert!(n < bits.try_into().unwrap() && n != 0); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:25 [INFO] [stdout] | [INFO] [stdout] 1092 | let lshift = bits - n; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:23 [INFO] [stdout] | [INFO] [stdout] 1092 | let lshift = bits - n; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:19 [INFO] [stdout] | [INFO] [stdout] 1134 | let rem = n % bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot calculate the remainder of `usize` divided by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:17 [INFO] [stdout] | [INFO] [stdout] 1134 | let rem = n % bits; [INFO] [stdout] | ^ no implementation for `usize % u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Rem`: [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `usize` implements `Rem<&usize>` [INFO] [stdout] `usize` implements `Rem>` [INFO] [stdout] `usize` implements `Rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:19 [INFO] [stdout] | [INFO] [stdout] 1135 | let div = n / bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:17 [INFO] [stdout] | [INFO] [stdout] 1135 | let div = n / bits; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1191:23 [INFO] [stdout] | [INFO] [stdout] 1191 | debug_assert!(n < bits); [INFO] [stdout] | - ^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1191 | debug_assert!(n < bits.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:25 [INFO] [stdout] | [INFO] [stdout] 1201 | let rshift = bits - n; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:23 [INFO] [stdout] | [INFO] [stdout] 1201 | let rshift = bits - n; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:19 [INFO] [stdout] | [INFO] [stdout] 1253 | let rem = n % bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot calculate the remainder of `usize` divided by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:17 [INFO] [stdout] | [INFO] [stdout] 1253 | let rem = n % bits; [INFO] [stdout] | ^ no implementation for `usize % u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Rem`: [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `usize` implements `Rem<&usize>` [INFO] [stdout] `usize` implements `Rem>` [INFO] [stdout] `usize` implements `Rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:19 [INFO] [stdout] | [INFO] [stdout] 1254 | let div = n / bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:17 [INFO] [stdout] | [INFO] [stdout] 1254 | let div = n / bits; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:27 [INFO] [stdout] | [INFO] [stdout] 2065 | let rs = Limb::BITS - s; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:25 [INFO] [stdout] | [INFO] [stdout] 2065 | let rs = Limb::BITS - s; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `searching` and `splitting` are never read [INFO] [stdout] --> day-23/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Timer { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 6 | searching: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | splitting: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Timer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day-21 v0.1.0 (/opt/rustwide/workdir/day-21) [INFO] [stderr] Compiling day-22 v0.1.0 (/opt/rustwide/workdir/day-22) [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> day-21/src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | for (&k, v) in &mut allergen_map { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-21/src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut allergens: Vec<_> = allergen_map.values().flatten().copied().collect(); [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] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexical-core` (lib) due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0c224322decba5390bd4aef7fc695bcd82493d3f1ac6bb037a0f948a52b2886f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c224322decba5390bd4aef7fc695bcd82493d3f1ac6bb037a0f948a52b2886f", kill_on_drop: false }` [INFO] [stdout] 0c224322decba5390bd4aef7fc695bcd82493d3f1ac6bb037a0f948a52b2886f