[INFO] cloning repository https://github.com/shishanyue/RW-RJR-Server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shishanyue/RW-RJR-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshishanyue%2FRW-RJR-Server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshishanyue%2FRW-RJR-Server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15cead70f534d6439a3e64cc928b594923aedb8e [INFO] building shishanyue/RW-RJR-Server against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshishanyue%2FRW-RJR-Server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shishanyue/RW-RJR-Server 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/shishanyue/RW-RJR-Server [INFO] finished tweaking git repo https://github.com/shishanyue/RW-RJR-Server [INFO] tweaked toml for git repo https://github.com/shishanyue/RW-RJR-Server written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shishanyue/RW-RJR-Server 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image-webp v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] cd709b7f1fa2230362c885a52fec6cbe5f1288034e4aca90cec7c30ad5501049 [INFO] running `Command { std: "docker" "start" "-a" "cd709b7f1fa2230362c885a52fec6cbe5f1288034e4aca90cec7c30ad5501049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd709b7f1fa2230362c885a52fec6cbe5f1288034e4aca90cec7c30ad5501049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd709b7f1fa2230362c885a52fec6cbe5f1288034e4aca90cec7c30ad5501049", kill_on_drop: false }` [INFO] [stdout] cd709b7f1fa2230362c885a52fec6cbe5f1288034e4aca90cec7c30ad5501049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 51c348c661c19a2340953582841fcea7aa758d49823ec9d9910bd36dafd8fd08 [INFO] running `Command { std: "docker" "start" "-a" "51c348c661c19a2340953582841fcea7aa758d49823ec9d9910bd36dafd8fd08", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling event-listener v5.0.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.4.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling async-channel v2.2.0 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling bracket-color v0.8.7 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling uuid-macro-internal v1.8.0 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling image-webp v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling rws_rjr v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/uplist.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CONTENT_LANGUAGE` [INFO] [stdout] --> src/uplist.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | HeaderMap, CONNECTION, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, HOST, USER_AGENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_connection_mg` [INFO] [stdout] --> src/command_center.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn command_center(shared_connection_mg: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_connection_mg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_receiver` [INFO] [stdout] --> src/command_center.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let event_receiver = EVENT_CHANNEL_MULTIPLE.1.resubscribe(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/dummy.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn connect_to_relay(&mut self, addr: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/dummy.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn join_to_room(&self, id: &str) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SendPacketToPlayerBy` is never constructed [INFO] [stdout] --> src/connection.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum ConnectionLibAPI { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | SendPacketToPlayerBy(By, Packet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionLibAPI` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_unit_size`, `income`, `uplist`, and `beta_game_version` are never read [INFO] [stdout] --> src/connection/player_net_api.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CustomRelayData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub max_player_size: i32, [INFO] [stdout] 11 | pub max_unit_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub income: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub uplist: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub mods: bool, [INFO] [stdout] 15 | pub beta_game_version: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CustomRelayData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_runtime` is never read [INFO] [stdout] --> src/connection_manager.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ConnectionManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | connection_runtime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Name` is never constructed [INFO] [stdout] --> src/connection_manager.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum By { [INFO] [stdout] | -- variant in this enum [INFO] [stdout] 35 | Addr(String), [INFO] [stdout] 36 | Name(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `By` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_packet_to_player_by` is never used [INFO] [stdout] --> src/connection_manager.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl ConnectionManager { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn send_packet_to_player_by(&self, by: By, packet: Packet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player_name_map` is never read [INFO] [stdout] --> src/connection_manager/connection_lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ConnectionLib { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | addr_map: HashMap>, //main key [INFO] [stdout] 9 | player_name_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COMMAND_HELP` is never used [INFO] [stdout] --> src/data.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub static COMMAND_HELP: &str = " [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_u64`, `write_u16`, and `write_f32` are never used [INFO] [stdout] --> src/packet.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 136 | pub trait PacketReadWriteExt { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 144 | async fn write_u64(&mut self,n: u64) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 145 | async fn write_u16(&mut self,n: u16) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 146 | async fn write_f32(&mut self,n: f32) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SET_TERRAIN_PACKET_1` is never used [INFO] [stdout] --> src/packet/super_packet.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | static SET_TERRAIN_PACKET_1: [u8; 36] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SET_TERRAIN_PACKET_2` is never used [INFO] [stdout] --> src/packet/super_packet.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | static SET_TERRAIN_PACKET_2: [u8; 8] = [0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SuperPacket` is never constructed [INFO] [stdout] --> src/packet/super_packet.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SuperPacket; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `set_terrain` and `packet_to_host` are never used [INFO] [stdout] --> src/packet/super_packet.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | impl SuperPacket { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 48 | pub async fn set_terrain(x: f32, y: f32, terrain_name: &str) -> Packet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn packet_to_host(mut packet: Packet) -> Packet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommonPacket` is never constructed [INFO] [stdout] --> src/packet/common_packet.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CommonPacket; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_preregister_info` and `get_relay_hall_command` are never used [INFO] [stdout] --> src/packet/common_packet.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 6 | impl CommonPacket { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 7 | pub async fn get_preregister_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn get_relay_hall_command(command:&str)-> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_game` is never read [INFO] [stdout] --> src/relay_manager/relay.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SharedRelayRoomData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 17 | pub id: String, [INFO] [stdout] 18 | pub start_game: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedRelayRoomData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shared_relay_room` is never read [INFO] [stdout] --> src/relay_manager/relay.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct RelayRoom { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub shared_relay_room: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelayRoom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConfigError` is never used [INFO] [stdout] --> src/server/utils.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ConfigError {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `handle` are never read [INFO] [stdout] --> src/uplist.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Uplist { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | data: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | handle: JoinHandle>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DummyAPI` is never used [INFO] [stdout] --> src/dummy.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum DummyAPI { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DummyVersion` is never used [INFO] [stdout] --> src/dummy.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum DummyVersion { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DummyVersion` 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: struct `DummyConf` is never constructed [INFO] [stdout] --> src/dummy.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct DummyConf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DummyConf` 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: struct `Dummy` is never constructed [INFO] [stdout] --> src/dummy.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dummy { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dummy.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl DummyConf { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 59 | pub fn new(dummy_name: String, domain: String, version: DummyVersion) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_shared`, `connect_to_relay`, and `join_to_room` are never used [INFO] [stdout] --> src/dummy.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 75 | impl Dummy { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 76 | pub async fn new_shared( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn connect_to_relay(&mut self, addr: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | [INFO] [stdout] 100 | pub async fn join_to_room(&self, id: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SharedDummy` is never constructed [INFO] [stdout] --> src/dummy/shared_dummy.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SharedDummy { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `send_packet` are never used [INFO] [stdout] --> src/dummy/shared_dummy.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SharedDummy { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(dummy: Dummy) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub async fn send_packet(&self, packet: Packet) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ModuleType` is never used [INFO] [stdout] --> src/module.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum ModuleType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module_list` is never read [INFO] [stdout] --> src/module.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ModuleManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | module_list: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init_module` is never used [INFO] [stdout] --> src/module.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ModuleManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn init_module(&mut self, module_type: ModuleType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RwEngine` is never constructed [INFO] [stdout] --> src/module/rw_engine.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RwEngine { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/module/rw_engine.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl RwEngine { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_image_packet` is never used [INFO] [stdout] --> src/module/rw_engine/image.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn get_image_packet(image_path: &Path) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hsv_terrain_name` is never used [INFO] [stdout] --> src/module/rw_engine/image.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_hsv_terrain_name(hsv: HSV) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_name` and `event_type` are never read [INFO] [stdout] --> src/event.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 14 | pub event_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub event_type: EventType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` 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/event.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | NewRoomAndHostOk(Arc), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EventType` has derived impls for the traits `Clone` and `Debug`, 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] 27 - NewRoomAndHostOk(Arc), [INFO] [stdout] 27 + NewRoomAndHostOk(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/event.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | NewPacket(Arc, Packet, PacketType), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EventType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 28 - NewPacket(Arc, Packet, PacketType), [INFO] [stdout] 28 + NewPacket((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "51c348c661c19a2340953582841fcea7aa758d49823ec9d9910bd36dafd8fd08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c348c661c19a2340953582841fcea7aa758d49823ec9d9910bd36dafd8fd08", kill_on_drop: false }` [INFO] [stdout] 51c348c661c19a2340953582841fcea7aa758d49823ec9d9910bd36dafd8fd08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] db47e8aa128bb9605378c33e3574092d3bcabddfedbea3e9dfd36c4a57c719e1 [INFO] running `Command { std: "docker" "start" "-a" "db47e8aa128bb9605378c33e3574092d3bcabddfedbea3e9dfd36c4a57c719e1", kill_on_drop: false }` [INFO] [stderr] Compiling rws_rjr v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/uplist.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CONTENT_LANGUAGE` [INFO] [stdout] --> src/uplist.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | HeaderMap, CONNECTION, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, HOST, USER_AGENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_connection_mg` [INFO] [stdout] --> src/command_center.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn command_center(shared_connection_mg: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_connection_mg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_receiver` [INFO] [stdout] --> src/command_center.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let event_receiver = EVENT_CHANNEL_MULTIPLE.1.resubscribe(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/dummy.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn connect_to_relay(&mut self, addr: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/dummy.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn join_to_room(&self, id: &str) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SendPacketToPlayerBy` is never constructed [INFO] [stdout] --> src/connection.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum ConnectionLibAPI { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | SendPacketToPlayerBy(By, Packet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionLibAPI` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_unit_size`, `income`, `uplist`, and `beta_game_version` are never read [INFO] [stdout] --> src/connection/player_net_api.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CustomRelayData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub max_player_size: i32, [INFO] [stdout] 11 | pub max_unit_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub income: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub uplist: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub mods: bool, [INFO] [stdout] 15 | pub beta_game_version: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CustomRelayData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_runtime` is never read [INFO] [stdout] --> src/connection_manager.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ConnectionManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | connection_runtime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Name` is never constructed [INFO] [stdout] --> src/connection_manager.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum By { [INFO] [stdout] | -- variant in this enum [INFO] [stdout] 35 | Addr(String), [INFO] [stdout] 36 | Name(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `By` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_packet_to_player_by` is never used [INFO] [stdout] --> src/connection_manager.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl ConnectionManager { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn send_packet_to_player_by(&self, by: By, packet: Packet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player_name_map` is never read [INFO] [stdout] --> src/connection_manager/connection_lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ConnectionLib { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | addr_map: HashMap>, //main key [INFO] [stdout] 9 | player_name_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COMMAND_HELP` is never used [INFO] [stdout] --> src/data.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub static COMMAND_HELP: &str = " [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_u64`, `write_u16`, and `write_f32` are never used [INFO] [stdout] --> src/packet.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 136 | pub trait PacketReadWriteExt { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 144 | async fn write_u64(&mut self,n: u64) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 145 | async fn write_u16(&mut self,n: u16) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 146 | async fn write_f32(&mut self,n: f32) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SET_TERRAIN_PACKET_1` is never used [INFO] [stdout] --> src/packet/super_packet.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | static SET_TERRAIN_PACKET_1: [u8; 36] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SET_TERRAIN_PACKET_2` is never used [INFO] [stdout] --> src/packet/super_packet.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | static SET_TERRAIN_PACKET_2: [u8; 8] = [0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SuperPacket` is never constructed [INFO] [stdout] --> src/packet/super_packet.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SuperPacket; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `set_terrain` and `packet_to_host` are never used [INFO] [stdout] --> src/packet/super_packet.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | impl SuperPacket { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 48 | pub async fn set_terrain(x: f32, y: f32, terrain_name: &str) -> Packet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn packet_to_host(mut packet: Packet) -> Packet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommonPacket` is never constructed [INFO] [stdout] --> src/packet/common_packet.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CommonPacket; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_preregister_info` and `get_relay_hall_command` are never used [INFO] [stdout] --> src/packet/common_packet.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 6 | impl CommonPacket { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 7 | pub async fn get_preregister_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn get_relay_hall_command(command:&str)-> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_game` is never read [INFO] [stdout] --> src/relay_manager/relay.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SharedRelayRoomData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 17 | pub id: String, [INFO] [stdout] 18 | pub start_game: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedRelayRoomData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shared_relay_room` is never read [INFO] [stdout] --> src/relay_manager/relay.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct RelayRoom { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub shared_relay_room: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelayRoom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConfigError` is never used [INFO] [stdout] --> src/server/utils.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ConfigError {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `handle` are never read [INFO] [stdout] --> src/uplist.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Uplist { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | data: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | handle: JoinHandle>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DummyAPI` is never used [INFO] [stdout] --> src/dummy.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum DummyAPI { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DummyVersion` is never used [INFO] [stdout] --> src/dummy.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum DummyVersion { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DummyVersion` 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: struct `DummyConf` is never constructed [INFO] [stdout] --> src/dummy.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct DummyConf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DummyConf` 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: struct `Dummy` is never constructed [INFO] [stdout] --> src/dummy.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dummy { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dummy.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl DummyConf { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 59 | pub fn new(dummy_name: String, domain: String, version: DummyVersion) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_shared`, `connect_to_relay`, and `join_to_room` are never used [INFO] [stdout] --> src/dummy.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 75 | impl Dummy { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 76 | pub async fn new_shared( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn connect_to_relay(&mut self, addr: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | [INFO] [stdout] 100 | pub async fn join_to_room(&self, id: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SharedDummy` is never constructed [INFO] [stdout] --> src/dummy/shared_dummy.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SharedDummy { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `send_packet` are never used [INFO] [stdout] --> src/dummy/shared_dummy.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SharedDummy { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(dummy: Dummy) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub async fn send_packet(&self, packet: Packet) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ModuleType` is never used [INFO] [stdout] --> src/module.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum ModuleType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module_list` is never read [INFO] [stdout] --> src/module.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ModuleManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | module_list: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init_module` is never used [INFO] [stdout] --> src/module.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ModuleManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn init_module(&mut self, module_type: ModuleType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RwEngine` is never constructed [INFO] [stdout] --> src/module/rw_engine.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RwEngine { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/module/rw_engine.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl RwEngine { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_image_packet` is never used [INFO] [stdout] --> src/module/rw_engine/image.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn get_image_packet(image_path: &Path) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hsv_terrain_name` is never used [INFO] [stdout] --> src/module/rw_engine/image.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_hsv_terrain_name(hsv: HSV) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_name` and `event_type` are never read [INFO] [stdout] --> src/event.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 14 | pub event_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub event_type: EventType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` 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/event.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | NewRoomAndHostOk(Arc), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EventType` has derived impls for the traits `Clone` and `Debug`, 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] 27 - NewRoomAndHostOk(Arc), [INFO] [stdout] 27 + NewRoomAndHostOk(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/event.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | NewPacket(Arc, Packet, PacketType), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EventType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 28 - NewPacket(Arc, Packet, PacketType), [INFO] [stdout] 28 + NewPacket((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "db47e8aa128bb9605378c33e3574092d3bcabddfedbea3e9dfd36c4a57c719e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db47e8aa128bb9605378c33e3574092d3bcabddfedbea3e9dfd36c4a57c719e1", kill_on_drop: false }` [INFO] [stdout] db47e8aa128bb9605378c33e3574092d3bcabddfedbea3e9dfd36c4a57c719e1