[INFO] cloning repository https://github.com/Raniz85/aoc21 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Raniz85/aoc21" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaniz85%2Faoc21", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaniz85%2Faoc21'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50240b8695d8e1cead1ad455677ba191862b8759 [INFO] checking Raniz85/aoc21 against master#32c26302620b2dbbe0a2291f1969bc0b1622ae59 for pr-95755 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaniz85%2Faoc21" "/workspace/builds/worker-45/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-45/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Raniz85/aoc21 on toolchain 32c26302620b2dbbe0a2291f1969bc0b1622ae59 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32c26302620b2dbbe0a2291f1969bc0b1622ae59" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Raniz85/aoc21 [INFO] finished tweaking git repo https://github.com/Raniz85/aoc21 [INFO] tweaked toml for git repo https://github.com/Raniz85/aoc21 written to /workspace/builds/worker-45/source/Cargo.toml [INFO] crate git repo https://github.com/Raniz85/aoc21 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32c26302620b2dbbe0a2291f1969bc0b1622ae59" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.5 [INFO] [stderr] Downloaded yare v1.0.1 [INFO] [stderr] Downloaded os_str_bytes v4.2.0 [INFO] [stderr] Downloaded yare-macro v1.0.1 [INFO] [stderr] Downloaded clap v3.0.0-beta.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+32c26302620b2dbbe0a2291f1969bc0b1622ae59" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27f9a2c752438280e4aa1c59c2d1bb3a0e2db773420db393d6f37a37ba63e931 [INFO] running `Command { std: "docker" "start" "-a" "27f9a2c752438280e4aa1c59c2d1bb3a0e2db773420db393d6f37a37ba63e931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27f9a2c752438280e4aa1c59c2d1bb3a0e2db773420db393d6f37a37ba63e931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f9a2c752438280e4aa1c59c2d1bb3a0e2db773420db393d6f37a37ba63e931", kill_on_drop: false }` [INFO] [stdout] 27f9a2c752438280e4aa1c59c2d1bb3a0e2db773420db393d6f37a37ba63e931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+32c26302620b2dbbe0a2291f1969bc0b1622ae59" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f241129028a4524241aa191a72d6475c2b823f71c8ff2f3b4e856843cb276581 [INFO] running `Command { std: "docker" "start" "-a" "f241129028a4524241aa191a72d6475c2b823f71c8ff2f3b4e856843cb276581", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling im v15.0.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling yare-macro v1.0.1 [INFO] [stderr] Checking yare v1.0.1 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stderr] Checking day06 v0.1.0 (/opt/rustwide/workdir/day06) [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Checking day09 v0.1.0 (/opt/rustwide/workdir/day09) [INFO] [stderr] Checking day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stderr] Checking day20 v0.1.0 (/opt/rustwide/workdir/day20) [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Checking day08 v0.1.0 (/opt/rustwide/workdir/day08) [INFO] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stderr] Checking day07 v0.1.0 (/opt/rustwide/workdir/day07) [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stderr] Checking day05 v0.1.0 (/opt/rustwide/workdir/day05) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> day06/src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | for day in (start..days) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - for day in (start..days) { [INFO] [stdout] 40 + for day in start..days { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> day04/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> day12/src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> day12/src/main.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> day12/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> day06/src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | for day in (start..days) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - for day in (start..days) { [INFO] [stdout] 40 + for day in start..days { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> day04/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> day12/src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> day12/src/main.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> day12/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_good` [INFO] [stdout] --> day10/src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_good(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> day12/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> day12/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day06/src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(expected, count_fish(start, days)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_good` [INFO] [stdout] --> day10/src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_good(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day06/src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(expected, count_fish(start, days)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day06/src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(expected, count_fish(start, days)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day06/src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(expected, count_fish(start, days)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day06/src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(expected, count_fish(start, days)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day06/src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(expected, count_fish(start, days)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day06/src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(expected, count_fish(start, days)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day06/src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(expected, count_fishes(&starts, days)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day06/src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(expected, count_fishes(&starts, days)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day06` due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f241129028a4524241aa191a72d6475c2b823f71c8ff2f3b4e856843cb276581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f241129028a4524241aa191a72d6475c2b823f71c8ff2f3b4e856843cb276581", kill_on_drop: false }` [INFO] [stdout] f241129028a4524241aa191a72d6475c2b823f71c8ff2f3b4e856843cb276581