[INFO] cloning repository https://github.com/thibaudio/aoc-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thibaudio/aoc-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthibaudio%2Faoc-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthibaudio%2Faoc-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdbe61215b8730e5dc12fb729516cd4010d21965 [INFO] checking thibaudio/aoc-2021 against try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthibaudio%2Faoc-2021" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thibaudio/aoc-2021 [INFO] finished tweaking git repo https://github.com/thibaudio/aoc-2021 [INFO] tweaked toml for git repo https://github.com/thibaudio/aoc-2021 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thibaudio/aoc-2021 on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thibaudio/aoc-2021 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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [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 priority-queue v1.2.1 [INFO] [stderr] Downloaded bimap v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa6cf9590ef03ba86022838e2b3bd0633200b222215cae39bf1fc375c0df5dfe [INFO] running `Command { std: "docker" "start" "-a" "aa6cf9590ef03ba86022838e2b3bd0633200b222215cae39bf1fc375c0df5dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa6cf9590ef03ba86022838e2b3bd0633200b222215cae39bf1fc375c0df5dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa6cf9590ef03ba86022838e2b3bd0633200b222215cae39bf1fc375c0df5dfe", kill_on_drop: false }` [INFO] [stdout] aa6cf9590ef03ba86022838e2b3bd0633200b222215cae39bf1fc375c0df5dfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7a02dd9e936da317b61244378df049507b57a3f776ac81420a7c2eb8e215489 [INFO] running `Command { std: "docker" "start" "-a" "e7a02dd9e936da317b61244378df049507b57a3f776ac81420a7c2eb8e215489", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling priority-queue v1.2.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking bimap v0.6.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/day5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `regex` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `regex`, use `cargo add regex` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + extern crate regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bimap` [INFO] [stdout] --> src/day8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bimap::BiMap; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bimap` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bimap`, use `cargo add bimap` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + extern crate bimap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `priority_queue` [INFO] [stdout] --> src/day15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `priority_queue` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `priority_queue`, use `cargo add priority_queue` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + extern crate priority_queue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 1 + extern crate structopt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/day6.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | school[((d + 2) % 7)] = school[((d + 2) % 7)] + delayed[mod_day]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - school[((d + 2) % 7)] = school[((d + 2) % 7)] + delayed[mod_day]; [INFO] [stdout] 35 + school[(d + 2) % 7 ] = school[((d + 2) % 7)] + delayed[mod_day]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/day6.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | school[((d + 2) % 7)] = school[((d + 2) % 7)] + delayed[mod_day]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - school[((d + 2) % 7)] = school[((d + 2) % 7)] + delayed[mod_day]; [INFO] [stdout] 35 + school[((d + 2) % 7)] = school[(d + 2) % 7 ] + delayed[mod_day]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/day5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `regex` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `regex`, use `cargo add regex` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + extern crate regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bimap` [INFO] [stdout] --> src/day8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bimap::BiMap; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bimap` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bimap`, use `cargo add bimap` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + extern crate bimap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `priority_queue` [INFO] [stdout] --> src/day15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `priority_queue` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `priority_queue`, use `cargo add priority_queue` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + extern crate priority_queue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 1 + extern crate structopt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/day6.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | school[((d + 2) % 7)] = school[((d + 2) % 7)] + delayed[mod_day]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - school[((d + 2) % 7)] = school[((d + 2) % 7)] + delayed[mod_day]; [INFO] [stdout] 35 + school[(d + 2) % 7 ] = school[((d + 2) % 7)] + delayed[mod_day]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/day6.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | school[((d + 2) % 7)] = school[((d + 2) % 7)] + delayed[mod_day]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - school[((d + 2) % 7)] = school[((d + 2) % 7)] + delayed[mod_day]; [INFO] [stdout] 35 + school[((d + 2) % 7)] = school[(d + 2) % 7 ] + delayed[mod_day]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_args` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 34 | struct Cli { [INFO] [stdout] | ---------- associated function or constant `from_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | let args = Cli::from_args(); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `Cli` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2021` (bin "aoc-2021" test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no associated function or constant named `from_args` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 34 | struct Cli { [INFO] [stdout] | ---------- associated function or constant `from_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | let args = Cli::from_args(); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `Cli` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2021` (bin "aoc-2021") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e7a02dd9e936da317b61244378df049507b57a3f776ac81420a7c2eb8e215489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a02dd9e936da317b61244378df049507b57a3f776ac81420a7c2eb8e215489", kill_on_drop: false }` [INFO] [stdout] e7a02dd9e936da317b61244378df049507b57a3f776ac81420a7c2eb8e215489