[INFO] cloning repository https://github.com/Ethan826/card-chameleon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ethan826/card-chameleon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthan826%2Fcard-chameleon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthan826%2Fcard-chameleon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ddf93000f0cf03acbcb9f8dbd1269ce3fe8b81b
[INFO] checking Ethan826/card-chameleon against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthan826%2Fcard-chameleon" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ethan826/card-chameleon
[INFO] finished tweaking git repo https://github.com/Ethan826/card-chameleon
[INFO] tweaked toml for git repo https://github.com/Ethan826/card-chameleon written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ethan826/card-chameleon on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ethan826/card-chameleon 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc525c75829bd52fcb10c9228150b5ee5e9cc80cfb2d3da63b41154f113f160b
[INFO] running `Command { std: "docker" "start" "-a" "cc525c75829bd52fcb10c9228150b5ee5e9cc80cfb2d3da63b41154f113f160b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc525c75829bd52fcb10c9228150b5ee5e9cc80cfb2d3da63b41154f113f160b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc525c75829bd52fcb10c9228150b5ee5e9cc80cfb2d3da63b41154f113f160b", kill_on_drop: false }`
[INFO] [stdout] cc525c75829bd52fcb10c9228150b5ee5e9cc80cfb2d3da63b41154f113f160b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43fd5a493ee7832142a8d827a864197441204e6e1e74a2622a63a54cae466fa7
[INFO] running `Command { std: "docker" "start" "-a" "43fd5a493ee7832142a8d827a864197441204e6e1e74a2622a63a54cae466fa7", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]     Checking cfg-if v0.1.5
[INFO] [stderr]    Compiling regex v1.0.5
[INFO] [stderr]     Checking ucd-util v0.1.1
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]     Checking rand_core v0.2.1
[INFO] [stderr]     Checking utf8-ranges v1.0.1
[INFO] [stderr]     Checking regex-syntax v0.6.2
[INFO] [stderr]     Checking itertools v0.7.8
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling memchr v2.1.0
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking rand v0.5.5
[INFO] [stderr]     Checking aho-corasick v0.6.8
[INFO] [stderr]     Checking card-chameleon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `self::Deck`
[INFO] [stdout]    --> src/deck.rs:246:15
[INFO] [stdout]     |
[INFO] [stdout] 246 |     use self::Deck::*;
[INFO] [stdout]     |               ^^^^ `Deck` is a struct, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::Card`
[INFO] [stdout]    --> src/deck.rs:245:15
[INFO] [stdout]     |
[INFO] [stdout] 245 |     use self::Card::*;
[INFO] [stdout]     |               ^^^^ `Card` is a struct, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(try_from)]
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::Deck`
[INFO] [stdout]    --> src/deck.rs:246:15
[INFO] [stdout]     |
[INFO] [stdout] 246 |     use self::Deck::*;
[INFO] [stdout]     |               ^^^^ `Deck` is a struct, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::Card`
[INFO] [stdout]    --> src/deck.rs:245:15
[INFO] [stdout]     |
[INFO] [stdout] 245 |     use self::Card::*;
[INFO] [stdout]     |               ^^^^ `Card` is a struct, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(try_from)]
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout] 98  |             .get("rank")
[INFO] [stdout]     |              --- ^^^^^^ expected `usize`, found `&str`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-1.0.5/src/re_unicode.rs:924:12
[INFO] [stdout]     |
[INFO] [stdout] 924 |     pub fn get(&self, i: usize) -> Option<Match<'t>> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] 101 |           {
[INFO] [stdout] 102 |               "A" => Ace,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 103 |               "2" => Two,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 104 |               "3" => Three,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 105 |               "4" => Four,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 106 |               "5" => Five,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 107 |               "6" => Six,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 108 |               "7" => Seven,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 109 |               "8" => Eight,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 110 |               "9" => Nine,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 111 |               "10" => Ten,
[INFO] [stdout]     |               ^^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 112 |               "J" => Jack,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 113 |               "Q" => Queen,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 114 |               "K" => King,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:118:18
[INFO] [stdout]     |
[INFO] [stdout] 118 |             .get("suit")
[INFO] [stdout]     |              --- ^^^^^^ expected `usize`, found `&str`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-1.0.5/src/re_unicode.rs:924:12
[INFO] [stdout]     |
[INFO] [stdout] 924 |     pub fn get(&self, i: usize) -> Option<Match<'t>> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout] 98  |             .get("rank")
[INFO] [stdout]     |              --- ^^^^^^ expected `usize`, found `&str`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-1.0.5/src/re_unicode.rs:924:12
[INFO] [stdout]     |
[INFO] [stdout] 924 |     pub fn get(&self, i: usize) -> Option<Match<'t>> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] 101 |           {
[INFO] [stdout] 102 |               "A" => Ace,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 103 |               "2" => Two,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 104 |               "3" => Three,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 105 |               "4" => Four,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 106 |               "5" => Five,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 107 |               "6" => Six,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 108 |               "7" => Seven,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 109 |               "8" => Eight,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 110 |               "9" => Nine,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 111 |               "10" => Ten,
[INFO] [stdout]     |               ^^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 112 |               "J" => Jack,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 113 |               "Q" => Queen,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |           let rank = match &caps
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 98  | |             .get("rank")
[INFO] [stdout] 99  | |             .ok_or("Invalid card rank specified")?
[INFO] [stdout] 100 | |             .as_str()
[INFO] [stdout]     | |_____________________- this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 114 |               "K" => King,
[INFO] [stdout]     |               ^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/card.rs:118:18
[INFO] [stdout]     |
[INFO] [stdout] 118 |             .get("suit")
[INFO] [stdout]     |              --- ^^^^^^ expected `usize`, found `&str`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-1.0.5/src/re_unicode.rs:924:12
[INFO] [stdout]     |
[INFO] [stdout] 924 |     pub fn get(&self, i: usize) -> Option<Match<'t>> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `card-chameleon` (lib test) due to 17 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `card-chameleon` (lib) due to 17 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "43fd5a493ee7832142a8d827a864197441204e6e1e74a2622a63a54cae466fa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43fd5a493ee7832142a8d827a864197441204e6e1e74a2622a63a54cae466fa7", kill_on_drop: false }`
[INFO] [stdout] 43fd5a493ee7832142a8d827a864197441204e6e1e74a2622a63a54cae466fa7
