[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 beta-2025-04-13 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/broosa/RustCribbage on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "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-tc2/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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b3f901c927447499e544fa34363b40b65bdf766db0f4fdcb23fd5a60985f552 [INFO] running `Command { std: "docker" "start" "-a" "2b3f901c927447499e544fa34363b40b65bdf766db0f4fdcb23fd5a60985f552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b3f901c927447499e544fa34363b40b65bdf766db0f4fdcb23fd5a60985f552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b3f901c927447499e544fa34363b40b65bdf766db0f4fdcb23fd5a60985f552", kill_on_drop: false }` [INFO] [stdout] 2b3f901c927447499e544fa34363b40b65bdf766db0f4fdcb23fd5a60985f552 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb0e94241ae96c71e8ba6b92a170f887fa1ad6247bdac0f01855b89219677e47 [INFO] running `Command { std: "docker" "start" "-a" "eb0e94241ae96c71e8ba6b92a170f887fa1ad6247bdac0f01855b89219677e47", 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcA38scB/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librand-bc294b1a9f939f3e.rlib,librand_chacha-730c8a07f0972db2.rlib,libppv_lite86-c6f18da16586a8ed.rlib,librand_core-5a68ef8dea219442.rlib,libgetrandom-ba40e680b7632672.rlib,liblibc-cf7d3474c6c2b64c.rlib,libcfg_if-3e7fc4e38d4a72b5.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcA38scB/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_cribbage-03cb8f78b00d8d73" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_cribbage` (bin "rust_cribbage") due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb0e94241ae96c71e8ba6b92a170f887fa1ad6247bdac0f01855b89219677e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0e94241ae96c71e8ba6b92a170f887fa1ad6247bdac0f01855b89219677e47", kill_on_drop: false }` [INFO] [stdout] eb0e94241ae96c71e8ba6b92a170f887fa1ad6247bdac0f01855b89219677e47