[INFO] cloning repository https://github.com/ecclarke42/aoc-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ecclarke42/aoc-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecclarke42%2Faoc-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecclarke42%2Faoc-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59ad12f8e65c0b6cbae97a9a14a0b01f59763c6e [INFO] testing ecclarke42/aoc-2020 against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecclarke42%2Faoc-2020" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ecclarke42/aoc-2020 on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ecclarke42/aoc-2020 [INFO] finished tweaking git repo https://github.com/ecclarke42/aoc-2020 [INFO] tweaked toml for git repo https://github.com/ecclarke42/aoc-2020 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ecclarke42/aoc-2020 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded daggy v0.8.0 [INFO] [stderr] Downloaded serde_json v1.0.71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46a4e4b1f38327e934f92e4327f05eb47fb39c311e485a0417b8f6f800b66d7b [INFO] running `Command { std: "docker" "start" "-a" "46a4e4b1f38327e934f92e4327f05eb47fb39c311e485a0417b8f6f800b66d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46a4e4b1f38327e934f92e4327f05eb47fb39c311e485a0417b8f6f800b66d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46a4e4b1f38327e934f92e4327f05eb47fb39c311e485a0417b8f6f800b66d7b", kill_on_drop: false }` [INFO] [stdout] 46a4e4b1f38327e934f92e4327f05eb47fb39c311e485a0417b8f6f800b66d7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbbadcd513a94cbccbbf13bbca30c9fb9ca897536ca811fe92bf7be110e09b6d [INFO] running `Command { std: "docker" "start" "-a" "dbbadcd513a94cbccbbf13bbca30c9fb9ca897536ca811fe92bf7be110e09b6d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling daggy v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling aoc-2020 v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/day03.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | if chars[(col % chars.len())] == '#' { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if chars[(col % chars.len())] == '#' { [INFO] [stdout] 34 + if chars[col % chars.len()] == '#' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hair_color`, `eye_color`, `passport_id`, and `country_id` are never read [INFO] [stdout] --> src/day04.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Passport<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | hair_color: HexColor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | eye_color: EyeColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | passport_id: Id<'a>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | country_id: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `red`, `green`, and `blue` are never read [INFO] [stdout] --> src/day04.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct HexColor { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 141 | red: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | green: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 143 | blue: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexColor` 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 `0` is never read [INFO] [stdout] --> src/day04.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct Id<'a>(&'a str); [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Id` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.99s [INFO] running `Command { std: "docker" "inspect" "dbbadcd513a94cbccbbf13bbca30c9fb9ca897536ca811fe92bf7be110e09b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbbadcd513a94cbccbbf13bbca30c9fb9ca897536ca811fe92bf7be110e09b6d", kill_on_drop: false }` [INFO] [stdout] dbbadcd513a94cbccbbf13bbca30c9fb9ca897536ca811fe92bf7be110e09b6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28e3bbe3afe589374477ecd068e1561d443212560be5b40df95a35f7171ea6af [INFO] running `Command { std: "docker" "start" "-a" "28e3bbe3afe589374477ecd068e1561d443212560be5b40df95a35f7171ea6af", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling aoc-2020 v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/day03.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | if chars[(col % chars.len())] == '#' { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if chars[(col % chars.len())] == '#' { [INFO] [stdout] 34 + if chars[col % chars.len()] == '#' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hair_color`, `eye_color`, `passport_id`, and `country_id` are never read [INFO] [stdout] --> src/day04.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Passport<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | hair_color: HexColor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | eye_color: EyeColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | passport_id: Id<'a>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | country_id: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `red`, `green`, and `blue` are never read [INFO] [stdout] --> src/day04.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct HexColor { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 141 | red: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | green: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 143 | blue: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexColor` 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 `0` is never read [INFO] [stdout] --> src/day04.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct Id<'a>(&'a str); [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Id` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/day03.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | if chars[(col % chars.len())] == '#' { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if chars[(col % chars.len())] == '#' { [INFO] [stdout] 34 + if chars[col % chars.len()] == '#' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hair_color`, `eye_color`, `passport_id`, and `country_id` are never read [INFO] [stdout] --> src/day04.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Passport<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | hair_color: HexColor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | eye_color: EyeColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | passport_id: Id<'a>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | country_id: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `red`, `green`, and `blue` are never read [INFO] [stdout] --> src/day04.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct HexColor { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 141 | red: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | green: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 143 | blue: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexColor` 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 `0` is never read [INFO] [stdout] --> src/day04.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct Id<'a>(&'a str); [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Id` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.83s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "28e3bbe3afe589374477ecd068e1561d443212560be5b40df95a35f7171ea6af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28e3bbe3afe589374477ecd068e1561d443212560be5b40df95a35f7171ea6af", kill_on_drop: false }` [INFO] [stdout] 28e3bbe3afe589374477ecd068e1561d443212560be5b40df95a35f7171ea6af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f89fe4b22da67cc1ee8abdebee01fb33c887a4882c0512df717a8f8db0e88225 [INFO] running `Command { std: "docker" "start" "-a" "f89fe4b22da67cc1ee8abdebee01fb33c887a4882c0512df717a8f8db0e88225", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/day03.rs:34:22 [INFO] [stderr] | [INFO] [stderr] 34 | if chars[(col % chars.len())] == '#' { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 34 - if chars[(col % chars.len())] == '#' { [INFO] [stderr] 34 + if chars[col % chars.len()] == '#' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `hair_color`, `eye_color`, `passport_id`, and `country_id` are never read [INFO] [stderr] --> src/day04.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct Passport<'a> { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 52 | hair_color: HexColor, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | eye_color: EyeColor, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | passport_id: Id<'a>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | country_id: Option<&'a str>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `red`, `green`, and `blue` are never read [INFO] [stderr] --> src/day04.rs:141:5 [INFO] [stderr] | [INFO] [stderr] 140 | pub struct HexColor { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 141 | red: u8, [INFO] [stderr] | ^^^ [INFO] [stderr] 142 | green: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 143 | blue: u8, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HexColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/day04.rs:211:19 [INFO] [stderr] | [INFO] [stderr] 211 | pub struct Id<'a>(&'a str); [INFO] [stderr] | -- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Id` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `aoc-2020` (lib) generated 4 warnings (run `cargo fix --lib -p aoc-2020` to apply 1 suggestion) [INFO] [stderr] warning: `aoc-2020` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aoc_2020-3e92fc260b1d689e) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test day05::tests::decode ... ok [INFO] [stdout] test day07::tests::test_contains ... ok [INFO] [stdout] test day07::tests::test_parents ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests aoc_2020 [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/day03.rs:34:22 [INFO] [stderr] | [INFO] [stderr] 34 | if chars[(col % chars.len())] == '#' { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 34 - if chars[(col % chars.len())] == '#' { [INFO] [stderr] 34 + if chars[col % chars.len()] == '#' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f89fe4b22da67cc1ee8abdebee01fb33c887a4882c0512df717a8f8db0e88225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89fe4b22da67cc1ee8abdebee01fb33c887a4882c0512df717a8f8db0e88225", kill_on_drop: false }` [INFO] [stdout] f89fe4b22da67cc1ee8abdebee01fb33c887a4882c0512df717a8f8db0e88225