[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] testing thibaudio/aoc-2021 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthibaudio%2Faoc-2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thibaudio/aoc-2021 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1822ac86c8bb692d0818693ec90a6491599aec280e0522c470109f2b25486dfc [INFO] running `Command { std: "docker" "start" "-a" "1822ac86c8bb692d0818693ec90a6491599aec280e0522c470109f2b25486dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1822ac86c8bb692d0818693ec90a6491599aec280e0522c470109f2b25486dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1822ac86c8bb692d0818693ec90a6491599aec280e0522c470109f2b25486dfc", kill_on_drop: false }` [INFO] [stdout] 1822ac86c8bb692d0818693ec90a6491599aec280e0522c470109f2b25486dfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0473538ec97e1eb6c1aa5725be698e0ddfd4bc9a02a70983754d90f5fc746261 [INFO] running `Command { std: "docker" "start" "-a" "0473538ec97e1eb6c1aa5725be698e0ddfd4bc9a02a70983754d90f5fc746261", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bimap v0.6.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling priority-queue v1.2.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling 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[E0599]: no function or associated item 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] | ---------- function or associated item `from_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | let args = Cli::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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" "0473538ec97e1eb6c1aa5725be698e0ddfd4bc9a02a70983754d90f5fc746261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0473538ec97e1eb6c1aa5725be698e0ddfd4bc9a02a70983754d90f5fc746261", kill_on_drop: false }` [INFO] [stdout] 0473538ec97e1eb6c1aa5725be698e0ddfd4bc9a02a70983754d90f5fc746261