[INFO] cloning repository https://github.com/migomipo/rust-hqm-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/migomipo/rust-hqm-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigomipo%2Frust-hqm-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigomipo%2Frust-hqm-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12021e89f7da2f9329315fb0e6e9ebcc0ab128f5 [INFO] checking migomipo/rust-hqm-bot against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigomipo%2Frust-hqm-bot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/migomipo/rust-hqm-bot on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/migomipo/rust-hqm-bot [INFO] finished tweaking git repo https://github.com/migomipo/rust-hqm-bot [INFO] tweaked toml for git repo https://github.com/migomipo/rust-hqm-bot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/migomipo/rust-hqm-bot 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.2.4 [INFO] [stderr] Downloaded paste v1.0.4 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded nalgebra v0.24.1 [INFO] [stderr] Downloaded tokio v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee7fcb37b590b3592a7fd9702b3c01c8c328f5467d6a9ddd7c21136dcadc793a [INFO] running `Command { std: "docker" "start" "-a" "ee7fcb37b590b3592a7fd9702b3c01c8c328f5467d6a9ddd7c21136dcadc793a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee7fcb37b590b3592a7fd9702b3c01c8c328f5467d6a9ddd7c21136dcadc793a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee7fcb37b590b3592a7fd9702b3c01c8c328f5467d6a9ddd7c21136dcadc793a", kill_on_drop: false }` [INFO] [stdout] ee7fcb37b590b3592a7fd9702b3c01c8c328f5467d6a9ddd7c21136dcadc793a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8284922bee41771233e5ec2a9563531caffc24333ea5f6c9aa436e2802a5599d [INFO] running `Command { std: "docker" "start" "-a" "8284922bee41771233e5ec2a9563531caffc24333ea5f6c9aa436e2802a5599d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling tokio v1.1.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Checking simba v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Checking nalgebra v0.24.1 [INFO] [stderr] Checking rust-hqm-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/main.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | fn tick(&mut self, gamestate: &HQMGameState, messages: &[HQMMessage]) -> (HQMPlayerInput, Option) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_pos`, `write_bytes_aligned_padded`, and `write_pos` are never used [INFO] [stdout] --> src/hqm_parse.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl<'a> HQMMessageWriter<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_pos(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn write_bytes_aligned_padded(&mut self, n: usize, v: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn write_pos(&mut self, n: u8, v: u32, old_v: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_u16_aligned` and `read_f32_aligned` are never used [INFO] [stdout] --> src/hqm_parse.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 223 | impl<'a> HQMMessageReader<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn read_u16_aligned(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn read_f32_aligned(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/hqm_game.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct HQMGameState { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 49 | pub red_score: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub blue_score: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | pub time: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub period: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | pub goal_interruption: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub game_over: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | pub objects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | pub yourself: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | pub players: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 58 | [INFO] [stdout] 59 | pub game_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HQMGameState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hqm_game.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | Skater(HQMGameStateSkater), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | Skater(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hqm_game.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | Puck(HQMGameStatePuck) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 | Puck(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos`, `rot`, `stick_pos`, `stick_rot`, `head_rot`, and `body_rot` are never read [INFO] [stdout] --> src/hqm_game.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct HQMGameStateSkater { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 72 | pub pos: Point3, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | pub rot: Matrix3, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | pub stick_pos: Point3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | pub stick_rot: Matrix3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | pub head_rot: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | pub body_rot: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HQMGameStateSkater` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `rot` are never read [INFO] [stdout] --> src/hqm_game.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct HQMGameStatePuck { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 82 | pub pos: Point3, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | pub rot: Matrix3, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HQMGameStatePuck` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `index`, and `object_index` are never read [INFO] [stdout] --> src/hqm_game.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct HQMPlayer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 88 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | pub object_index: Option<(usize, HQMTeam)>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HQMPlayer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_name`, `object`, `player_index`, and `in_server` are never read [INFO] [stdout] --> src/hqm_game.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | PlayerUpdate { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 96 | player_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 97 | object: Option<(usize, HQMTeam)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | player_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 99 | in_server: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `team`, `goal_player_index`, and `assist_player_index` are never read [INFO] [stdout] --> src/hqm_game.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | Goal { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 102 | team: HQMTeam, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | goal_player_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | assist_player_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_index` and `message` are never read [INFO] [stdout] --> src/hqm_game.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | Chat { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 107 | player_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 108 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hqm_bot.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | self.handle_message (x.as_ref(), &socket).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = self.handle_message (x.as_ref(), &socket).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/main.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | fn tick(&mut self, gamestate: &HQMGameState, messages: &[HQMMessage]) -> (HQMPlayerInput, Option) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_pos`, `write_bytes_aligned_padded`, and `write_pos` are never used [INFO] [stdout] --> src/hqm_parse.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl<'a> HQMMessageWriter<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_pos(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn write_bytes_aligned_padded(&mut self, n: usize, v: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn write_pos(&mut self, n: u8, v: u32, old_v: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_u16_aligned` and `read_f32_aligned` are never used [INFO] [stdout] --> src/hqm_parse.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 223 | impl<'a> HQMMessageReader<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn read_u16_aligned(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn read_f32_aligned(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/hqm_game.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct HQMGameState { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 49 | pub red_score: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub blue_score: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | pub time: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub period: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | pub goal_interruption: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub game_over: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | pub objects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | pub yourself: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | pub players: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 58 | [INFO] [stdout] 59 | pub game_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HQMGameState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hqm_game.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | Skater(HQMGameStateSkater), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | Skater(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hqm_game.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | Puck(HQMGameStatePuck) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 | Puck(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos`, `rot`, `stick_pos`, `stick_rot`, `head_rot`, and `body_rot` are never read [INFO] [stdout] --> src/hqm_game.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct HQMGameStateSkater { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 72 | pub pos: Point3, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | pub rot: Matrix3, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | pub stick_pos: Point3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | pub stick_rot: Matrix3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | pub head_rot: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | pub body_rot: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HQMGameStateSkater` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `rot` are never read [INFO] [stdout] --> src/hqm_game.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct HQMGameStatePuck { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 82 | pub pos: Point3, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | pub rot: Matrix3, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HQMGameStatePuck` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `index`, and `object_index` are never read [INFO] [stdout] --> src/hqm_game.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct HQMPlayer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 88 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | pub object_index: Option<(usize, HQMTeam)>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HQMPlayer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_name`, `object`, `player_index`, and `in_server` are never read [INFO] [stdout] --> src/hqm_game.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | PlayerUpdate { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 96 | player_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 97 | object: Option<(usize, HQMTeam)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | player_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 99 | in_server: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `team`, `goal_player_index`, and `assist_player_index` are never read [INFO] [stdout] --> src/hqm_game.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | Goal { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 102 | team: HQMTeam, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | goal_player_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | assist_player_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_index` and `message` are never read [INFO] [stdout] --> src/hqm_game.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | Chat { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 107 | player_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 108 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hqm_bot.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | self.handle_message (x.as_ref(), &socket).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = self.handle_message (x.as_ref(), &socket).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 31.93s [INFO] running `Command { std: "docker" "inspect" "8284922bee41771233e5ec2a9563531caffc24333ea5f6c9aa436e2802a5599d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8284922bee41771233e5ec2a9563531caffc24333ea5f6c9aa436e2802a5599d", kill_on_drop: false }` [INFO] [stdout] 8284922bee41771233e5ec2a9563531caffc24333ea5f6c9aa436e2802a5599d