[INFO] cloning repository https://github.com/minight/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minight/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminight%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminight%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d112a025e8b481155b0cc9ca5868ec9a3dd5dcc4 [INFO] checking minight/adventofcode2020 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminight%2Fadventofcode2020" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minight/adventofcode2020 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/minight/adventofcode2020 [INFO] finished tweaking git repo https://github.com/minight/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/minight/adventofcode2020 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/minight/adventofcode2020 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b2f903f4950c2e6cb3004f7fc12b03ec607d525e4129a2e7863b656064cca731 [INFO] running `Command { std: "docker" "start" "-a" "b2f903f4950c2e6cb3004f7fc12b03ec607d525e4129a2e7863b656064cca731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2f903f4950c2e6cb3004f7fc12b03ec607d525e4129a2e7863b656064cca731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2f903f4950c2e6cb3004f7fc12b03ec607d525e4129a2e7863b656064cca731", kill_on_drop: false }` [INFO] [stdout] b2f903f4950c2e6cb3004f7fc12b03ec607d525e4129a2e7863b656064cca731 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] dabd3e0facf811f8e7e139869115281127f80ab5394ac057a13e903c60aad7bb [INFO] running `Command { std: "docker" "start" "-a" "dabd3e0facf811f8e7e139869115281127f80ab5394ac057a13e903c60aad7bb", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found keyword `true` [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 16 | enum SubCommand { [INFO] [stdout] | ---------- while parsing this enum [INFO] [stdout] 17 | #[clap(author="day 1 command")] [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ^^^^ expected type [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found keyword `true` [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 16 | enum SubCommand { [INFO] [stdout] | ---------- while parsing this enum [INFO] [stdout] 17 | #[clap(author="day 1 command")] [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ^^^^ expected type [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::days` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::days::day1; [INFO] [stdout] | ^^^^ could not find `days` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::days` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::days::day1; [INFO] [stdout] | ^^^^ could not find `days` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SubCommand: Subcommand` is not satisfied [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | subcmd: SubCommand, [INFO] [stdout] | ^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCommand` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Subcommand` is implemented for `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 0 fields [INFO] [stdout] --> src/main.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ---- tuple variant has 0 fields [INFO] [stdout] ... [INFO] [stdout] 26 | SubCommand::Day1(d) => { [INFO] [stdout] | ^ expected 0 fields, found 1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SubCommand: Subcommand` is not satisfied [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | subcmd: SubCommand, [INFO] [stdout] | ^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCommand` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Subcommand` is implemented for `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 0 fields [INFO] [stdout] --> src/main.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ---- tuple variant has 0 fields [INFO] [stdout] ... [INFO] [stdout] 26 | SubCommand::Day1(d) => { [INFO] [stdout] | ^ expected 0 fields, found 1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "aoc" test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc` (bin "aoc") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "dabd3e0facf811f8e7e139869115281127f80ab5394ac057a13e903c60aad7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dabd3e0facf811f8e7e139869115281127f80ab5394ac057a13e903c60aad7bb", kill_on_drop: false }` [INFO] [stdout] dabd3e0facf811f8e7e139869115281127f80ab5394ac057a13e903c60aad7bb