[INFO] cloning repository https://github.com/BudiNverse/cabo.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BudiNverse/cabo.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBudiNverse%2Fcabo.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBudiNverse%2Fcabo.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e364a118c90a40f7020c1aff70749a37d9908181 [INFO] testing BudiNverse/cabo.rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBudiNverse%2Fcabo.rs" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BudiNverse/cabo.rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BudiNverse/cabo.rs [INFO] finished tweaking git repo https://github.com/BudiNverse/cabo.rs [INFO] tweaked toml for git repo https://github.com/BudiNverse/cabo.rs written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/BudiNverse/cabo.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86c4560a9860bf1d233cd4638dd78b313365ff9b7bbdf1887639e3a24eaef0b1 [INFO] running `Command { std: "docker" "start" "-a" "86c4560a9860bf1d233cd4638dd78b313365ff9b7bbdf1887639e3a24eaef0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86c4560a9860bf1d233cd4638dd78b313365ff9b7bbdf1887639e3a24eaef0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c4560a9860bf1d233cd4638dd78b313365ff9b7bbdf1887639e3a24eaef0b1", kill_on_drop: false }` [INFO] [stdout] 86c4560a9860bf1d233cd4638dd78b313365ff9b7bbdf1887639e3a24eaef0b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 851d1f0dbd1ccd3af88262021072a220fa9f4372b1fb1ac38527c8909751f727 [INFO] running `Command { std: "docker" "start" "-a" "851d1f0dbd1ccd3af88262021072a220fa9f4372b1fb1ac38527c8909751f727", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling serde_json v1.0.38 [INFO] [stderr] Compiling cabo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_derive` [INFO] [stdout] --> src/models/card.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_derive; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deck` [INFO] [stdout] --> src/main.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::game::{Deck, Game}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/models/game.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/card.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Value, suit: Suit) -> CardValue { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/card.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(value: Option, position: CardPosition) -> Card { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ended` [INFO] [stdout] --> src/models/game.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Ended, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/game.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_ended` [INFO] [stdout] --> src/models/game.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn has_ended() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Init` [INFO] [stdout] --> src/models/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Init {}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SelfDraw` [INFO] [stdout] --> src/models/message.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | SelfDraw, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SelfPeek` [INFO] [stdout] --> src/models/message.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | SelfPeek, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Place` [INFO] [stdout] --> src/models/message.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Place, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Swap` [INFO] [stdout] --> src/models/message.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Swap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Kill` [INFO] [stdout] --> src/models/message.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Kill, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OtherDraw` [INFO] [stdout] --> src/models/message.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | OtherDraw, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OtherPeek` [INFO] [stdout] --> src/models/message.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | OtherPeek, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Turn` [INFO] [stdout] --> src/models/message.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Turn, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `End` [INFO] [stdout] --> src/models/message.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/models/card.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | fmt.write_str(format!("{:?} {:?}", self.value, self.suit).as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.35s [INFO] running `Command { std: "docker" "inspect" "851d1f0dbd1ccd3af88262021072a220fa9f4372b1fb1ac38527c8909751f727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851d1f0dbd1ccd3af88262021072a220fa9f4372b1fb1ac38527c8909751f727", kill_on_drop: false }` [INFO] [stdout] 851d1f0dbd1ccd3af88262021072a220fa9f4372b1fb1ac38527c8909751f727 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 893501f72939d372c12dd6d90430fc2b8351c28d889d7f1c1bd08d6ed3a2614d [INFO] running `Command { std: "docker" "start" "-a" "893501f72939d372c12dd6d90430fc2b8351c28d889d7f1c1bd08d6ed3a2614d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cabo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_derive` [INFO] [stdout] --> src/models/card.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_derive; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deck` [INFO] [stdout] --> src/main.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::game::{Deck, Game}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/models/game.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/card.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Value, suit: Suit) -> CardValue { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/card.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(value: Option, position: CardPosition) -> Card { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ended` [INFO] [stdout] --> src/models/game.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Ended, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/game.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_ended` [INFO] [stdout] --> src/models/game.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn has_ended() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Init` [INFO] [stdout] --> src/models/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Init {}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SelfDraw` [INFO] [stdout] --> src/models/message.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | SelfDraw, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SelfPeek` [INFO] [stdout] --> src/models/message.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | SelfPeek, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Place` [INFO] [stdout] --> src/models/message.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Place, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Swap` [INFO] [stdout] --> src/models/message.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Swap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Kill` [INFO] [stdout] --> src/models/message.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Kill, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OtherDraw` [INFO] [stdout] --> src/models/message.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | OtherDraw, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OtherPeek` [INFO] [stdout] --> src/models/message.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | OtherPeek, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Turn` [INFO] [stdout] --> src/models/message.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Turn, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `End` [INFO] [stdout] --> src/models/message.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/message.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/models/card.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | fmt.write_str(format!("{:?} {:?}", self.value, self.suit).as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "893501f72939d372c12dd6d90430fc2b8351c28d889d7f1c1bd08d6ed3a2614d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "893501f72939d372c12dd6d90430fc2b8351c28d889d7f1c1bd08d6ed3a2614d", kill_on_drop: false }` [INFO] [stdout] 893501f72939d372c12dd6d90430fc2b8351c28d889d7f1c1bd08d6ed3a2614d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a09cbcf5e97c3486e52835a3175dad8d46b78e5a06e868e68462119f89ea9e71 [INFO] running `Command { std: "docker" "start" "-a" "a09cbcf5e97c3486e52835a3175dad8d46b78e5a06e868e68462119f89ea9e71", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `num_derive` [INFO] [stderr] --> src/models/card.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use num_derive; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deck` [INFO] [stderr] --> src/main.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::models::game::{Deck, Game}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/models/game.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | use rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/main.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | Ok(r) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/models/card.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(value: Value, suit: Suit) -> CardValue { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/models/card.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn new(value: Option, position: CardPosition) -> Card { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ended` [INFO] [stderr] --> src/models/game.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Ended, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/game.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has_ended` [INFO] [stderr] --> src/models/game.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn has_ended() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Init` [INFO] [stderr] --> src/models/message.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | Init {}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/message.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SelfDraw` [INFO] [stderr] --> src/models/message.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | SelfDraw, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/message.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SelfPeek` [INFO] [stderr] --> src/models/message.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | SelfPeek, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/message.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Place` [INFO] [stderr] --> src/models/message.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Place, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/message.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Swap` [INFO] [stderr] --> src/models/message.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Swap, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/message.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Kill` [INFO] [stderr] --> src/models/message.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Kill, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/message.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OtherDraw` [INFO] [stderr] --> src/models/message.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | OtherDraw, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/message.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OtherPeek` [INFO] [stderr] --> src/models/message.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | OtherPeek, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/message.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Turn` [INFO] [stderr] --> src/models/message.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Turn, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/message.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `End` [INFO] [stderr] --> src/models/message.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | End, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/message.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/models/card.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | fmt.write_str(format!("{:?} {:?}", self.value, self.suit).as_str()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `cabo` (bin "cabo" test) generated 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cabo-ad290b898a423ea0) [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] running `Command { std: "docker" "inspect" "a09cbcf5e97c3486e52835a3175dad8d46b78e5a06e868e68462119f89ea9e71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a09cbcf5e97c3486e52835a3175dad8d46b78e5a06e868e68462119f89ea9e71", kill_on_drop: false }` [INFO] [stdout] a09cbcf5e97c3486e52835a3175dad8d46b78e5a06e868e68462119f89ea9e71