[INFO] cloning repository https://github.com/aoeixsz4/advent-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aoeixsz4/advent-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoeixsz4%2Fadvent-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoeixsz4%2Fadvent-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17213cfe7b4f095d4c7b3cc185b6fe6e6bff3a06 [INFO] testing aoeixsz4/advent-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoeixsz4%2Fadvent-rs" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aoeixsz4/advent-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aoeixsz4/advent-rs [INFO] finished tweaking git repo https://github.com/aoeixsz4/advent-rs [INFO] tweaked toml for git repo https://github.com/aoeixsz4/advent-rs written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/aoeixsz4/advent-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 hex v0.4.3 [INFO] [stderr] Downloaded wyz v0.4.0 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded radium v0.6.2 [INFO] [stderr] Downloaded funty v1.2.0 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded num-rational v0.4.0 [INFO] [stderr] Downloaded tap v1.0.1 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded itertools v0.10.3 [INFO] [stderr] Downloaded bitvec v0.22.3 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1ad909d9fe398974a85e303c88c7dc97ca8f617afd2845ec136c9e49dbaf4dc [INFO] running `Command { std: "docker" "start" "-a" "e1ad909d9fe398974a85e303c88c7dc97ca8f617afd2845ec136c9e49dbaf4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1ad909d9fe398974a85e303c88c7dc97ca8f617afd2845ec136c9e49dbaf4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ad909d9fe398974a85e303c88c7dc97ca8f617afd2845ec136c9e49dbaf4dc", kill_on_drop: false }` [INFO] [stdout] e1ad909d9fe398974a85e303c88c7dc97ca8f617afd2845ec136c9e49dbaf4dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33d28e303a4fe6e7892aa74fe21e161aa7564b4b20f823fd894bcaf544455dcf [INFO] running `Command { std: "docker" "start" "-a" "33d28e303a4fe6e7892aa74fe21e161aa7564b4b20f823fd894bcaf544455dcf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling advent-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/day1.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day1.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day1.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day10.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day10.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day10.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day11.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day11.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day11.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day12.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day12.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | const INPUT: &str = include_str!("day12.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day13.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day13.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | const INPUT: &str = include_str!("day13.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day14.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day14.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = include_str!("day14.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day15.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day15.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | const INPUT: &str = include_str!("day15.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day16.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day16.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | const INPUT: &str = include_str!("day16.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day18.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day18.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = include_str!("day18.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day19.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day19.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | const INPUT: &str = include_str!("day19.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day2.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day2.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day2.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day20.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day20.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | const INPUT: &str = include_str!("day20.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day3.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day3.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | const INPUT: &str = include_str!("day3.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day4.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day4.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = include_str!("day4.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day5.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day5.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day5.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day6.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day6.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day6.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day7.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day7.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day7.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day8.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day8.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = include_str!("day8.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day9.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day9.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day9.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash::Hash`, `iter::FromIterator`, `sync::Arc` [INFO] [stdout] --> src/day19.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, hash::Hash, iter::FromIterator, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day19.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | ((((x - origin.0).pow(2) + (y - origin.1).pow(2) + (z - origin.2).pow(2)) as f64) [INFO] [stdout] | ^ [INFO] [stdout] 31 | .sqrt()) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 ~ (((x - origin.0).pow(2) + (y - origin.1).pow(2) + (z - origin.2).pow(2)) as f64) [INFO] [stdout] 31 ~ .sqrt() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::FromIterator` [INFO] [stdout] --> src/day20.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{iter::FromIterator, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::traits::Pow` [INFO] [stdout] --> src/day19.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num::traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-rs` due to 20 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "33d28e303a4fe6e7892aa74fe21e161aa7564b4b20f823fd894bcaf544455dcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d28e303a4fe6e7892aa74fe21e161aa7564b4b20f823fd894bcaf544455dcf", kill_on_drop: false }` [INFO] [stdout] 33d28e303a4fe6e7892aa74fe21e161aa7564b4b20f823fd894bcaf544455dcf