[INFO] cloning repository https://github.com/antono/aoc2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antono/aoc2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantono%2Faoc2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantono%2Faoc2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6eba81dc96e7bed460e69e22d0aa8f80dfb4652 [INFO] checking antono/aoc2018 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantono%2Faoc2018" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/antono/aoc2018 [INFO] finished tweaking git repo https://github.com/antono/aoc2018 [INFO] tweaked toml for git repo https://github.com/antono/aoc2018 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/antono/aoc2018 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/antono/aoc2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.1.2 [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded indoc-impl v0.3.1 [INFO] [stderr] Downloaded redox_syscall v0.1.44 [INFO] [stderr] Downloaded unindent v0.1.3 [INFO] [stderr] Downloaded indoc v0.3.1 [INFO] [stderr] Downloaded time v0.1.41 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded proc-macro-hack v0.5.4 [INFO] [stderr] Downloaded libc v0.2.45 [INFO] [stderr] Downloaded syn v0.15.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0c88b8dfef3a0b4cdf0abe4f3badfb3e4e7cfbae2dd63d774b23c0fdbf38a78 [INFO] running `Command { std: "docker" "start" "-a" "d0c88b8dfef3a0b4cdf0abe4f3badfb3e4e7cfbae2dd63d774b23c0fdbf38a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0c88b8dfef3a0b4cdf0abe4f3badfb3e4e7cfbae2dd63d774b23c0fdbf38a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c88b8dfef3a0b4cdf0abe4f3badfb3e4e7cfbae2dd63d774b23c0fdbf38a78", kill_on_drop: false }` [INFO] [stdout] d0c88b8dfef3a0b4cdf0abe4f3badfb3e4e7cfbae2dd63d774b23c0fdbf38a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8c3f5c657661563a1cea6ebf891fcc074d5adf1cd0c69a8f841fbbbbbf1ad00 [INFO] running `Command { std: "docker" "start" "-a" "d8c3f5c657661563a1cea6ebf891fcc074d5adf1cd0c69a8f841fbbbbbf1ad00", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [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] Compiling memchr v2.1.2 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling proc-macro-hack v0.5.4 [INFO] [stderr] Compiling indoc-impl v0.3.1 [INFO] [stderr] Checking indoc v0.3.1 [INFO] [stderr] Checking aoc2018 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/bin/4.rs:203:32 [INFO] [stdout] | [INFO] [stdout] 203 | for shift_timelines in records.get(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 203 - for shift_timelines in records.get(key) { [INFO] [stdout] 203 + while let Some(shift_timelines) = records.get(key) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 203 - for shift_timelines in records.get(key) { [INFO] [stdout] 203 + if let Some(shift_timelines) = records.get(key) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/bin/4.rs:203:32 [INFO] [stdout] | [INFO] [stdout] 203 | for shift_timelines in records.get(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 203 - for shift_timelines in records.get(key) { [INFO] [stdout] 203 + while let Some(shift_timelines) = records.get(key) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 203 - for shift_timelines in records.get(key) { [INFO] [stdout] 203 + if let Some(shift_timelines) = records.get(key) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `topological_sort` is never used [INFO] [stdout] --> src/bin/7.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl DAG { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn topological_sort(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> src/bin/7.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 281 | impl Letter { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 291 | fn from_char(char: char) -> Letter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.39s [INFO] running `Command { std: "docker" "inspect" "d8c3f5c657661563a1cea6ebf891fcc074d5adf1cd0c69a8f841fbbbbbf1ad00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8c3f5c657661563a1cea6ebf891fcc074d5adf1cd0c69a8f841fbbbbbf1ad00", kill_on_drop: false }` [INFO] [stdout] d8c3f5c657661563a1cea6ebf891fcc074d5adf1cd0c69a8f841fbbbbbf1ad00