[INFO] cloning repository https://github.com/ConWolfMan/Rust-TCG [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ConWolfMan/Rust-TCG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConWolfMan%2FRust-TCG", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConWolfMan%2FRust-TCG'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1a99d3fba2b4006bf905d7754c8c8d775aad9e7 [INFO] checking ConWolfMan/Rust-TCG against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConWolfMan%2FRust-TCG" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 80% (578/718) Updating files: 81% (582/718) Updating files: 82% (589/718) Updating files: 83% (596/718) Updating files: 84% (604/718) Updating files: 85% (611/718) Updating files: 86% (618/718) Updating files: 87% (625/718) Updating files: 88% (632/718) Updating files: 89% (640/718) Updating files: 90% (647/718) Updating files: 91% (654/718) Updating files: 92% (661/718) Updating files: 93% (668/718) Updating files: 94% (675/718) Updating files: 95% (683/718) Updating files: 96% (690/718) Updating files: 97% (697/718) Updating files: 98% (704/718) Updating files: 99% (711/718) Updating files: 100% (718/718) Updating files: 100% (718/718), done. [INFO] started tweaking git repo https://github.com/ConWolfMan/Rust-TCG [INFO] finished tweaking git repo https://github.com/ConWolfMan/Rust-TCG [INFO] tweaked toml for git repo https://github.com/ConWolfMan/Rust-TCG written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ConWolfMan/Rust-TCG on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ConWolfMan/Rust-TCG 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2632365daa21061cf44d67e80ab3ab80e9c237d967e064188d1c3b29ce5c09c1 [INFO] running `Command { std: "docker" "start" "2632365daa21061cf44d67e80ab3ab80e9c237d967e064188d1c3b29ce5c09c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2632365daa21061cf44d67e80ab3ab80e9c237d967e064188d1c3b29ce5c09c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2632365daa21061cf44d67e80ab3ab80e9c237d967e064188d1c3b29ce5c09c1" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2632365daa21061cf44d67e80ab3ab80e9c237d967e064188d1c3b29ce5c09c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2632365daa21061cf44d67e80ab3ab80e9c237d967e064188d1c3b29ce5c09c1" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking miniz_oxide v0.8.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking miniquad v0.4.8 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking rust_tcg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::default::Default` [INFO] [stdout] --> src/utils/card_module.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `button` should have an upper camel case name [INFO] [stdout] --> src/utils/ui_module.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct button { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Button` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/utils/game_module.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::prelude::*` [INFO] [stdout] --> src/utils/game_module.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `game_field` should have an upper camel case name [INFO] [stdout] --> src/utils/game_module.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct game_field{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `GameField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default::Default` [INFO] [stdout] --> src/utils/deck_module.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::mq_json_helpers::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use utils::mq_json_helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; // for file io [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default::Default` [INFO] [stdout] --> src/utils/card_module.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `button` should have an upper camel case name [INFO] [stdout] --> src/utils/ui_module.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct button { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Button` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/utils/game_module.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::prelude::*` [INFO] [stdout] --> src/utils/game_module.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `game_field` should have an upper camel case name [INFO] [stdout] --> src/utils/game_module.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct game_field{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `GameField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default::Default` [INFO] [stdout] --> src/utils/deck_module.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::mq_json_helpers::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use utils::mq_json_helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; // for file io [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `draw_at`, `draw`, `contains`, and `update` are never used [INFO] [stdout] --> src/utils/card_module.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Card { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 35 | pub fn new(new_name: &str, new_size: (f32, f32), new_color: (f32, f32, f32, f32)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn draw_at(&mut self, new_pos: Vec2) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn draw(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn contains(&self, pos: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `button` is never constructed [INFO] [stdout] --> src/utils/ui_module.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct button { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/utils/ui_module.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl button { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | fn contains(&self, pos: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `game_field` is never constructed [INFO] [stdout] --> src/utils/game_module.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct game_field{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `pos`, and `color` are never read [INFO] [stdout] --> src/utils/deck_module.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Deck { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | size: Vec2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pos: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_card`, `draw_card`, `draw`, and `draw_at` are never used [INFO] [stdout] --> src/utils/deck_module.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Deck { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn load_card(&mut self,new_card: Card) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn draw_card(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn draw(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn draw_at(&self, new_pos: Vec2) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_to_tuple` is never used [INFO] [stdout] --> src/utils/mq_json_helpers.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn color_to_tuple(my_color: Color) -> (f32, f32, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_to_color` is never used [INFO] [stdout] --> src/utils/mq_json_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn tuple_to_color(my_tuple: (f32, f32, f32, f32)) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec2_to_tuple` is never used [INFO] [stdout] --> src/utils/mq_json_helpers.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn vec2_to_tuple(my_vec: Vec2) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_to_vec2` is never used [INFO] [stdout] --> src/utils/mq_json_helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn tuple_to_vec2(my_tuple: (f32, f32)) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetName` should have a snake case name [INFO] [stdout] --> src/utils/card_module.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn GetName(&self) -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `draw_at`, `draw`, `contains`, and `update` are never used [INFO] [stdout] --> src/utils/card_module.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Card { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 35 | pub fn new(new_name: &str, new_size: (f32, f32), new_color: (f32, f32, f32, f32)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn draw_at(&mut self, new_pos: Vec2) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn draw(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn contains(&self, pos: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `button` is never constructed [INFO] [stdout] --> src/utils/ui_module.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct button { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/utils/ui_module.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl button { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | fn contains(&self, pos: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `game_field` is never constructed [INFO] [stdout] --> src/utils/game_module.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct game_field{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `pos`, and `color` are never read [INFO] [stdout] --> src/utils/deck_module.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Deck { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | size: Vec2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pos: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_card`, `draw_card`, `draw`, and `draw_at` are never used [INFO] [stdout] --> src/utils/deck_module.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Deck { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn load_card(&mut self,new_card: Card) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn draw_card(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn draw(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn draw_at(&self, new_pos: Vec2) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_to_tuple` is never used [INFO] [stdout] --> src/utils/mq_json_helpers.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn color_to_tuple(my_color: Color) -> (f32, f32, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_to_color` is never used [INFO] [stdout] --> src/utils/mq_json_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn tuple_to_color(my_tuple: (f32, f32, f32, f32)) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec2_to_tuple` is never used [INFO] [stdout] --> src/utils/mq_json_helpers.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn vec2_to_tuple(my_vec: Vec2) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_to_vec2` is never used [INFO] [stdout] --> src/utils/mq_json_helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn tuple_to_vec2(my_tuple: (f32, f32)) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetName` should have a snake case name [INFO] [stdout] --> src/utils/card_module.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn GetName(&self) -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.62s [INFO] running `Command { std: "docker" "inspect" "2632365daa21061cf44d67e80ab3ab80e9c237d967e064188d1c3b29ce5c09c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2632365daa21061cf44d67e80ab3ab80e9c237d967e064188d1c3b29ce5c09c1", kill_on_drop: false }` [INFO] [stdout] 2632365daa21061cf44d67e80ab3ab80e9c237d967e064188d1c3b29ce5c09c1