[INFO] cloning repository https://github.com/cab/powdergame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cab/powdergame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcab%2Fpowdergame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcab%2Fpowdergame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 656f9912c1069ae7bf3a90321150b747057dae6a [INFO] building cab/powdergame against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcab%2Fpowdergame" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cab/powdergame on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cab/powdergame [INFO] finished tweaking git repo https://github.com/cab/powdergame [INFO] tweaked toml for git repo https://github.com/cab/powdergame written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/cab/powdergame already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e742852153a9bf3cdeead12e73facb589109ea44f90444cf4edc7e7c694b68f6 [INFO] running `Command { std: "docker" "start" "-a" "e742852153a9bf3cdeead12e73facb589109ea44f90444cf4edc7e7c694b68f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e742852153a9bf3cdeead12e73facb589109ea44f90444cf4edc7e7c694b68f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e742852153a9bf3cdeead12e73facb589109ea44f90444cf4edc7e7c694b68f6", kill_on_drop: false }` [INFO] [stdout] e742852153a9bf3cdeead12e73facb589109ea44f90444cf4edc7e7c694b68f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5494495f4d9a8896e5ae0d18b8884376fcee1045df663c6b84234a373ee8a4c6 [INFO] running `Command { std: "docker" "start" "-a" "5494495f4d9a8896e5ae0d18b8884376fcee1045df663c6b84234a373ee8a4c6", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling erased-serde v0.3.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling unicode-normalization v0.1.18 [INFO] [stderr] Compiling wide v0.6.4 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling bevy_tasks v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling bevy_reflect_derive v0.5.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.5.0 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling mio-misc v1.0.1 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling webrtc-unreliable v0.5.1 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling simple-async-local-executor v0.1.0 [INFO] [stderr] Compiling bevy_utils v0.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.18 [INFO] [stderr] Compiling bevy_reflect v0.5.0 [INFO] [stderr] Compiling js-sys v0.3.51 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling bevy_ecs v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.24 [INFO] [stderr] Compiling web-sys v0.3.51 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling game_common v0.1.0 (/opt/rustwide/workdir/crates/common) [INFO] [stdout] warning: field `target_ticks` is never read [INFO] [stdout] --> crates/common/src/gameloop.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Timer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | target_ticks: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Timer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delta` is never used [INFO] [stdout] --> crates/common/src/gameloop.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn delta(&self) -> TimeDelta { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `has_ticked` is never used [INFO] [stdout] --> crates/common/src/gameloop.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn has_ticked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next_tick_proximity` is never used [INFO] [stdout] --> crates/common/src/gameloop.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn next_tick_proximity(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper v0.14.8 [INFO] [stderr] Compiling tracing-wasm v0.1.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.1 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling gnet v0.1.0 (/opt/rustwide/workdir/crates/net) [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> crates/net/src/server.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::{mpsc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/net/src/client.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 312 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 313 | vec![].into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/net/src/client.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 329 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 330 | vec![].into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> crates/net/src/server.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{FutureExt, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crates/net/src/server.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> crates/net/src/client.rs:492:19 [INFO] [stdout] | [INFO] [stdout] 492 | if let Ok(packet) = bincoder.deserialize::(&packet) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/net/src/server.rs:319:32 [INFO] [stdout] | [INFO] [stdout] 319 | if let Err(e) = self [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserialized` [INFO] [stdout] --> crates/net/src/server.rs:493:19 [INFO] [stdout] | [INFO] [stdout] 493 | if let Ok(deserialized) = bincoder.deserialize::(&packet) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserialized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/net/src/server.rs:522:45 [INFO] [stdout] | [INFO] [stdout] 522 | ClientProtocolPacket::Ack { id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `incoming_tx` is never read [INFO] [stdout] --> crates/net/src/client.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 422 | struct ClientInner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 426 | incoming_tx: crossbeam_channel::Sender, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ClientInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `send_user` is never used [INFO] [stdout] --> crates/net/src/client.rs:515:8 [INFO] [stdout] | [INFO] [stdout] 515 | fn send_user(&self, _packet: OutgoingPacket) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `send_unreliable_protocol` is never used [INFO] [stdout] --> crates/net/src/client.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 517 | fn send_unreliable_protocol(&mut self, packet: ClientProtocolPacket) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sent` is never constructed [INFO] [stdout] --> crates/net/src/protocol.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) enum BufferResult { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 119 | Attempted, [INFO] [stdout] 120 | Sent, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferResult` 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: associated function `decode` is never used [INFO] [stdout] --> crates/net/src/protocol.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn decode(bytes: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `reliable_buffers`, `server_rx` and `server_tx` are never read [INFO] [stdout] --> crates/net/src/server.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 338 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 339 | config: ServerConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 340 | reliable_buffers: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | server_rx: mpsc::UnboundedReceiver<(ClientId, OutgoingPacket)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 349 | server_tx: mpsc::UnboundedSender<(ClientId, IncomingPacket)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `client_id` is never used [INFO] [stdout] --> crates/net/src/server.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 481 | fn client_id(&self, addr: &SocketAddr) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> crates/net/src/server.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | sender.await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir/crates/game) [INFO] [stderr] Compiling game_server v0.1.0 (/opt/rustwide/workdir/crates/server) [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> crates/server/src/world.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level`, `event`, `span` [INFO] [stdout] --> crates/server/src/main.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, event, info, span, trace, Level}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cells` [INFO] [stdout] --> crates/server/src/world.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | fn send_state(cells: Res, broadcast: Res>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cells` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/game/src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 97 | / event_loop.run(move |event, _, control_flow| { [INFO] [stdout] 98 | | *control_flow = ControlFlow::Poll; [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | match event { [INFO] [stdout] ... | [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | }); [INFO] [stdout] | |______- any code following this expression is unreachable [INFO] [stdout] 115 | [INFO] [stdout] 116 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> crates/server/src/world.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct AB { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 95 | a: T, [INFO] [stdout] | ^ [INFO] [stdout] 96 | b: T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `AB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> crates/server/src/world.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct CellsInner { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 101 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellsInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `current` is never used [INFO] [stdout] --> crates/server/src/world.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn current(&self) -> &[Cell] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `inner_active` is never used [INFO] [stdout] --> crates/server/src/world.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn inner_active(&self) -> &CellsInner { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `inner_back` is never used [INFO] [stdout] --> crates/server/src/world.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn inner_back(&self) -> &CellsInner { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cells` is never used [INFO] [stdout] --> crates/server/src/world.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn cells(&self) -> &[Cell] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 3m 36s [INFO] running `Command { std: "docker" "inspect" "5494495f4d9a8896e5ae0d18b8884376fcee1045df663c6b84234a373ee8a4c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5494495f4d9a8896e5ae0d18b8884376fcee1045df663c6b84234a373ee8a4c6", kill_on_drop: false }` [INFO] [stdout] 5494495f4d9a8896e5ae0d18b8884376fcee1045df663c6b84234a373ee8a4c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3600ee93bcd7d363a65d49296bf1fd67193df089a91426e6f06a91a7b9a601e5 [INFO] running `Command { std: "docker" "start" "-a" "3600ee93bcd7d363a65d49296bf1fd67193df089a91426e6f06a91a7b9a601e5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling game_common v0.1.0 (/opt/rustwide/workdir/crates/common) [INFO] [stdout] warning: field `target_ticks` is never read [INFO] [stdout] --> crates/common/src/gameloop.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Timer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | target_ticks: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Timer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delta` is never used [INFO] [stdout] --> crates/common/src/gameloop.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn delta(&self) -> TimeDelta { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `has_ticked` is never used [INFO] [stdout] --> crates/common/src/gameloop.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn has_ticked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next_tick_proximity` is never used [INFO] [stdout] --> crates/common/src/gameloop.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn next_tick_proximity(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gnet v0.1.0 (/opt/rustwide/workdir/crates/net) [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> crates/net/src/server.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::{mpsc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir/crates/game) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/net/src/client.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 312 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 313 | vec![].into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling game_server v0.1.0 (/opt/rustwide/workdir/crates/server) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/net/src/client.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 329 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 330 | vec![].into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> crates/net/src/server.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{FutureExt, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crates/net/src/server.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> crates/net/src/client.rs:492:19 [INFO] [stdout] | [INFO] [stdout] 492 | if let Ok(packet) = bincoder.deserialize::(&packet) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/net/src/server.rs:319:32 [INFO] [stdout] | [INFO] [stdout] 319 | if let Err(e) = self [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserialized` [INFO] [stdout] --> crates/net/src/server.rs:493:19 [INFO] [stdout] | [INFO] [stdout] 493 | if let Ok(deserialized) = bincoder.deserialize::(&packet) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserialized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/net/src/server.rs:522:45 [INFO] [stdout] | [INFO] [stdout] 522 | ClientProtocolPacket::Ack { id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `incoming_tx` is never read [INFO] [stdout] --> crates/net/src/client.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 422 | struct ClientInner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 426 | incoming_tx: crossbeam_channel::Sender, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ClientInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `send_user` is never used [INFO] [stdout] --> crates/net/src/client.rs:515:8 [INFO] [stdout] | [INFO] [stdout] 515 | fn send_user(&self, _packet: OutgoingPacket) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `send_unreliable_protocol` is never used [INFO] [stdout] --> crates/net/src/client.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 517 | fn send_unreliable_protocol(&mut self, packet: ClientProtocolPacket) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sent` is never constructed [INFO] [stdout] --> crates/net/src/protocol.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) enum BufferResult { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 119 | Attempted, [INFO] [stdout] 120 | Sent, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferResult` 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: associated function `decode` is never used [INFO] [stdout] --> crates/net/src/protocol.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn decode(bytes: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `reliable_buffers`, `server_rx` and `server_tx` are never read [INFO] [stdout] --> crates/net/src/server.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 338 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 339 | config: ServerConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 340 | reliable_buffers: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | server_rx: mpsc::UnboundedReceiver<(ClientId, OutgoingPacket)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 349 | server_tx: mpsc::UnboundedSender<(ClientId, IncomingPacket)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `client_id` is never used [INFO] [stdout] --> crates/net/src/server.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 481 | fn client_id(&self, addr: &SocketAddr) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> crates/net/src/server.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | sender.await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/game/src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 97 | / event_loop.run(move |event, _, control_flow| { [INFO] [stdout] 98 | | *control_flow = ControlFlow::Poll; [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | match event { [INFO] [stdout] ... | [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | }); [INFO] [stdout] | |______- any code following this expression is unreachable [INFO] [stdout] 115 | [INFO] [stdout] 116 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> crates/server/src/world.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level`, `event`, `span` [INFO] [stdout] --> crates/server/src/main.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, event, info, span, trace, Level}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> crates/net/src/server.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::{mpsc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cells` [INFO] [stdout] --> crates/server/src/world.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | fn send_state(cells: Res, broadcast: Res>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cells` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/net/src/client.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 312 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 313 | vec![].into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/net/src/client.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 329 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 330 | vec![].into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> crates/server/src/world.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct AB { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 95 | a: T, [INFO] [stdout] | ^ [INFO] [stdout] 96 | b: T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `AB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> crates/server/src/world.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct CellsInner { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 101 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellsInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `current` is never used [INFO] [stdout] --> crates/server/src/world.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn current(&self) -> &[Cell] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `inner_active` is never used [INFO] [stdout] --> crates/server/src/world.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn inner_active(&self) -> &CellsInner { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `inner_back` is never used [INFO] [stdout] --> crates/server/src/world.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn inner_back(&self) -> &CellsInner { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cells` is never used [INFO] [stdout] --> crates/server/src/world.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn cells(&self) -> &[Cell] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_ticks` is never read [INFO] [stdout] --> crates/common/src/gameloop.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Timer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | target_ticks: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Timer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delta` is never used [INFO] [stdout] --> crates/common/src/gameloop.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn delta(&self) -> TimeDelta { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `has_ticked` is never used [INFO] [stdout] --> crates/common/src/gameloop.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn has_ticked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next_tick_proximity` is never used [INFO] [stdout] --> crates/common/src/gameloop.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn next_tick_proximity(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/game/src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 97 | / event_loop.run(move |event, _, control_flow| { [INFO] [stdout] 98 | | *control_flow = ControlFlow::Poll; [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | match event { [INFO] [stdout] ... | [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | }); [INFO] [stdout] | |______- any code following this expression is unreachable [INFO] [stdout] 115 | [INFO] [stdout] 116 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> crates/net/src/server.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{FutureExt, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crates/net/src/server.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> crates/net/src/client.rs:492:19 [INFO] [stdout] | [INFO] [stdout] 492 | if let Ok(packet) = bincoder.deserialize::(&packet) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/net/src/server.rs:319:32 [INFO] [stdout] | [INFO] [stdout] 319 | if let Err(e) = self [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserialized` [INFO] [stdout] --> crates/net/src/server.rs:493:19 [INFO] [stdout] | [INFO] [stdout] 493 | if let Ok(deserialized) = bincoder.deserialize::(&packet) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserialized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/net/src/server.rs:522:45 [INFO] [stdout] | [INFO] [stdout] 522 | ClientProtocolPacket::Ack { id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `incoming_tx` is never read [INFO] [stdout] --> crates/net/src/client.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 422 | struct ClientInner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 426 | incoming_tx: crossbeam_channel::Sender, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ClientInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `send_user` is never used [INFO] [stdout] --> crates/net/src/client.rs:515:8 [INFO] [stdout] | [INFO] [stdout] 515 | fn send_user(&self, _packet: OutgoingPacket) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `send_unreliable_protocol` is never used [INFO] [stdout] --> crates/net/src/client.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 517 | fn send_unreliable_protocol(&mut self, packet: ClientProtocolPacket) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sent` is never constructed [INFO] [stdout] --> crates/net/src/protocol.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) enum BufferResult { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 119 | Attempted, [INFO] [stdout] 120 | Sent, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferResult` 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: associated function `decode` is never used [INFO] [stdout] --> crates/net/src/protocol.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn decode(bytes: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `reliable_buffers`, `server_rx` and `server_tx` are never read [INFO] [stdout] --> crates/net/src/server.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 338 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 339 | config: ServerConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 340 | reliable_buffers: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | server_rx: mpsc::UnboundedReceiver<(ClientId, OutgoingPacket)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 349 | server_tx: mpsc::UnboundedSender<(ClientId, IncomingPacket)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `client_id` is never used [INFO] [stdout] --> crates/net/src/server.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 481 | fn client_id(&self, addr: &SocketAddr) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> crates/net/src/server.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | sender.await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 3.45s [INFO] running `Command { std: "docker" "inspect" "3600ee93bcd7d363a65d49296bf1fd67193df089a91426e6f06a91a7b9a601e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3600ee93bcd7d363a65d49296bf1fd67193df089a91426e6f06a91a7b9a601e5", kill_on_drop: false }` [INFO] [stdout] 3600ee93bcd7d363a65d49296bf1fd67193df089a91426e6f06a91a7b9a601e5