[INFO] updating cached repository https://github.com/claderoki/Intergalactica-Discord-Bot-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2d5619d0c171b40c84caac1f1c16f29c0ad851e [INFO] checking claderoki/Intergalactica-Discord-Bot-Rust/e2d5619d0c171b40c84caac1f1c16f29c0ad851e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcladeroki%2FIntergalactica-Discord-Bot-Rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/claderoki/Intergalactica-Discord-Bot-Rust on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/claderoki/Intergalactica-Discord-Bot-Rust [INFO] finished tweaking git repo https://github.com/claderoki/Intergalactica-Discord-Bot-Rust [INFO] tweaked toml for git repo https://github.com/claderoki/Intergalactica-Discord-Bot-Rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/claderoki/Intergalactica-Discord-Bot-Rust 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a4f6d98630b92de1ad93291a39457c419f97f2675317aca0eb4d2c0b2f69ed1 [INFO] running `Command { std: "docker" "start" "-a" "2a4f6d98630b92de1ad93291a39457c419f97f2675317aca0eb4d2c0b2f69ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a4f6d98630b92de1ad93291a39457c419f97f2675317aca0eb4d2c0b2f69ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4f6d98630b92de1ad93291a39457c419f97f2675317aca0eb4d2c0b2f69ed1", kill_on_drop: false }` [INFO] [stdout] 2a4f6d98630b92de1ad93291a39457c419f97f2675317aca0eb4d2c0b2f69ed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6e53acee76e9f7688e16ece3238116182406bf342f6848f8c05d87ecbf459fd [INFO] running `Command { std: "docker" "start" "-a" "e6e53acee76e9f7688e16ece3238116182406bf342f6848f8c05d87ecbf459fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Compiling serenity v0.10.9 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking combine v4.5.2 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking typemap_rev v0.1.4 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking webpki-roots v0.21.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling command_attr v0.3.7 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking redis v0.20.0 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Checking diesel v1.4.6 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking intergalactica_discord_bot_rust v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/games/tictactoe/game.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | let mut cell = &mut game.grid.cells[index]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/games/tictactoe/game.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | let mut cell = &mut game.grid.cells[index]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/database/utils.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct IdOnly { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | #[sql_type = "Integer"] [INFO] [stdout] 13 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `error_embed`, `warning_color`, and `success_color` are never used [INFO] [stdout] --> src/discord_helpers/embed_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait EmbedExtension { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn error_embed(&mut self, text: D) -> &mut Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn warning_color(&mut self) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | fn success_color(&mut self) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/modules/games/tictactoe/game.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | pub number: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `winner_user_id` and `over` are never read [INFO] [stdout] --> src/modules/games/tictactoe/game.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub winner_user_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 95 | pub over: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pigeon_status` is never read [INFO] [stdout] --> src/modules/pigeon/models/exploration.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Exploration { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub pigeon_status: PigeonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/modules/pigeon/models/exploration.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ExplorationActionScenario { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 42 | #[sql_type = "Integer"] [INFO] [stdout] 43 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `location_name` are never read [INFO] [stdout] --> src/modules/pigeon/models/exploration.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PlanetLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 194 | #[sql_type = "Integer"] [INFO] [stdout] 195 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub location_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/modules/pigeon/models/pigeon.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Pigeon { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 118 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 119 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | pub human_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | pub condition: PigeonCondition, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 122 | pub experience: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 123 | pub cleanliness: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 124 | pub happiness: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 125 | pub food: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 126 | pub health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | pub status: PigeonStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 128 | pub gender: Gender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `happiness` is never read [INFO] [stdout] --> src/modules/pigeon/models/pigeon.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct DecayingPigeon { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 167 | pub happiness: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_identifier` is never used [INFO] [stdout] --> src/modules/shared/helpers/chooser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Choosable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 14 | fn get_identifier(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Stat` is never used [INFO] [stdout] --> src/modules/shared/helpers/stat.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Stat { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `difficulty` is never read [INFO] [stdout] --> src/wrappers/opentrivia/models.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Trivia { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub difficulty: Difficulty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trivia` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/database/utils.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct IdOnly { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | #[sql_type = "Integer"] [INFO] [stdout] 13 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `error_embed`, `warning_color`, and `success_color` are never used [INFO] [stdout] --> src/discord_helpers/embed_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait EmbedExtension { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn error_embed(&mut self, text: D) -> &mut Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn warning_color(&mut self) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | fn success_color(&mut self) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/modules/games/tictactoe/game.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | pub number: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `winner_user_id` and `over` are never read [INFO] [stdout] --> src/modules/games/tictactoe/game.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub winner_user_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 95 | pub over: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pigeon_status` is never read [INFO] [stdout] --> src/modules/pigeon/models/exploration.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Exploration { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub pigeon_status: PigeonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/modules/pigeon/models/exploration.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ExplorationActionScenario { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 42 | #[sql_type = "Integer"] [INFO] [stdout] 43 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `location_name` are never read [INFO] [stdout] --> src/modules/pigeon/models/exploration.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PlanetLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 194 | #[sql_type = "Integer"] [INFO] [stdout] 195 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub location_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/modules/pigeon/models/pigeon.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Pigeon { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 118 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 119 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | pub human_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | pub condition: PigeonCondition, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 122 | pub experience: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 123 | pub cleanliness: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 124 | pub happiness: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 125 | pub food: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 126 | pub health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | pub status: PigeonStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 128 | pub gender: Gender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `happiness` is never read [INFO] [stdout] --> src/modules/pigeon/models/pigeon.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct DecayingPigeon { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 167 | pub happiness: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_identifier` is never used [INFO] [stdout] --> src/modules/shared/helpers/chooser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Choosable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 14 | fn get_identifier(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Stat` is never used [INFO] [stdout] --> src/modules/shared/helpers/stat.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Stat { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `difficulty` is never read [INFO] [stdout] --> src/wrappers/opentrivia/models.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Trivia { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub difficulty: Difficulty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trivia` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "e6e53acee76e9f7688e16ece3238116182406bf342f6848f8c05d87ecbf459fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e53acee76e9f7688e16ece3238116182406bf342f6848f8c05d87ecbf459fd", kill_on_drop: false }` [INFO] [stdout] e6e53acee76e9f7688e16ece3238116182406bf342f6848f8c05d87ecbf459fd