[INFO] cloning repository https://github.com/thibaudio/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thibaudio/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthibaudio%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthibaudio%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29e989f75451743cb71b7b98d3528f0dfdbf3575 [INFO] checking thibaudio/advent-of-code-2020 against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthibaudio%2Fadvent-of-code-2020" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thibaudio/advent-of-code-2020 on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thibaudio/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/thibaudio/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/thibaudio/advent-of-code-2020 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thibaudio/advent-of-code-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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 667f3777782aa4a85acecc239651f71cda425c1f4c05e0ed3de86c308c578ddd [INFO] running `Command { std: "docker" "start" "-a" "667f3777782aa4a85acecc239651f71cda425c1f4c05e0ed3de86c308c578ddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "667f3777782aa4a85acecc239651f71cda425c1f4c05e0ed3de86c308c578ddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "667f3777782aa4a85acecc239651f71cda425c1f4c05e0ed3de86c308c578ddd", kill_on_drop: false }` [INFO] [stdout] 667f3777782aa4a85acecc239651f71cda425c1f4c05e0ed3de86c308c578ddd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a784b69fb3901307bba0f5ca85660099cf3882f720682a205d83fc92850cda3d [INFO] running `Command { std: "docker" "start" "-a" "a784b69fb3901307bba0f5ca85660099cf3882f720682a205d83fc92850cda3d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/day4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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] | [INFO] [stdout] 1 + extern crate regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/day4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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] | [INFO] [stdout] 1 + extern crate regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/day2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 1 + extern crate lazy_static; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/day2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] | [INFO] [stdout] 1 + extern crate regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `birth_year` [INFO] [stdout] --> src/day4.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let birth_year = match birth_year.parse::() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_birth_year` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issue_year` [INFO] [stdout] --> src/day4.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let issue_year = match issue_year.parse::() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_issue_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expiration_year` [INFO] [stdout] --> src/day4.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let expiration_year = match expiration_year.parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiration_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `country_id` [INFO] [stdout] --> src/day4.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let country_id = get_passport_property("cid", passport); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RE` in this scope [INFO] [stdout] --> src/day2.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let cap = RE.captures(&line).unwrap(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `birth_year` [INFO] [stdout] --> src/day4.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let birth_year = match birth_year.parse::() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_birth_year` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issue_year` [INFO] [stdout] --> src/day4.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let issue_year = match issue_year.parse::() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_issue_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expiration_year` [INFO] [stdout] --> src/day4.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let expiration_year = match expiration_year.parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiration_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `country_id` [INFO] [stdout] --> src/day4.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let country_id = get_passport_property("cid", passport); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2020` (bin "day4" test) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2020` (bin "day4") due to 1 previous error; 4 warnings emitted [INFO] [stderr] error: could not compile `advent-of-code-2020` (bin "day2") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/day2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 1 + extern crate lazy_static; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/day2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] | [INFO] [stdout] 1 + extern crate regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RE` in this scope [INFO] [stdout] --> src/day2.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let cap = RE.captures(&line).unwrap(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2020` (bin "day2" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "a784b69fb3901307bba0f5ca85660099cf3882f720682a205d83fc92850cda3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a784b69fb3901307bba0f5ca85660099cf3882f720682a205d83fc92850cda3d", kill_on_drop: false }` [INFO] [stdout] a784b69fb3901307bba0f5ca85660099cf3882f720682a205d83fc92850cda3d