[INFO] updating cached repository https://github.com/mrbech/aoc2018 [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] ea974b7397dfe86e74b63e509ffdf37fd0f6be8a [INFO] checking mrbech/aoc2018 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrbech%2Faoc2018" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrbech/aoc2018 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mrbech/aoc2018 [INFO] finished tweaking git repo https://github.com/mrbech/aoc2018 [INFO] tweaked toml for git repo https://github.com/mrbech/aoc2018 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mrbech/aoc2018 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] cd733fe13dd72d293478c037c4b78deebf11af9ad52898bb164b084b74878f17 [INFO] running `"docker" "start" "-a" "cd733fe13dd72d293478c037c4b78deebf11af9ad52898bb164b084b74878f17"` [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking aoc2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: this method call currently resolves to `<&[T] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/day3/mod.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/day4/mod.rs:129:21 [INFO] [stderr] | [INFO] [stderr] 129 | self.asleep.into_iter().filter(|a| **a).count() as i32 [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: static variable `start_regex` should have an upper case name [INFO] [stderr] --> src/day4/mod.rs:103:20 [INFO] [stderr] | [INFO] [stderr] 103 | static ref start_regex: Regex = Regex::new(r"\[.*\] Guard #(\d*) begins shift").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `START_REGEX` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static variable `asleep_regex` should have an upper case name [INFO] [stderr] --> src/day4/mod.rs:110:20 [INFO] [stderr] | [INFO] [stderr] 110 | static ref asleep_regex: Regex = Regex::new(r"\[.* 00:(\d*)\] falls asleep").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ASLEEP_REGEX` [INFO] [stderr] [INFO] [stderr] warning: static variable `wakesup_regex` should have an upper case name [INFO] [stderr] --> src/day4/mod.rs:117:20 [INFO] [stderr] | [INFO] [stderr] 117 | static ref wakesup_regex: Regex = Regex::new(r"\[.* 00:(\d*)\] wakes up").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `WAKESUP_REGEX` [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/day3/mod.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/day4/mod.rs:129:21 [INFO] [stderr] | [INFO] [stderr] 129 | self.asleep.into_iter().filter(|a| **a).count() as i32 [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: static variable `start_regex` should have an upper case name [INFO] [stderr] --> src/day4/mod.rs:103:20 [INFO] [stderr] | [INFO] [stderr] 103 | static ref start_regex: Regex = Regex::new(r"\[.*\] Guard #(\d*) begins shift").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `START_REGEX` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static variable `asleep_regex` should have an upper case name [INFO] [stderr] --> src/day4/mod.rs:110:20 [INFO] [stderr] | [INFO] [stderr] 110 | static ref asleep_regex: Regex = Regex::new(r"\[.* 00:(\d*)\] falls asleep").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ASLEEP_REGEX` [INFO] [stderr] [INFO] [stderr] warning: static variable `wakesup_regex` should have an upper case name [INFO] [stderr] --> src/day4/mod.rs:117:20 [INFO] [stderr] | [INFO] [stderr] 117 | static ref wakesup_regex: Regex = Regex::new(r"\[.* 00:(\d*)\] wakes up").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `WAKESUP_REGEX` [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.68s [INFO] running `"docker" "inspect" "cd733fe13dd72d293478c037c4b78deebf11af9ad52898bb164b084b74878f17"` [INFO] running `"docker" "rm" "-f" "cd733fe13dd72d293478c037c4b78deebf11af9ad52898bb164b084b74878f17"` [INFO] [stdout] cd733fe13dd72d293478c037c4b78deebf11af9ad52898bb164b084b74878f17