[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] checking shishanyue/RW-RJR-Server against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshishanyue%2FRW-RJR-Server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shishanyue/RW-RJR-Server on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-7-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid-macro-internal v1.8.0 [INFO] [stderr] Downloaded bitstream-io v2.2.0 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded built v0.7.1 [INFO] [stderr] Downloaded image-webp v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d85ebed669fc74da5435cfbcf6e4298ba96ec046edfb94aaf21b6e45cd0f2d5 [INFO] running `Command { std: "docker" "start" "-a" "3d85ebed669fc74da5435cfbcf6e4298ba96ec046edfb94aaf21b6e45cd0f2d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d85ebed669fc74da5435cfbcf6e4298ba96ec046edfb94aaf21b6e45cd0f2d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d85ebed669fc74da5435cfbcf6e4298ba96ec046edfb94aaf21b6e45cd0f2d5", kill_on_drop: false }` [INFO] [stdout] 3d85ebed669fc74da5435cfbcf6e4298ba96ec046edfb94aaf21b6e45cd0f2d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d7482bfd7c52a98475bb0171e9f080068a0a3149e15746036297d534b173666 [INFO] running `Command { std: "docker" "start" "-a" "4d7482bfd7c52a98475bb0171e9f080068a0a3149e15746036297d534b173666", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking event-listener v5.0.0 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking winnow v0.5.34 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking bracket-color v0.8.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling uuid-macro-internal v1.8.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking image-webp v0.1.1 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking sha256 v1.5.0 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking 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 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: `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: 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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `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/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 `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] 27 | NewRoomAndHostOk(()), [INFO] [stdout] | ~~ [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 `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 `Debug` and `Clone`, 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((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `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/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 `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] 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 `Debug` and `Clone`, 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((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.92s [INFO] running `Command { std: "docker" "inspect" "4d7482bfd7c52a98475bb0171e9f080068a0a3149e15746036297d534b173666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d7482bfd7c52a98475bb0171e9f080068a0a3149e15746036297d534b173666", kill_on_drop: false }` [INFO] [stdout] 4d7482bfd7c52a98475bb0171e9f080068a0a3149e15746036297d534b173666 [INFO] checking shishanyue/RW-RJR-Server against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshishanyue%2FRW-RJR-Server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shishanyue/RW-RJR-Server on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-7-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e5823e39cb14b4526167683575d450ef8b83f2ee3587c8d2fe2f635c0a6935d [INFO] running `Command { std: "docker" "start" "-a" "2e5823e39cb14b4526167683575d450ef8b83f2ee3587c8d2fe2f635c0a6935d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e5823e39cb14b4526167683575d450ef8b83f2ee3587c8d2fe2f635c0a6935d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5823e39cb14b4526167683575d450ef8b83f2ee3587c8d2fe2f635c0a6935d", kill_on_drop: false }` [INFO] [stdout] 2e5823e39cb14b4526167683575d450ef8b83f2ee3587c8d2fe2f635c0a6935d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c255a4258a7a3fce262cd73f92f643f2da379ce77657bc00d5dbd4409067a797 [INFO] running `Command { std: "docker" "start" "-a" "c255a4258a7a3fce262cd73f92f643f2da379ce77657bc00d5dbd4409067a797", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking event-listener v5.0.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking winnow v0.5.34 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking bracket-color v0.8.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking av1-grain v0.2.3 [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 num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling uuid-macro-internal v1.8.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking image-webp v0.1.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking sha256 v1.5.0 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking 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 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: `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: 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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `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/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 `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] 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 `Debug` and `Clone`, 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((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection/shared_connection.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new_with_addr(addr: Weak) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Self { [INFO] [stdout] 35 | player_info: Arc::new(PlayerInfo::default()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection/shared_connection.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new_with_addr(addr: Weak) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | connection_info: Arc::new(ConnectionInfo { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 37 | | addr, [INFO] [stdout] 38 | | ..Default::default() [INFO] [stdout] 39 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection_manager.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | move |r_receiver, _| Box::pin(receiver(r_receiver)), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection_manager.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | move |p_receiver, _| Box::pin(processor(p_receiver)), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection_manager.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | move |s_receiver, _| Box::pin(sender(s_receiver)), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/relay_manager/relay.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(admin: Weak, shared_relay_room: Arc) -> Self { [INFO] [stdout] | ----------------------------- --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | RelayRoom { [INFO] [stdout] 39 | player_map: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/uplist.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 71 | let uplist_data = Arc::new(UplistData { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | data: uplist_data.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/uplist.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 71 | let uplist_data = Arc::new(UplistData { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | handle: tokio::spawn(uplist_fn(uplist_data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dummy/shared_dummy.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(dummy: Dummy) -> Arc { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let (basic_dummy_api_tx, basic_dummy_api_rx) = async_channel::bounded(10); [INFO] [stdout] | ------------------ ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let conf = dummy.conf.clone(); [INFO] [stdout] 19 | let handle = DUMMY_RUNTIME.spawn(async move { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Arc::new(SharedDummy { [INFO] [stdout] | __________________^ [INFO] [stdout] 50 | | basic_dummy_api_tx, [INFO] [stdout] 51 | | handle, [INFO] [stdout] 52 | | conf [INFO] [stdout] 53 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `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/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 `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] 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 `Debug` and `Clone`, 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((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection/shared_connection.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new_with_addr(addr: Weak) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Self { [INFO] [stdout] 35 | player_info: Arc::new(PlayerInfo::default()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection/shared_connection.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new_with_addr(addr: Weak) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | connection_info: Arc::new(ConnectionInfo { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 37 | | addr, [INFO] [stdout] 38 | | ..Default::default() [INFO] [stdout] 39 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection_manager.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | move |r_receiver, _| Box::pin(receiver(r_receiver)), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection_manager.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | move |p_receiver, _| Box::pin(processor(p_receiver)), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection_manager.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | move |s_receiver, _| Box::pin(sender(s_receiver)), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/relay_manager/relay.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(admin: Weak, shared_relay_room: Arc) -> Self { [INFO] [stdout] | ----------------------------- --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | RelayRoom { [INFO] [stdout] 39 | player_map: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/uplist.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 71 | let uplist_data = Arc::new(UplistData { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | data: uplist_data.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/uplist.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 71 | let uplist_data = Arc::new(UplistData { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | handle: tokio::spawn(uplist_fn(uplist_data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dummy/shared_dummy.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(dummy: Dummy) -> Arc { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let (basic_dummy_api_tx, basic_dummy_api_rx) = async_channel::bounded(10); [INFO] [stdout] | ------------------ ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let conf = dummy.conf.clone(); [INFO] [stdout] 19 | let handle = DUMMY_RUNTIME.spawn(async move { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Arc::new(SharedDummy { [INFO] [stdout] | __________________^ [INFO] [stdout] 50 | | basic_dummy_api_tx, [INFO] [stdout] 51 | | handle, [INFO] [stdout] 52 | | conf [INFO] [stdout] 53 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rws_rjr` (bin "rws_rjr" test) due to 10 previous errors; 41 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rws_rjr` (bin "rws_rjr") due to 10 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c255a4258a7a3fce262cd73f92f643f2da379ce77657bc00d5dbd4409067a797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c255a4258a7a3fce262cd73f92f643f2da379ce77657bc00d5dbd4409067a797", kill_on_drop: false }` [INFO] [stdout] c255a4258a7a3fce262cd73f92f643f2da379ce77657bc00d5dbd4409067a797