[INFO] updating cached repository https://github.com/ef4/advent-of-code [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 69b4e17a40680b6ee77276a1e3ecdac38513fd52 [INFO] checking ef4/advent-of-code against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fef4%2Fadvent-of-code" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ef4/advent-of-code on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/ef4/advent-of-code already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1af16f4ad4e6e56b941e102cac9b5747615aa2f6133c098d7617566a6ecddd5 [INFO] running `"docker" "start" "-a" "b1af16f4ad4e6e56b941e102cac9b5747615aa2f6133c098d7617566a6ecddd5"` [INFO] [stderr] Checking regex v0.2.3 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/solve_2_2.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref RE: Regex = Regex::new(r"\d+").unwrap(); [INFO] [stderr] 21 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/solve_8_1.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | / lazy_static! { [INFO] [stderr] 65 | | static ref RE: Regex = Regex::new(r"(\w+) (\w+) (-?\d+) if (\w+) (.*) (-?\d+)").unwrap(); [INFO] [stderr] 66 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/bin/13-1.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | if (pairs.map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/bin/13-1.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | if (pairs.map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/solve_2_2.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref RE: Regex = Regex::new(r"\d+").unwrap(); [INFO] [stderr] 21 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/solve_8_1.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | / lazy_static! { [INFO] [stderr] 65 | | static ref RE: Regex = Regex::new(r"(\w+) (\w+) (-?\d+) if (\w+) (.*) (-?\d+)").unwrap(); [INFO] [stderr] 66 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::vec::Vec<(i32, i32)>` in the current scope [INFO] [stderr] --> src/bin/13-1.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | if (pairs.map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stderr] | ^^^ method not found in `std::vec::Vec<(i32, i32)>` [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut [(i32, i32)] : std::iter::Iterator` [INFO] [stderr] `&mut std::vec::Vec<(i32, i32)> : std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error[E0599]: no method named `map` found for type `std::vec::Vec<(i32, i32)>` in the current scope [INFO] [stderr] --> src/bin/13-1.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | if (pairs.map(|(depth, range)| (depth + 1, range)).any(hits)) { [INFO] [stderr] | ^^^ method not found in `std::vec::Vec<(i32, i32)>` [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut [(i32, i32)] : std::iter::Iterator` [INFO] [stderr] `&mut std::vec::Vec<(i32, i32)> : std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `advent-of-code`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent-of-code`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "b1af16f4ad4e6e56b941e102cac9b5747615aa2f6133c098d7617566a6ecddd5"` [INFO] running `"docker" "rm" "-f" "b1af16f4ad4e6e56b941e102cac9b5747615aa2f6133c098d7617566a6ecddd5"` [INFO] [stdout] b1af16f4ad4e6e56b941e102cac9b5747615aa2f6133c098d7617566a6ecddd5