[INFO] updating cached repository https://github.com/ef4/advent-of-code [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] testing ef4/advent-of-code against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fef4%2Fadvent-of-code" "work/builds/worker-5/source"` [INFO] [stderr] Cloning into 'work/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ef4/advent-of-code on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "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 work/builds/worker-5/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 `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 4eea0b567f05173e93bf3140bfc38d65aaa5f14478e6c5a8eb4059a5984c00df [INFO] running `"docker" "start" "-a" "4eea0b567f05173e93bf3140bfc38d65aaa5f14478e6c5a8eb4059a5984c00df"` [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir) [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: 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" "4eea0b567f05173e93bf3140bfc38d65aaa5f14478e6c5a8eb4059a5984c00df"` [INFO] running `"docker" "rm" "-f" "4eea0b567f05173e93bf3140bfc38d65aaa5f14478e6c5a8eb4059a5984c00df"` [INFO] [stdout] 4eea0b567f05173e93bf3140bfc38d65aaa5f14478e6c5a8eb4059a5984c00df