[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#4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrbech%2Faoc2018" "/workspace/builds/worker-4/source", kill_on_drop: false }` [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 4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4/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" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf4261e6e573997d50a54e01547c81373bd65ce0f7528c9d7ac20bcbdf2bda5f [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" "bf4261e6e573997d50a54e01547c81373bd65ce0f7528c9d7ac20bcbdf2bda5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf4261e6e573997d50a54e01547c81373bd65ce0f7528c9d7ac20bcbdf2bda5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf4261e6e573997d50a54e01547c81373bd65ce0f7528c9d7ac20bcbdf2bda5f", kill_on_drop: false }` [INFO] [stdout] bf4261e6e573997d50a54e01547c81373bd65ce0f7528c9d7ac20bcbdf2bda5f [INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 791816e992199394c1b9f0b5badc0a6cc51d462c07c5fc2714f386b573068b36 [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" "791816e992199394c1b9f0b5badc0a6cc51d462c07c5fc2714f386b573068b36", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.44 [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 regex v1.1.0 [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 7.85s [INFO] running `Command { std: "docker" "inspect" "791816e992199394c1b9f0b5badc0a6cc51d462c07c5fc2714f386b573068b36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "791816e992199394c1b9f0b5badc0a6cc51d462c07c5fc2714f386b573068b36", kill_on_drop: false }` [INFO] [stdout] 791816e992199394c1b9f0b5badc0a6cc51d462c07c5fc2714f386b573068b36