[INFO] cloning repository https://github.com/jcsims/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcsims/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcsims%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcsims%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0718a46d0f8c4c2e2cff12c88f6b7405722aa819 [INFO] checking jcsims/aoc2020 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcsims%2Faoc2020" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcsims/aoc2020 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jcsims/aoc2020 [INFO] finished tweaking git repo https://github.com/jcsims/aoc2020 [INFO] tweaked toml for git repo https://github.com/jcsims/aoc2020 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jcsims/aoc2020 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v1.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 024c26e3afc8b2729471107d231480e134f0099fa099f1137309087d45900b4a [INFO] running `Command { std: "docker" "start" "-a" "024c26e3afc8b2729471107d231480e134f0099fa099f1137309087d45900b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "024c26e3afc8b2729471107d231480e134f0099fa099f1137309087d45900b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "024c26e3afc8b2729471107d231480e134f0099fa099f1137309087d45900b4a", kill_on_drop: false }` [INFO] [stdout] 024c26e3afc8b2729471107d231480e134f0099fa099f1137309087d45900b4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21cbf5c2c8cd810862662648fc8cfbd08472bdad6d50bc6ccf0d16c6d7f4904b [INFO] running `Command { std: "docker" "start" "-a" "21cbf5c2c8cd810862662648fc8cfbd08472bdad6d50bc6ccf0d16c6d7f4904b", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Checking regex v1.3.2 [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `fn(i64) -> Instruction {Instruction::Nop}` [INFO] [stdout] --> src/day8.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(Instruction::Nop, parse_instruction("nop 0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fn(i64) -> Instruction {Instruction::Nop} [INFO] [stdout] | Instruction [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `fn(i64) -> Instruction {Instruction::Nop}` doesn't implement `Debug` [INFO] [stdout] --> src/day8.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 73 | Nop(i64), [INFO] [stdout] | --- consider calling the constructor for `Instruction::Nop` [INFO] [stdout] ... [INFO] [stdout] 95 | assert_eq!(Instruction::Nop, parse_instruction("nop 0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `fn(i64) -> Instruction {Instruction::Nop}` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for fn item `fn(i64) -> Instruction {Instruction::Nop}` [INFO] [stdout] = help: use parentheses to construct this tuple variant: `Instruction::Nop(/* i64 */)` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (bin "aoc2020" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "21cbf5c2c8cd810862662648fc8cfbd08472bdad6d50bc6ccf0d16c6d7f4904b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21cbf5c2c8cd810862662648fc8cfbd08472bdad6d50bc6ccf0d16c6d7f4904b", kill_on_drop: false }` [INFO] [stdout] 21cbf5c2c8cd810862662648fc8cfbd08472bdad6d50bc6ccf0d16c6d7f4904b