[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#8a65ee08296b36342bf7c3cdc15312ccbc357227 for pr-142704
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilson-palantir%2Fturbot-hearts" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/twilson-palantir/turbot-hearts on toolchain 8a65ee08296b36342bf7c3cdc15312ccbc357227
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "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-6-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" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 97b850c8e90757751eada060a328452e866e0e5da8a447c844a4bde03143c658
[INFO] running `Command { std: "docker" "start" "-a" "97b850c8e90757751eada060a328452e866e0e5da8a447c844a4bde03143c658", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97b850c8e90757751eada060a328452e866e0e5da8a447c844a4bde03143c658", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97b850c8e90757751eada060a328452e866e0e5da8a447c844a4bde03143c658", kill_on_drop: false }`
[INFO] [stdout] 97b850c8e90757751eada060a328452e866e0e5da8a447c844a4bde03143c658
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b10aed20e97633b2f8b25cf30976acd20ae92fafd4c8e3b9858c1bb307e8e199
[INFO] running `Command { std: "docker" "start" "-a" "b10aed20e97633b2f8b25cf30976acd20ae92fafd4c8e3b9858c1bb307e8e199", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let mut chargeable = hand[i] & Cards::CHARGEABLE;
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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<Card>`, found `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[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<Card>,
[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] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let mut chargeable = hand[i] & Cards::CHARGEABLE;
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[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 20 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b10aed20e97633b2f8b25cf30976acd20ae92fafd4c8e3b9858c1bb307e8e199", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b10aed20e97633b2f8b25cf30976acd20ae92fafd4c8e3b9858c1bb307e8e199", kill_on_drop: false }`
[INFO] [stdout] b10aed20e97633b2f8b25cf30976acd20ae92fafd4c8e3b9858c1bb307e8e199
