[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 master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidpdrsn%2Fadvent-of-code-2019" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidpdrsn/advent-of-code-2019 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [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: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96d8750744f25616fe165f13ee9d683576646a8883af3a1afc6ffb42f552a7db [INFO] running `Command { std: "docker" "start" "-a" "96d8750744f25616fe165f13ee9d683576646a8883af3a1afc6ffb42f552a7db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96d8750744f25616fe165f13ee9d683576646a8883af3a1afc6ffb42f552a7db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d8750744f25616fe165f13ee9d683576646a8883af3a1afc6ffb42f552a7db", kill_on_drop: false }` [INFO] [stdout] 96d8750744f25616fe165f13ee9d683576646a8883af3a1afc6ffb42f552a7db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2be436033966562927a8c7d2fffd7294729f2acbda437196e8009a4e00fa7b28 [INFO] running `Command { std: "docker" "start" "-a" "2be436033966562927a8c7d2fffd7294729f2acbda437196e8009a4e00fa7b28", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.25 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking crossbeam-utils v0.7.0 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.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] = help: the trait `FnOnce<()>` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [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] = help: the trait `FnOnce<()>` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [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] = help: the trait `FnOnce<()>` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [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] = help: the trait `FnOnce<()>` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [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] = help: the trait `FnOnce<()>` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [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] = help: the trait `FnOnce<()>` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [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] = help: the trait `FnOnce<()>` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [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] = help: the trait `FnOnce<()>` is not implemented for `u64` [INFO] [stdout] = note: wrap the `u64` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2be436033966562927a8c7d2fffd7294729f2acbda437196e8009a4e00fa7b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be436033966562927a8c7d2fffd7294729f2acbda437196e8009a4e00fa7b28", kill_on_drop: false }` [INFO] [stdout] 2be436033966562927a8c7d2fffd7294729f2acbda437196e8009a4e00fa7b28