[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 try#b1f2594eac607c1f051534800237eeedb5590a49 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/antono/aoc2018 on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ea30634fb9d38588023ef5cdd92f38646e2fa1a3a01dd184705c0f8eaa21d42 [INFO] running `Command { std: "docker" "start" "-a" "4ea30634fb9d38588023ef5cdd92f38646e2fa1a3a01dd184705c0f8eaa21d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ea30634fb9d38588023ef5cdd92f38646e2fa1a3a01dd184705c0f8eaa21d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea30634fb9d38588023ef5cdd92f38646e2fa1a3a01dd184705c0f8eaa21d42", kill_on_drop: false }` [INFO] [stdout] 4ea30634fb9d38588023ef5cdd92f38646e2fa1a3a01dd184705c0f8eaa21d42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 694f56e03ab6aaeb8e43ac3aaa2dbbe1daa3d7218931bfb3dc0324f6e888ac80 [INFO] running `Command { std: "docker" "start" "-a" "694f56e03ab6aaeb8e43ac3aaa2dbbe1daa3d7218931bfb3dc0324f6e888ac80", 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] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking aho-corasick v0.6.9 [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.49s [INFO] running `Command { std: "docker" "inspect" "694f56e03ab6aaeb8e43ac3aaa2dbbe1daa3d7218931bfb3dc0324f6e888ac80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "694f56e03ab6aaeb8e43ac3aaa2dbbe1daa3d7218931bfb3dc0324f6e888ac80", kill_on_drop: false }` [INFO] [stdout] 694f56e03ab6aaeb8e43ac3aaa2dbbe1daa3d7218931bfb3dc0324f6e888ac80