[INFO] cloning repository https://github.com/ef4/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ef4/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fef4%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fef4%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69b4e17a40680b6ee77276a1e3ecdac38513fd52 [INFO] checking ef4/advent-of-code/69b4e17a40680b6ee77276a1e3ecdac38513fd52 against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fef4%2Fadvent-of-code" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ef4/advent-of-code [INFO] finished tweaking git repo https://github.com/ef4/advent-of-code [INFO] tweaked toml for git repo https://github.com/ef4/advent-of-code written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ef4/advent-of-code on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ef4/advent-of-code 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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fd2480479fa067ce0fe5cccebc2acfa963bb6742d87f688d55f313a24c3cece [INFO] running `Command { std: "docker" "start" "-a" "8fd2480479fa067ce0fe5cccebc2acfa963bb6742d87f688d55f313a24c3cece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fd2480479fa067ce0fe5cccebc2acfa963bb6742d87f688d55f313a24c3cece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd2480479fa067ce0fe5cccebc2acfa963bb6742d87f688d55f313a24c3cece", kill_on_drop: false }` [INFO] [stdout] 8fd2480479fa067ce0fe5cccebc2acfa963bb6742d87f688d55f313a24c3cece [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1a628b4e9fc5df5cc2378b8a5eaec8ea981c1aee7649f77d748b9bd6becedab [INFO] running `Command { std: "docker" "start" "-a" "a1a628b4e9fc5df5cc2378b8a5eaec8ea981c1aee7649f77d748b9bd6becedab", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking regex v0.2.3 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/13-1.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if (pairs.map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if (pairs.map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stdout] 39 + if pairs.map(|(depth, range)| (depth + 1, range)).any(hits) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for struct `Vec<(i32, i32)>` in the current scope [INFO] [stdout] --> src/bin/13-1.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | if (pairs.map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stdout] | ^^^ `Vec<(i32, i32)>` is not an iterator [INFO] [stdout] | [INFO] [stdout] help: call `.into_iter()` first [INFO] [stdout] | [INFO] [stdout] 39 | if (pairs.into_iter().map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "13-1" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/solve_2_2.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref RE: Regex = Regex::new(r"\d+").unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/solve_8_1.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / lazy_static! { [INFO] [stdout] 65 | | static ref RE: Regex = Regex::new(r"(\w+) (\w+) (-?\d+) if (\w+) (.*) (-?\d+)").unwrap(); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/13-1.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if (pairs.map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if (pairs.map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stdout] 39 + if pairs.map(|(depth, range)| (depth + 1, range)).any(hits) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for struct `Vec<(i32, i32)>` in the current scope [INFO] [stdout] --> src/bin/13-1.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | if (pairs.map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stdout] | ^^^ `Vec<(i32, i32)>` is not an iterator [INFO] [stdout] | [INFO] [stdout] help: call `.into_iter()` first [INFO] [stdout] | [INFO] [stdout] 39 | if (pairs.into_iter().map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/solve_2_2.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref RE: Regex = Regex::new(r"\d+").unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/solve_8_1.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / lazy_static! { [INFO] [stdout] 65 | | static ref RE: Regex = Regex::new(r"(\w+) (\w+) (-?\d+) if (\w+) (.*) (-?\d+)").unwrap(); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "13-1") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a1a628b4e9fc5df5cc2378b8a5eaec8ea981c1aee7649f77d748b9bd6becedab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a628b4e9fc5df5cc2378b8a5eaec8ea981c1aee7649f77d748b9bd6becedab", kill_on_drop: false }` [INFO] [stdout] a1a628b4e9fc5df5cc2378b8a5eaec8ea981c1aee7649f77d748b9bd6becedab