[INFO] cloning repository https://github.com/Trangar/mayjun_2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trangar/mayjun_2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fmayjun_2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fmayjun_2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e51be1695882c4f50a70959f9bda45dbaea3d37 [INFO] testing Trangar/mayjun_2017/5e51be1695882c4f50a70959f9bda45dbaea3d37 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fmayjun_2017" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Trangar/mayjun_2017 [INFO] finished tweaking git repo https://github.com/Trangar/mayjun_2017 [INFO] tweaked toml for git repo https://github.com/Trangar/mayjun_2017 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Trangar/mayjun_2017 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Trangar/mayjun_2017 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deflate v0.8.4 [INFO] [stderr] Downloaded glium_text v0.14.0 [INFO] [stderr] Downloaded png v0.16.5 [INFO] [stderr] Downloaded weezl v0.1.0 [INFO] [stderr] Downloaded freetype-sys v0.7.1 [INFO] [stderr] Downloaded image v0.23.13 [INFO] [stderr] Downloaded tiff v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7aba10291e7f505e37f5daedead3de1e1880bb9f3016a91498be146bad95364 [INFO] running `Command { std: "docker" "start" "-a" "b7aba10291e7f505e37f5daedead3de1e1880bb9f3016a91498be146bad95364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7aba10291e7f505e37f5daedead3de1e1880bb9f3016a91498be146bad95364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7aba10291e7f505e37f5daedead3de1e1880bb9f3016a91498be146bad95364", kill_on_drop: false }` [INFO] [stdout] b7aba10291e7f505e37f5daedead3de1e1880bb9f3016a91498be146bad95364 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f010d1695b72012913ebe6e19d9bb252a4d3bef16b1ccf11af02763c30771a3b [INFO] running `Command { std: "docker" "start" "-a" "f010d1695b72012913ebe6e19d9bb252a4d3bef16b1ccf11af02763c30771a3b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling glium v0.23.0 [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling weezl v0.1.0 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling png v0.16.5 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling tiff v0.6.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling image v0.23.13 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling glium_text v0.14.0 [INFO] [stderr] Compiling rust_card_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rc` and `Weak` [INFO] [stdout] --> src/cards/mod.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub use std::rc::{Rc, Weak}; [INFO] [stdout] | ^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cost`, `attack`, `health`, `health_mut`, and `debug_text` are never used [INFO] [stdout] --> src/cards/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Card { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn cost(&self) -> Vec<(ResourceType, u8)>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn attack(&self) -> Option<&u8> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn health(&self) -> Option<&u8> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn health_mut(&mut self) -> Option<&mut u8> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn debug_text(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> src/cards/light_elemental.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LightElemental { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | pub health: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightElemental` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `health`, and `resources` are never read [INFO] [stdout] --> src/gamestate/player.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub resources: Vec<(ResourceType, u8)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "f010d1695b72012913ebe6e19d9bb252a4d3bef16b1ccf11af02763c30771a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f010d1695b72012913ebe6e19d9bb252a4d3bef16b1ccf11af02763c30771a3b", kill_on_drop: false }` [INFO] [stdout] f010d1695b72012913ebe6e19d9bb252a4d3bef16b1ccf11af02763c30771a3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 444e2d4fee482ddfe7f39b7f193f7dd558c00408aab4994878b79a0ddaca23d2 [INFO] running `Command { std: "docker" "start" "-a" "444e2d4fee482ddfe7f39b7f193f7dd558c00408aab4994878b79a0ddaca23d2", kill_on_drop: false }` [INFO] [stderr] Compiling rust_card_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rc` and `Weak` [INFO] [stdout] --> src/cards/mod.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub use std::rc::{Rc, Weak}; [INFO] [stdout] | ^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cost`, `attack`, `health`, `health_mut`, and `debug_text` are never used [INFO] [stdout] --> src/cards/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Card { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn cost(&self) -> Vec<(ResourceType, u8)>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn attack(&self) -> Option<&u8> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn health(&self) -> Option<&u8> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn health_mut(&mut self) -> Option<&mut u8> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn debug_text(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> src/cards/light_elemental.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LightElemental { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | pub health: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightElemental` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `health`, and `resources` are never read [INFO] [stdout] --> src/gamestate/player.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub resources: Vec<(ResourceType, u8)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "444e2d4fee482ddfe7f39b7f193f7dd558c00408aab4994878b79a0ddaca23d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444e2d4fee482ddfe7f39b7f193f7dd558c00408aab4994878b79a0ddaca23d2", kill_on_drop: false }` [INFO] [stdout] 444e2d4fee482ddfe7f39b7f193f7dd558c00408aab4994878b79a0ddaca23d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a553b5a7e788ef33c0318d173202cd1e80dd400c4766f3378b242b82b6c7cafe [INFO] running `Command { std: "docker" "start" "-a" "a553b5a7e788ef33c0318d173202cd1e80dd400c4766f3378b242b82b6c7cafe", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Rc` and `Weak` [INFO] [stderr] --> src/cards/mod.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | pub use std::rc::{Rc, Weak}; [INFO] [stderr] | ^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `cost`, `attack`, `health`, `health_mut`, and `debug_text` are never used [INFO] [stderr] --> src/cards/mod.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub trait Card { [INFO] [stderr] | ---- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 20 | fn cost(&self) -> Vec<(ResourceType, u8)>; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | fn attack(&self) -> Option<&u8> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | fn health(&self) -> Option<&u8> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | fn health_mut(&mut self) -> Option<&mut u8> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | fn debug_text(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `health` is never read [INFO] [stderr] --> src/cards/light_elemental.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct LightElemental { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 7 | pub health: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LightElemental` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `health`, and `resources` are never read [INFO] [stderr] --> src/gamestate/player.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Player { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 7 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | pub health: i32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 9 | pub resources: Vec<(ResourceType, u8)>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_card_game` (bin "rust_card_game" test) generated 4 warnings (run `cargo fix --bin "rust_card_game" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_card_game-e5cee2729764c6e2) [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" "a553b5a7e788ef33c0318d173202cd1e80dd400c4766f3378b242b82b6c7cafe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a553b5a7e788ef33c0318d173202cd1e80dd400c4766f3378b242b82b6c7cafe", kill_on_drop: false }` [INFO] [stdout] a553b5a7e788ef33c0318d173202cd1e80dd400c4766f3378b242b82b6c7cafe