[INFO] cloning repository https://github.com/twilson-palantir/turbot-hearts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/twilson-palantir/turbot-hearts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilson-palantir%2Fturbot-hearts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilson-palantir%2Fturbot-hearts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31ad66eb72f5ed6396f4f01eb7d713255f644e5a [INFO] checking twilson-palantir/turbot-hearts against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilson-palantir%2Fturbot-hearts" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/twilson-palantir/turbot-hearts on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/twilson-palantir/turbot-hearts [INFO] finished tweaking git repo https://github.com/twilson-palantir/turbot-hearts [INFO] tweaked toml for git repo https://github.com/twilson-palantir/turbot-hearts written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/twilson-palantir/turbot-hearts 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.4.2 [INFO] [stderr] Downloaded libc v0.2.39 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] [stderr] Downloaded bitflags v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55cb2ae68f7daf806b0f4faa91660cd4d34c28cc41a6753659c09804bebdf483 [INFO] running `Command { std: "docker" "start" "-a" "55cb2ae68f7daf806b0f4faa91660cd4d34c28cc41a6753659c09804bebdf483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55cb2ae68f7daf806b0f4faa91660cd4d34c28cc41a6753659c09804bebdf483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55cb2ae68f7daf806b0f4faa91660cd4d34c28cc41a6753659c09804bebdf483", kill_on_drop: false }` [INFO] [stdout] 55cb2ae68f7daf806b0f4faa91660cd4d34c28cc41a6753659c09804bebdf483 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 635bca05c606eb143bfcf2bd92b5e0597edda969fe78aa2ef8f90c314dae0089 [INFO] running `Command { std: "docker" "start" "-a" "635bca05c606eb143bfcf2bd92b5e0597edda969fe78aa2ef8f90c314dae0089", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking turbot-hearts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:613:17 [INFO] [stdout] | [INFO] [stdout] 609 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 613 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:623:17 [INFO] [stdout] | [INFO] [stdout] 619 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 623 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:633:17 [INFO] [stdout] | [INFO] [stdout] 629 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 633 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:643:17 [INFO] [stdout] | [INFO] [stdout] 639 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 643 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 649 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 653 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 659 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 663 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:673:17 [INFO] [stdout] | [INFO] [stdout] 669 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 673 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:683:17 [INFO] [stdout] | [INFO] [stdout] 679 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 683 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:697:17 [INFO] [stdout] | [INFO] [stdout] 693 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 697 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:707:17 [INFO] [stdout] | [INFO] [stdout] 703 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 707 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:717:17 [INFO] [stdout] | [INFO] [stdout] 713 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 717 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:727:17 [INFO] [stdout] | [INFO] [stdout] 723 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 727 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:737:17 [INFO] [stdout] | [INFO] [stdout] 733 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 737 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:747:17 [INFO] [stdout] | [INFO] [stdout] 743 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 747 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:761:17 [INFO] [stdout] | [INFO] [stdout] 757 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 761 | Cards::parse("7C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:771:17 [INFO] [stdout] | [INFO] [stdout] 767 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 771 | Cards::parse("7C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:781:17 [INFO] [stdout] | [INFO] [stdout] 777 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 781 | Cards::parse("7S"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:791:17 [INFO] [stdout] | [INFO] [stdout] 787 | legal_plays( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 791 | Cards::parse("7S"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option`, found `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn legal_plays( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | lead: Option, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:801:51 [INFO] [stdout] | [INFO] [stdout] 801 | trick_winner(Cards::parse("A8S 96H"), Cards::parse("6H")), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^ expected `Card`, found `Cards` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn trick_winner(trick: Cards, lead: Card) -> Card { [INFO] [stdout] | ^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:802:13 [INFO] [stdout] | [INFO] [stdout] 802 | Cards::parse("9H") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Card`, found `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turbot-hearts` (bin "turbot-hearts" test) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "635bca05c606eb143bfcf2bd92b5e0597edda969fe78aa2ef8f90c314dae0089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "635bca05c606eb143bfcf2bd92b5e0597edda969fe78aa2ef8f90c314dae0089", kill_on_drop: false }` [INFO] [stdout] 635bca05c606eb143bfcf2bd92b5e0597edda969fe78aa2ef8f90c314dae0089