[INFO] cloning repository https://github.com/mrbech/aoc2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrbech/aoc2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrbech%2Faoc2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrbech%2Faoc2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea974b7397dfe86e74b63e509ffdf37fd0f6be8a [INFO] checking mrbech/aoc2018 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrbech%2Faoc2018" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrbech/aoc2018 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/mrbech/aoc2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03abb3f9130db9596746cbd0c74c051eba27272b3ada127a06adc3decad6f778 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "03abb3f9130db9596746cbd0c74c051eba27272b3ada127a06adc3decad6f778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03abb3f9130db9596746cbd0c74c051eba27272b3ada127a06adc3decad6f778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03abb3f9130db9596746cbd0c74c051eba27272b3ada127a06adc3decad6f778", kill_on_drop: false }` [INFO] [stdout] 03abb3f9130db9596746cbd0c74c051eba27272b3ada127a06adc3decad6f778 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6451cb6b4b0a2ed80d3c0d8aae7d16487f6227fce35a6aa81885d2863216e2f5 [INFO] running `Command { std: "docker" "start" "-a" "6451cb6b4b0a2ed80d3c0d8aae7d16487f6227fce35a6aa81885d2863216e2f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking aoc2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/day3/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/day4/mod.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | self.asleep.into_iter().filter(|a| **a).count() as i32 [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `start_regex` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | static ref start_regex: Regex = Regex::new(r"\[.*\] Guard #(\d*) begins shift").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `START_REGEX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `asleep_regex` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | static ref asleep_regex: Regex = Regex::new(r"\[.* 00:(\d*)\] falls asleep").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ASLEEP_REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `wakesup_regex` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | static ref wakesup_regex: Regex = Regex::new(r"\[.* 00:(\d*)\] wakes up").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `WAKESUP_REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/day3/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/day4/mod.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | self.asleep.into_iter().filter(|a| **a).count() as i32 [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `start_regex` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | static ref start_regex: Regex = Regex::new(r"\[.*\] Guard #(\d*) begins shift").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `START_REGEX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `asleep_regex` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | static ref asleep_regex: Regex = Regex::new(r"\[.* 00:(\d*)\] falls asleep").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ASLEEP_REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `wakesup_regex` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | static ref wakesup_regex: Regex = Regex::new(r"\[.* 00:(\d*)\] wakes up").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `WAKESUP_REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.74s [INFO] running `Command { std: "docker" "inspect" "6451cb6b4b0a2ed80d3c0d8aae7d16487f6227fce35a6aa81885d2863216e2f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6451cb6b4b0a2ed80d3c0d8aae7d16487f6227fce35a6aa81885d2863216e2f5", kill_on_drop: false }` [INFO] [stdout] 6451cb6b4b0a2ed80d3c0d8aae7d16487f6227fce35a6aa81885d2863216e2f5