[INFO] cloning repository https://github.com/davidpdrsn/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidpdrsn/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidpdrsn%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidpdrsn%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1bbeaebee3ab12baa8f90c9bdbe2caf7903582d [INFO] checking davidpdrsn/advent-of-code-2019 against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidpdrsn%2Fadvent-of-code-2019" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/davidpdrsn/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/davidpdrsn/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/davidpdrsn/advent-of-code-2019 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidpdrsn/advent-of-code-2019 on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/davidpdrsn/advent-of-code-2019 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error v0.2.6 [INFO] [stderr] Downloaded structopt v0.3.5 [INFO] [stderr] Downloaded structopt-derive v0.3.5 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded extend v0.1.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded anyhow v1.0.25 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded unicode-width v0.1.6 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded rustversion v1.0.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cf6cc961be717cae749fcf9f73401bbcae9cd3a718a040742f571ab9ef0bbcc [INFO] running `Command { std: "docker" "start" "-a" "6cf6cc961be717cae749fcf9f73401bbcae9cd3a718a040742f571ab9ef0bbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cf6cc961be717cae749fcf9f73401bbcae9cd3a718a040742f571ab9ef0bbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf6cc961be717cae749fcf9f73401bbcae9cd3a718a040742f571ab9ef0bbcc", kill_on_drop: false }` [INFO] [stdout] 6cf6cc961be717cae749fcf9f73401bbcae9cd3a718a040742f571ab9ef0bbcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fd03d5e7276b7443823516e38a9592249f1e410e1f56a0d5e51718e4b2e32f9 [INFO] running `Command { std: "docker" "start" "-a" "1fd03d5e7276b7443823516e38a9592249f1e410e1f56a0d5e51718e4b2e32f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling anyhow v1.0.25 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling rustversion v1.0.0 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling proc-macro-error-attr v0.3.4 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Compiling proc-macro-error v0.3.4 [INFO] [stderr] Compiling extend v0.1.0 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `u64` [INFO] [stdout] --> src/day_4.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | (digit_length(n) == len).then(n) [INFO] [stdout] | ---- ^ expected an `FnOnce()` closure, found `u64` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::bool::::then` [INFO] [stdout] --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/core/src/bool.rs:61:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `u64` [INFO] [stdout] --> src/day_4.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | .then(n) [INFO] [stdout] | ---- ^ expected an `FnOnce()` closure, found `u64` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::bool::::then` [INFO] [stdout] --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/core/src/bool.rs:61:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `u64` [INFO] [stdout] --> src/day_4.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | .then(n) [INFO] [stdout] | ---- ^ expected an `FnOnce()` closure, found `u64` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::bool::::then` [INFO] [stdout] --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/core/src/bool.rs:61:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `u64` [INFO] [stdout] --> src/day_4.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | .then(n) [INFO] [stdout] | ---- ^ expected an `FnOnce()` closure, found `u64` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::bool::::then` [INFO] [stdout] --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/core/src/bool.rs:61:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `u64` [INFO] [stdout] --> src/day_4.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | (digit_length(n) == len).then(n) [INFO] [stdout] | ---- ^ expected an `FnOnce()` closure, found `u64` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::bool::::then` [INFO] [stdout] --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/core/src/bool.rs:61:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `u64` [INFO] [stdout] --> src/day_4.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | .then(n) [INFO] [stdout] | ---- ^ expected an `FnOnce()` closure, found `u64` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::bool::::then` [INFO] [stdout] --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/core/src/bool.rs:61:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `u64` [INFO] [stdout] --> src/day_4.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | .then(n) [INFO] [stdout] | ---- ^ expected an `FnOnce()` closure, found `u64` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::bool::::then` [INFO] [stdout] --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/core/src/bool.rs:61:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `u64` [INFO] [stdout] --> src/day_4.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | .then(n) [INFO] [stdout] | ---- ^ expected an `FnOnce()` closure, found `u64` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::bool::::then` [INFO] [stdout] --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/core/src/bool.rs:61:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_8/mod.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 56 | Pixel::Black | Pixel::Transparent => html [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] 57 | .push_str(""), [INFO] [stdout] 58 | Pixel::Black => html [INFO] [stdout] | ^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_8/mod.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 56 | Pixel::Black | Pixel::Transparent => html [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] 57 | .push_str(""), [INFO] [stdout] 58 | Pixel::Black => html [INFO] [stdout] | ^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_8/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut layers = build_layers(input)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_8/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut layers = build_layers(input)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "aoc") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc` (bin "aoc" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1fd03d5e7276b7443823516e38a9592249f1e410e1f56a0d5e51718e4b2e32f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fd03d5e7276b7443823516e38a9592249f1e410e1f56a0d5e51718e4b2e32f9", kill_on_drop: false }` [INFO] [stdout] 1fd03d5e7276b7443823516e38a9592249f1e410e1f56a0d5e51718e4b2e32f9