[INFO] cloning repository https://github.com/broosa/RustCribbage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/broosa/RustCribbage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbroosa%2FRustCribbage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbroosa%2FRustCribbage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d77dffc975c04beccacc25b1e749b78975b7e04b [INFO] testing broosa/RustCribbage against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbroosa%2FRustCribbage" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/broosa/RustCribbage on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/broosa/RustCribbage [INFO] finished tweaking git repo https://github.com/broosa/RustCribbage [INFO] tweaked toml for git repo https://github.com/broosa/RustCribbage written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/broosa/RustCribbage 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b11476d9b2db419c41f4f7ad08a5eda662160c0b93cdaba9d9d08a2c8271e915 [INFO] running `Command { std: "docker" "start" "-a" "b11476d9b2db419c41f4f7ad08a5eda662160c0b93cdaba9d9d08a2c8271e915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b11476d9b2db419c41f4f7ad08a5eda662160c0b93cdaba9d9d08a2c8271e915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b11476d9b2db419c41f4f7ad08a5eda662160c0b93cdaba9d9d08a2c8271e915", kill_on_drop: false }` [INFO] [stdout] b11476d9b2db419c41f4f7ad08a5eda662160c0b93cdaba9d9d08a2c8271e915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 494e5afcff2233f84c1a79f687ce9c986b8201ec07b3890bdb5e98780c3c05e3 [INFO] running `Command { std: "docker" "start" "-a" "494e5afcff2233f84c1a79f687ce9c986b8201ec07b3890bdb5e98780c3c05e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rust_cribbage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `directly_precedes` and `directly_succeeds` are never used [INFO] [stdout] --> src/cribbage_cards.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CribbageCard { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 29 | pub fn directly_precedes(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn directly_succeeds(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/cribbage_scoring.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let score = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quadScore` [INFO] [stdout] --> src/cribbage_scoring.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quadScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quads` [INFO] [stdout] --> src/cribbage_scoring.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tripleScore` [INFO] [stdout] --> src/cribbage_scoring.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tripleScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triples` [INFO] [stdout] --> src/cribbage_scoring.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairScore` [INFO] [stdout] --> src/cribbage_scoring.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pairScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairs` [INFO] [stdout] --> src/cribbage_scoring.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairs_remainder` [INFO] [stdout] --> src/cribbage_scoring.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runScore` [INFO] [stdout] --> src/cribbage_scoring.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runs` [INFO] [stdout] --> src/cribbage_scoring.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_runs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/cribbage_scoring.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_long_rank_desc` is never used [INFO] [stdout] --> src/cards.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_long_rank_desc(r: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cards.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait MutableCardCollection { [INFO] [stdout] | --------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 89 | fn draw_bottom(&mut self, n: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | fn draw_at(&mut self, n: usize, loc: usize) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | fn peek_top(&mut self, n: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | fn peek_bottom(&mut self, n: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | fn peek_at(&mut self, n: usize, loc: usize) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 94 | fn insert_top(&mut self, c: T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 95 | fn insert_bottom(&mut self, c: T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | fn insert_before(&mut self, c: T, loc: usize); [INFO] [stdout] 97 | fn insert_multiple_top(&mut self, c: Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | fn insert_multiple_bottom(&mut self, c: Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | fn insert_multiple_at(&mut self, c: Vec, loc: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_short_rank_name`, `get_long_rank_name`, `get_short_suit_name`, `get_long_suit_name`, and `get_long_description` are never used [INFO] [stdout] --> src/cards.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub trait Card: Copy { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 245 | fn get_short_rank_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn get_long_rank_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn get_short_suit_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn get_long_suit_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn get_long_description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `directly_succeeds` is never used [INFO] [stdout] --> src/cribbage_cards.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CribbageCard { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn directly_succeeds(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `score_flush` is never used [INFO] [stdout] --> src/cribbage_scoring.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn score_flush(hand: &Vec) -> (i8, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fifteensScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | let (fifteensScore, fifteens) = score_fifteens(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fifteens_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `quadScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `quad_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tripleScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `triple_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pairScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `pair_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `runScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `run_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.95s [INFO] running `Command { std: "docker" "inspect" "494e5afcff2233f84c1a79f687ce9c986b8201ec07b3890bdb5e98780c3c05e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "494e5afcff2233f84c1a79f687ce9c986b8201ec07b3890bdb5e98780c3c05e3", kill_on_drop: false }` [INFO] [stdout] 494e5afcff2233f84c1a79f687ce9c986b8201ec07b3890bdb5e98780c3c05e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3390ac3ba9eb252ba1d5ad4ab6e9033c9f2ec54d0a61b013610e09a5847fc238 [INFO] running `Command { std: "docker" "start" "-a" "3390ac3ba9eb252ba1d5ad4ab6e9033c9f2ec54d0a61b013610e09a5847fc238", kill_on_drop: false }` [INFO] [stderr] Compiling rust_cribbage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `directly_precedes` and `directly_succeeds` are never used [INFO] [stdout] --> src/cribbage_cards.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CribbageCard { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 29 | pub fn directly_precedes(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn directly_succeeds(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/cribbage_scoring.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let score = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quadScore` [INFO] [stdout] --> src/cribbage_scoring.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quadScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quads` [INFO] [stdout] --> src/cribbage_scoring.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tripleScore` [INFO] [stdout] --> src/cribbage_scoring.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tripleScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triples` [INFO] [stdout] --> src/cribbage_scoring.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairScore` [INFO] [stdout] --> src/cribbage_scoring.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pairScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairs` [INFO] [stdout] --> src/cribbage_scoring.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairs_remainder` [INFO] [stdout] --> src/cribbage_scoring.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runScore` [INFO] [stdout] --> src/cribbage_scoring.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runs` [INFO] [stdout] --> src/cribbage_scoring.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_runs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/cribbage_scoring.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_long_rank_desc` is never used [INFO] [stdout] --> src/cards.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_long_rank_desc(r: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cards.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait MutableCardCollection { [INFO] [stdout] | --------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 89 | fn draw_bottom(&mut self, n: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | fn draw_at(&mut self, n: usize, loc: usize) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | fn peek_top(&mut self, n: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | fn peek_bottom(&mut self, n: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | fn peek_at(&mut self, n: usize, loc: usize) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 94 | fn insert_top(&mut self, c: T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 95 | fn insert_bottom(&mut self, c: T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | fn insert_before(&mut self, c: T, loc: usize); [INFO] [stdout] 97 | fn insert_multiple_top(&mut self, c: Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | fn insert_multiple_bottom(&mut self, c: Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | fn insert_multiple_at(&mut self, c: Vec, loc: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_short_rank_name`, `get_long_rank_name`, `get_short_suit_name`, `get_long_suit_name`, and `get_long_description` are never used [INFO] [stdout] --> src/cards.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub trait Card: Copy { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 245 | fn get_short_rank_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn get_long_rank_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn get_short_suit_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn get_long_suit_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn get_long_description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `directly_succeeds` is never used [INFO] [stdout] --> src/cribbage_cards.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CribbageCard { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn directly_succeeds(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `score_flush` is never used [INFO] [stdout] --> src/cribbage_scoring.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn score_flush(hand: &Vec) -> (i8, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fifteensScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | let (fifteensScore, fifteens) = score_fifteens(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fifteens_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `quadScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `quad_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tripleScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `triple_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pairScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `pair_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `runScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `run_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> tests/cards_test.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let d = c.get_long_description(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/cribbage_scoring.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let score = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `directly_precedes` and `directly_succeeds` are never used [INFO] [stdout] --> src/cribbage_cards.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CribbageCard { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 29 | pub fn directly_precedes(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn directly_succeeds(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quadScore` [INFO] [stdout] --> src/cribbage_scoring.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quadScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quads` [INFO] [stdout] --> src/cribbage_scoring.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tripleScore` [INFO] [stdout] --> src/cribbage_scoring.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tripleScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triples` [INFO] [stdout] --> src/cribbage_scoring.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairScore` [INFO] [stdout] --> src/cribbage_scoring.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pairScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairs` [INFO] [stdout] --> src/cribbage_scoring.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairs_remainder` [INFO] [stdout] --> src/cribbage_scoring.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runScore` [INFO] [stdout] --> src/cribbage_scoring.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runs` [INFO] [stdout] --> src/cribbage_scoring.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_runs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/cribbage_scoring.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_long_rank_desc` is never used [INFO] [stdout] --> src/cards.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_long_rank_desc(r: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cards.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait MutableCardCollection { [INFO] [stdout] | --------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 89 | fn draw_bottom(&mut self, n: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | fn draw_at(&mut self, n: usize, loc: usize) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | fn peek_top(&mut self, n: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | fn peek_bottom(&mut self, n: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | fn peek_at(&mut self, n: usize, loc: usize) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 94 | fn insert_top(&mut self, c: T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 95 | fn insert_bottom(&mut self, c: T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | fn insert_before(&mut self, c: T, loc: usize); [INFO] [stdout] 97 | fn insert_multiple_top(&mut self, c: Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | fn insert_multiple_bottom(&mut self, c: Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | fn insert_multiple_at(&mut self, c: Vec, loc: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_short_rank_name`, `get_long_rank_name`, `get_short_suit_name`, `get_long_suit_name`, and `get_long_description` are never used [INFO] [stdout] --> src/cards.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub trait Card: Copy { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 245 | fn get_short_rank_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn get_long_rank_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn get_short_suit_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn get_long_suit_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn get_long_description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `directly_succeeds` is never used [INFO] [stdout] --> src/cribbage_cards.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CribbageCard { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn directly_succeeds(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `score_flush` is never used [INFO] [stdout] --> src/cribbage_scoring.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn score_flush(hand: &Vec) -> (i8, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fifteensScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | let (fifteensScore, fifteens) = score_fifteens(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fifteens_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `quadScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `quad_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tripleScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `triple_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pairScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `pair_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `runScore` should have a snake case name [INFO] [stdout] --> src/cribbage_scoring.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `run_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "3390ac3ba9eb252ba1d5ad4ab6e9033c9f2ec54d0a61b013610e09a5847fc238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3390ac3ba9eb252ba1d5ad4ab6e9033c9f2ec54d0a61b013610e09a5847fc238", kill_on_drop: false }` [INFO] [stdout] 3390ac3ba9eb252ba1d5ad4ab6e9033c9f2ec54d0a61b013610e09a5847fc238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1fe7347702d2cb252b843b9afe213b9645ea0dc0dc4c77881673799e32d8427c [INFO] running `Command { std: "docker" "start" "-a" "1fe7347702d2cb252b843b9afe213b9645ea0dc0dc4c77881673799e32d8427c", kill_on_drop: false }` [INFO] [stderr] warning: methods `directly_precedes` and `directly_succeeds` are never used [INFO] [stderr] --> src/cribbage_cards.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl CribbageCard { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] 29 | pub fn directly_precedes(&self, other: Self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn directly_succeeds(&self, other: Self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_cribbage` (lib) generated 1 warning [INFO] [stderr] warning: unused variable: `score` [INFO] [stderr] --> src/cribbage_scoring.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | let score = 0; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `quadScore` [INFO] [stderr] --> src/cribbage_scoring.rs:212:10 [INFO] [stderr] | [INFO] [stderr] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quadScore` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `quads` [INFO] [stderr] --> src/cribbage_scoring.rs:212:21 [INFO] [stderr] | [INFO] [stderr] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quads` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tripleScore` [INFO] [stderr] --> src/cribbage_scoring.rs:213:10 [INFO] [stderr] | [INFO] [stderr] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tripleScore` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `triples` [INFO] [stderr] --> src/cribbage_scoring.rs:213:23 [INFO] [stderr] | [INFO] [stderr] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triples` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pairScore` [INFO] [stderr] --> src/cribbage_scoring.rs:214:10 [INFO] [stderr] | [INFO] [stderr] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pairScore` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pairs` [INFO] [stderr] --> src/cribbage_scoring.rs:214:21 [INFO] [stderr] | [INFO] [stderr] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pairs_remainder` [INFO] [stderr] --> src/cribbage_scoring.rs:214:28 [INFO] [stderr] | [INFO] [stderr] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs_remainder` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `runScore` [INFO] [stderr] --> src/cribbage_scoring.rs:215:10 [INFO] [stderr] | [INFO] [stderr] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runScore` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `runs` [INFO] [stderr] --> src/cribbage_scoring.rs:215:20 [INFO] [stderr] | [INFO] [stderr] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_runs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `remainder` [INFO] [stderr] --> src/cribbage_scoring.rs:215:26 [INFO] [stderr] | [INFO] [stderr] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stderr] [INFO] [stderr] warning: function `get_long_rank_desc` is never used [INFO] [stderr] --> src/cards.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn get_long_rank_desc(r: &str) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/cards.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 83 | pub trait MutableCardCollection { [INFO] [stderr] | --------------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 89 | fn draw_bottom(&mut self, n: usize) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 90 | fn draw_at(&mut self, n: usize, loc: usize) -> Vec; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 91 | fn peek_top(&mut self, n: usize) -> Vec; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 92 | fn peek_bottom(&mut self, n: usize) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 93 | fn peek_at(&mut self, n: usize, loc: usize) -> Vec; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 94 | fn insert_top(&mut self, c: T); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 95 | fn insert_bottom(&mut self, c: T); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 96 | fn insert_before(&mut self, c: T, loc: usize); [INFO] [stderr] 97 | fn insert_multiple_top(&mut self, c: Vec); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 98 | fn insert_multiple_bottom(&mut self, c: Vec); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 99 | fn insert_multiple_at(&mut self, c: Vec, loc: usize); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_short_rank_name`, `get_long_rank_name`, `get_short_suit_name`, `get_long_suit_name`, and `get_long_description` are never used [INFO] [stderr] --> src/cards.rs:245:8 [INFO] [stderr] | [INFO] [stderr] 240 | pub trait Card: Copy { [INFO] [stderr] | ---- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 245 | fn get_short_rank_name(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 249 | fn get_long_rank_name(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 253 | fn get_short_suit_name(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 257 | fn get_long_suit_name(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 269 | fn get_long_description(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `directly_succeeds` is never used [INFO] [stderr] --> src/cribbage_cards.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl CribbageCard { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn directly_succeeds(&self, other: Self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `score_flush` is never used [INFO] [stderr] --> src/cribbage_scoring.rs:195:8 [INFO] [stderr] | [INFO] [stderr] 195 | pub fn score_flush(hand: &Vec) -> (i8, Vec>) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `fifteensScore` should have a snake case name [INFO] [stderr] --> src/cribbage_scoring.rs:211:10 [INFO] [stderr] | [INFO] [stderr] 211 | let (fifteensScore, fifteens) = score_fifteens(&sorted_hand); [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fifteens_score` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `quadScore` should have a snake case name [INFO] [stderr] --> src/cribbage_scoring.rs:212:10 [INFO] [stderr] | [INFO] [stderr] 212 | let (quadScore, quads, quads_remainder) = score_quads(&sorted_hand); [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `quad_score` [INFO] [stderr] [INFO] [stderr] warning: variable `tripleScore` should have a snake case name [INFO] [stderr] --> src/cribbage_scoring.rs:213:10 [INFO] [stderr] | [INFO] [stderr] 213 | let (tripleScore, triples, triples_remainder) = score_triples(&quads_remainder); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `triple_score` [INFO] [stderr] [INFO] [stderr] warning: variable `pairScore` should have a snake case name [INFO] [stderr] --> src/cribbage_scoring.rs:214:10 [INFO] [stderr] | [INFO] [stderr] 214 | let (pairScore, pairs, pairs_remainder) = score_pairs(&triples_remainder); [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `pair_score` [INFO] [stderr] [INFO] [stderr] warning: variable `runScore` should have a snake case name [INFO] [stderr] --> src/cribbage_scoring.rs:215:10 [INFO] [stderr] | [INFO] [stderr] 215 | let (runScore, runs, remainder) = score_runs(&sorted_hand); [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `run_score` [INFO] [stderr] [INFO] [stderr] warning: `rust_cribbage` (bin "rust_cribbage" test) generated 21 warnings [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> tests/cards_test.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let d = c.get_long_description(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_cribbage` (bin "rust_cribbage") generated 21 warnings (21 duplicates) [INFO] [stderr] warning: `rust_cribbage` (test "cards_test") generated 1 warning [INFO] [stderr] warning: `rust_cribbage` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_cribbage-4d4dc726970d1dcd) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_cribbage-c6ca6b178751a38e) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cards_test.rs (/opt/rustwide/target/debug/deps/cards_test-012bce76099512ef) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_get_long_suit_desc ... ok [INFO] [stderr] error: test failed, to rerun pass `--test cards_test` [INFO] [stdout] test test_get_short_suit_desc ... FAILED [INFO] [stdout] test test_card_invalid_rank - should panic ... ok [INFO] [stdout] test test_card_functions ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_get_short_suit_desc stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_get_short_suit_desc' panicked at tests/cards_test.rs:15:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "♥" [INFO] [stdout] right: "H" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x559414f77230 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x559414f77230 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x559414f77230 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x559414f77230 - ::fmt::h6d42cc84fc840290 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x559414f9d823 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x559414f9d823 - core::fmt::write::h5af61a909e3ec64d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x559414f74353 - std::io::Write::write_fmt::h64baa9197d9a3b04 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x559414f77082 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x559414f7865f - std::panicking::default_hook::{{closure}}::h9128866118196224 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x559414f78478 - std::panicking::default_hook::h52e9e7314e0255f6 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x559414f41175 - as core::ops::function::Fn>::call::hb86f691850cc3c26 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 11: 0x559414f41175 - test::test_main::{{closure}}::h903d8079e3c94d93 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x559414f790d3 - as core::ops::function::Fn>::call::h7c356b28a03897d7 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 13: 0x559414f790d3 - std::panicking::rust_panic_with_hook::h541791bcc774ef34 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x559414f78daa - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x559414f77749 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x559414f78a3d - rust_begin_unwind [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x559414f05ca0 - core::panicking::panic_fmt::h5764ee7030b7a73d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x559414f05fc2 - core::panicking::assert_failed_inner::h75e36b16d296c663 [INFO] [stdout] 19: 0x559414f06b11 - core::panicking::assert_failed::h76dab173e00bb56b [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:380:5 [INFO] [stdout] 20: 0x559414f07352 - cards_test::test_get_short_suit_desc::hcda2a29a5f05bb98 [INFO] [stdout] at /opt/rustwide/workdir/tests/cards_test.rs:15:5 [INFO] [stdout] 21: 0x559414f072b7 - cards_test::test_get_short_suit_desc::{{closure}}::h1d01335b83ed6ac1 [INFO] [stdout] at /opt/rustwide/workdir/tests/cards_test.rs:14:30 [INFO] [stdout] 22: 0x559414f06786 - core::ops::function::FnOnce::call_once::hb3e2a80370a0b0a3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x559414f468fb - core::ops::function::FnOnce::call_once::h1dfa20b1ec1f6e08 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x559414f468fb - test::__rust_begin_short_backtrace::h7b10906492afc420 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:637:18 [INFO] [stdout] 25: 0x559414f457e8 - test::run_test_in_process::{{closure}}::h51c1c0d319f72c0a [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:60 [INFO] [stdout] 26: 0x559414f457e8 - as core::ops::function::FnOnce<()>>::call_once::h5fadb750f3dbe714 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x559414f457e8 - std::panicking::try::do_call::h1ca5071cef82bb40 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 28: 0x559414f457e8 - std::panicking::try::h6931de76fb9a61b1 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 29: 0x559414f457e8 - std::panic::catch_unwind::h67fc9dccf413f4e5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x559414f457e8 - test::run_test_in_process::ha966dfbb1d048be5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:27 [INFO] [stdout] 31: 0x559414f457e8 - test::run_test::{{closure}}::he209928ac5e8a3b8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:581:43 [INFO] [stdout] 32: 0x559414f09775 - test::run_test::{{closure}}::h34c6289e0b5ed5a5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:611:41 [INFO] [stdout] 33: 0x559414f09775 - std::sys::backtrace::__rust_begin_short_backtrace::h365aabf21799e6fc [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x559414f0d1ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3d5e582cba74b1c3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x559414f0d1ea - as core::ops::function::FnOnce<()>>::call_once::h1214c75c3f73f94f [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x559414f0d1ea - std::panicking::try::do_call::h73540336a45c0cec [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x559414f0d1ea - std::panicking::try::h428956564307af63 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x559414f0d1ea - std::panic::catch_unwind::h1a53a6ea2f2041e3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x559414f0d1ea - std::thread::Builder::spawn_unchecked_::{{closure}}::hac66cbb88d807e14 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x559414f0d1ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::had7e2d02878d3212 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x559414f7ce1b - as core::ops::function::FnOnce>::call_once::h292d1663b0785fda [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 42: 0x559414f7ce1b - as core::ops::function::FnOnce>::call_once::h9d4af7b531852d72 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 43: 0x559414f7ce1b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 44: 0x723a033a3aa4 - [INFO] [stdout] 45: 0x723a03430a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_card_functions stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_card_functions' panicked at tests/cards_test.rs:25:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "4♥" [INFO] [stdout] right: "4H" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x559414f77230 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x559414f77230 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x559414f77230 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x559414f77230 - ::fmt::h6d42cc84fc840290 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x559414f9d823 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x559414f9d823 - core::fmt::write::h5af61a909e3ec64d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x559414f74353 - std::io::Write::write_fmt::h64baa9197d9a3b04 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x559414f77082 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x559414f7865f - std::panicking::default_hook::{{closure}}::h9128866118196224 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x559414f78478 - std::panicking::default_hook::h52e9e7314e0255f6 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x559414f41175 - as core::ops::function::Fn>::call::hb86f691850cc3c26 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 11: 0x559414f41175 - test::test_main::{{closure}}::h903d8079e3c94d93 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x559414f790d3 - as core::ops::function::Fn>::call::h7c356b28a03897d7 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 13: 0x559414f790d3 - std::panicking::rust_panic_with_hook::h541791bcc774ef34 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x559414f78daa - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x559414f77749 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x559414f78a3d - rust_begin_unwind [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x559414f05ca0 - core::panicking::panic_fmt::h5764ee7030b7a73d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x559414f05fc2 - core::panicking::assert_failed_inner::h75e36b16d296c663 [INFO] [stdout] 19: 0x559414f06b53 - core::panicking::assert_failed::hb9d398fc35b5fae0 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:380:5 [INFO] [stdout] 20: 0x559414f076df - cards_test::test_card_functions::hbe6cb095d4adc046 [INFO] [stdout] at /opt/rustwide/workdir/tests/cards_test.rs:25:5 [INFO] [stdout] 21: 0x559414f07527 - cards_test::test_card_functions::{{closure}}::h51bdb686e70368fa [INFO] [stdout] at /opt/rustwide/workdir/tests/cards_test.rs:22:25 [INFO] [stdout] 22: 0x559414f06816 - core::ops::function::FnOnce::call_once::hd5acdf75148573df [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x559414f468fb - core::ops::function::FnOnce::call_once::h1dfa20b1ec1f6e08 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x559414f468fb - test::__rust_begin_short_backtrace::h7b10906492afc420 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:637:18 [INFO] [stdout] 25: 0x559414f457e8 - test::run_test_in_process::{{closure}}::h51c1c0d319f72c0a [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:60 [INFO] [stdout] 26: 0x559414f457e8 - as core::ops::function::FnOnce<()>>::call_once::h5fadb750f3dbe714 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x559414f457e8 - std::panicking::try::do_call::h1ca5071cef82bb40 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 28: 0x559414f457e8 - std::panicking::try::h6931de76fb9a61b1 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 29: 0x559414f457e8 - std::panic::catch_unwind::h67fc9dccf413f4e5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x559414f457e8 - test::run_test_in_process::ha966dfbb1d048be5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:27 [INFO] [stdout] 31: 0x559414f457e8 - test::run_test::{{closure}}::he209928ac5e8a3b8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:581:43 [INFO] [stdout] 32: 0x559414f09775 - test::run_test::{{closure}}::h34c6289e0b5ed5a5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:611:41 [INFO] [stdout] 33: 0x559414f09775 - std::sys::backtrace::__rust_begin_short_backtrace::h365aabf21799e6fc [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x559414f0d1ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3d5e582cba74b1c3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x559414f0d1ea - as core::ops::function::FnOnce<()>>::call_once::h1214c75c3f73f94f [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x559414f0d1ea - std::panicking::try::do_call::h73540336a45c0cec [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x559414f0d1ea - std::panicking::try::h428956564307af63 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x559414f0d1ea - std::panic::catch_unwind::h1a53a6ea2f2041e3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x559414f0d1ea - std::thread::Builder::spawn_unchecked_::{{closure}}::hac66cbb88d807e14 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x559414f0d1ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::had7e2d02878d3212 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x559414f7ce1b - as core::ops::function::FnOnce>::call_once::h292d1663b0785fda [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 42: 0x559414f7ce1b - as core::ops::function::FnOnce>::call_once::h9d4af7b531852d72 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 43: 0x559414f7ce1b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 44: 0x723a033a3aa4 - [INFO] [stdout] 45: 0x723a03430a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_card_functions [INFO] [stdout] test_get_short_suit_desc [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1fe7347702d2cb252b843b9afe213b9645ea0dc0dc4c77881673799e32d8427c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe7347702d2cb252b843b9afe213b9645ea0dc0dc4c77881673799e32d8427c", kill_on_drop: false }` [INFO] [stdout] 1fe7347702d2cb252b843b9afe213b9645ea0dc0dc4c77881673799e32d8427c