[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] testing mrbech/aoc2018 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrbech%2Faoc2018" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrbech/aoc2018 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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-9/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" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stdout] 7576ca73c022a5da2a5fa6fea1f07896c3715cc883a0f38fa42c7f156022dfc9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "7576ca73c022a5da2a5fa6fea1f07896c3715cc883a0f38fa42c7f156022dfc9"` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling 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] Finished dev [unoptimized + debuginfo] target(s) in 15.56s [INFO] running `"docker" "inspect" "7576ca73c022a5da2a5fa6fea1f07896c3715cc883a0f38fa42c7f156022dfc9"` [INFO] running `"docker" "rm" "-f" "7576ca73c022a5da2a5fa6fea1f07896c3715cc883a0f38fa42c7f156022dfc9"` [INFO] [stdout] 7576ca73c022a5da2a5fa6fea1f07896c3715cc883a0f38fa42c7f156022dfc9 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8239a88fd4c14e5781737396008753cc2d947d2408ebfb2d7dfc3a27b84fe845 [INFO] running `"docker" "start" "-a" "8239a88fd4c14e5781737396008753cc2d947d2408ebfb2d7dfc3a27b84fe845"` [INFO] [stderr] Compiling 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] Finished test [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `"docker" "inspect" "8239a88fd4c14e5781737396008753cc2d947d2408ebfb2d7dfc3a27b84fe845"` [INFO] running `"docker" "rm" "-f" "8239a88fd4c14e5781737396008753cc2d947d2408ebfb2d7dfc3a27b84fe845"` [INFO] [stdout] 8239a88fd4c14e5781737396008753cc2d947d2408ebfb2d7dfc3a27b84fe845 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 642e02601264995db38642b647720715ca5b2f4f825b02727168e02d4bfa18a0 [INFO] running `"docker" "start" "-a" "642e02601264995db38642b647720715ca5b2f4f825b02727168e02d4bfa18a0"` [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 test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/aoc2018-dd968d1781703531 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "642e02601264995db38642b647720715ca5b2f4f825b02727168e02d4bfa18a0"` [INFO] running `"docker" "rm" "-f" "642e02601264995db38642b647720715ca5b2f4f825b02727168e02d4bfa18a0"` [INFO] [stdout] 642e02601264995db38642b647720715ca5b2f4f825b02727168e02d4bfa18a0