[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] building migomipo/rust-hqm-bot against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigomipo%2Frust-hqm-bot" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/migomipo/rust-hqm-bot on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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-2-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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 837501bc843e2abb358e222ce87251c7f18fb7dd8f95f71e68ec5226745ff871 [INFO] running `Command { std: "docker" "start" "-a" "837501bc843e2abb358e222ce87251c7f18fb7dd8f95f71e68ec5226745ff871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "837501bc843e2abb358e222ce87251c7f18fb7dd8f95f71e68ec5226745ff871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "837501bc843e2abb358e222ce87251c7f18fb7dd8f95f71e68ec5226745ff871", kill_on_drop: false }` [INFO] [stdout] 837501bc843e2abb358e222ce87251c7f18fb7dd8f95f71e68ec5226745ff871 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ed75bf48a48c87e51f3c6bcd711a448c859fdd79c9de42373e84ca5c281098d [INFO] running `Command { std: "docker" "start" "-a" "8ed75bf48a48c87e51f3c6bcd711a448c859fdd79c9de42373e84ca5c281098d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling tokio v1.1.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling simba v0.3.1 [INFO] [stderr] Compiling rand_distr v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling nalgebra v0.24.1 [INFO] [stderr] Compiling 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 `Debug` and `Clone`, 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] = note: `HQMGameStateObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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(HQMGameStateSkater), [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] = note: `HQMGameStateObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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(HQMGameStatePuck) [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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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] = note: `HQMMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] = note: `HQMMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] = note: `HQMMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 50.38s [INFO] running `Command { std: "docker" "inspect" "8ed75bf48a48c87e51f3c6bcd711a448c859fdd79c9de42373e84ca5c281098d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed75bf48a48c87e51f3c6bcd711a448c859fdd79c9de42373e84ca5c281098d", kill_on_drop: false }` [INFO] [stdout] 8ed75bf48a48c87e51f3c6bcd711a448c859fdd79c9de42373e84ca5c281098d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 983e35ccb0613fa05e959f03db7dd4a9e4f502030d3e8e9ee3c9385b9c4d03a7 [INFO] running `Command { std: "docker" "start" "-a" "983e35ccb0613fa05e959f03db7dd4a9e4f502030d3e8e9ee3c9385b9c4d03a7", kill_on_drop: false }` [INFO] [stderr] Compiling 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 `Debug` and `Clone`, 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] = note: `HQMGameStateObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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(HQMGameStateSkater), [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] = note: `HQMGameStateObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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(HQMGameStatePuck) [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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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] = note: `HQMMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] = note: `HQMMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] = note: `HQMMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "983e35ccb0613fa05e959f03db7dd4a9e4f502030d3e8e9ee3c9385b9c4d03a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983e35ccb0613fa05e959f03db7dd4a9e4f502030d3e8e9ee3c9385b9c4d03a7", kill_on_drop: false }` [INFO] [stdout] 983e35ccb0613fa05e959f03db7dd4a9e4f502030d3e8e9ee3c9385b9c4d03a7