[INFO] fetching crate voxelize 1.0.0... [INFO] testing voxelize-1.0.0 against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] extracting crate voxelize 1.0.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate voxelize 1.0.0 [INFO] finished tweaking crates.io crate voxelize 1.0.0 [INFO] tweaked toml for crates.io crate voxelize 1.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate voxelize 1.0.0 on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate voxelize 1.0.0 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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic_refcell v0.1.13 [INFO] [stderr] Downloaded specs-derive v0.4.1 [INFO] [stderr] Downloaded shrev v1.1.3 [INFO] [stderr] Downloaded nougat v0.2.4 [INFO] [stderr] Downloaded tuple_utils v0.4.0 [INFO] [stderr] Downloaded libflate_lz77 v2.1.0 [INFO] [stderr] Downloaded specs v0.20.0 [INFO] [stderr] Downloaded http-range v0.1.5 [INFO] [stderr] Downloaded deranged v0.4.1 [INFO] [stderr] Downloaded deprecate-until v0.1.1 [INFO] [stderr] Downloaded integer-sqrt v0.1.5 [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded actix_derive v0.6.2 [INFO] [stderr] Downloaded actix-web-actors v4.3.1+deprecated [INFO] [stderr] Downloaded actix-rt v2.10.0 [INFO] [stderr] Downloaded actix-files v0.6.6 [INFO] [stderr] Downloaded actix-cors v0.7.1 [INFO] [stderr] Downloaded derive_more v0.99.19 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded actix v0.13.5 [INFO] [stderr] Downloaded flate2 v1.1.0 [INFO] [stderr] Downloaded noise v0.9.0 [INFO] [stderr] Downloaded prettyplease v0.2.31 [INFO] [stderr] Downloaded actix-http v3.10.0 [INFO] [stderr] Downloaded pathfinding v4.14.0 [INFO] [stderr] Downloaded blake3 v1.7.0 [INFO] [stderr] Downloaded wide v0.7.32 [INFO] [stderr] Downloaded actix-web v4.10.2 [INFO] [stderr] Downloaded parry3d v0.16.1 [INFO] [stderr] Downloaded rapier3d v0.21.0 [INFO] [stderr] Downloaded bytemuck v1.22.0 [INFO] [stderr] Downloaded actix-server v2.5.1 [INFO] [stderr] Downloaded libflate v2.1.0 [INFO] [stderr] Downloaded nougat-proc_macros v0.2.4 [INFO] [stderr] Downloaded hibitset v0.6.4 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded dary_heap v0.3.7 [INFO] [stderr] Downloaded spade v2.13.1 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Downloaded macro_rules_attribute v0.1.3 [INFO] [stderr] Downloaded shred v0.15.0 [INFO] [stderr] Downloaded bytestring v1.4.0 [INFO] [stderr] Downloaded kdtree v0.7.0 [INFO] [stderr] Downloaded tynm v0.1.10 [INFO] [stderr] Downloaded splines v4.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c113f9f8f69b908696d808d5a6402d10b0365812998fcd3ff8cf99730d903076 [INFO] running `Command { std: "docker" "start" "-a" "c113f9f8f69b908696d808d5a6402d10b0365812998fcd3ff8cf99730d903076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c113f9f8f69b908696d808d5a6402d10b0365812998fcd3ff8cf99730d903076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c113f9f8f69b908696d808d5a6402d10b0365812998fcd3ff8cf99730d903076", kill_on_drop: false }` [INFO] [stdout] c113f9f8f69b908696d808d5a6402d10b0365812998fcd3ff8cf99730d903076 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd88033234f47df3c904d799c003b35e87a9d36b9f1f4fd7b087f2e77bf0c8b5 [INFO] running `Command { std: "docker" "start" "-a" "fd88033234f47df3c904d799c003b35e87a9d36b9f1f4fd7b087f2e77bf0c8b5", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling robust v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling spade v2.13.1 [INFO] [stderr] Compiling blake3 v1.7.0 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling shred v0.15.0 [INFO] [stderr] Compiling nougat-proc_macros v0.2.4 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling voxelize v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling dary_heap v0.3.7 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling tuple_utils v0.4.0 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling pathfinding v4.14.0 [INFO] [stderr] Compiling noise v0.9.0 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling kdtree v0.7.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling nougat v0.2.4 [INFO] [stderr] Compiling splines v4.4.2 [INFO] [stderr] Compiling specs v0.20.0 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling parry3d v0.16.1 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling actix-web-actors v4.3.1+deprecated [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling rapier3d v0.21.0 [INFO] [stdout] warning: unused import: `rayon::ThreadPool` [INFO] [stdout] --> server/server/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rayon::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChunkStatus`, `GetConfig`, `Mesher`, `MessageQueue`, `Stats`, and `WorldConfig` [INFO] [stdout] --> server/server/mod.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | world::{Registry, World, WorldConfig}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | ChunkStatus, ClientJoinRequest, ClientLeaveRequest, ClientRequest, GetConfig, GetInfo, Mesher, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 23 | MessageQueue, Preload, Prepare, Stats, SyncWorld, Tick, TransportJoinRequest, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/components/metadata.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> server/world/components/path.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> server/world/entities/saver.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> server/world/entities/saver.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ETypeComp` and `IDComp` [INFO] [stdout] --> server/world/entities/saver.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{ETypeComp, IDComp, MetadataComp, PositionComp, RigidBodyComp, WorldConfig}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fbm` [INFO] [stdout] --> server/world/generators/noise.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use noise::{Fbm, HybridMulti, MultiFractal, NoiseFn, Perlin, RidgedMulti, Seedable}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `splines::interpolate::Interpolator` [INFO] [stdout] --> server/world/generators/noise.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use splines::interpolate::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryRecvError` [INFO] [stdout] --> server/world/generators/pipeline.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use crossbeam_channel::{unbounded, Receiver, Sender, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/generators/terrain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `splines::interpolate::Interpolator` [INFO] [stdout] --> server/world/generators/terrain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use splines::interpolate::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/physics/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BroadPhase` and `PhysicsHooks` [INFO] [stdout] --> server/world/physics/mod.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | vector, ActiveEvents, BroadPhase, CCDSolver, ChannelEventCollector, ColliderBuilder, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | ColliderHandle, ColliderSet, CollisionEvent, ImpulseJointSet, IntegrationParameters, [INFO] [stdout] 10 | IslandManager, MultibodyJointSet, NarrowPhase, PhysicsHooks, PhysicsPipeline, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockRotation` [INFO] [stdout] --> server/world/physics/mod.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{approx_equals, BlockRotation, Vec3, VoxelAccess}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> server/world/profiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/registry.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> server/world/stats.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/broadcast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncodedMessage`, `MessageType`, `WorldConfig`, and `server::encode_message` [INFO] [stdout] --> server/world/systems/broadcast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | server::encode_message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | world::{metadata::WorldMetadata, profiler::Profiler, Clients, MessageQueue}, [INFO] [stdout] 8 | EncodedMessage, EncodedMessageQueue, MessageType, Transports, WorldConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cmp::Ordering, collections::VecDeque}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use rayon::iter::{IntoParallelIterator, IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PositionComp` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | Chunks, Clients, Mesher, MessageType, Pipeline, PositionComp, Registry, Stats, Vec2, Vec3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Join` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::{Join, ReadExpect, ReadStorage, System, WriteExpect}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/chunk/updating.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CollisionsComp` [INFO] [stdout] --> server/world/systems/chunk/updating.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | BlockUtils, ChunkUtils, Chunks, ClientFilter, CollisionsComp, CurrentChunkComp, ETypeComp, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> server/world/systems/entity/sending.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stats` [INFO] [stdout] --> server/world/systems/entity/sending.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | Physics, Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> server/world/systems/events.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stats` [INFO] [stdout] --> server/world/systems/peers/sending.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | NameComp, PeerProtocol, Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/physics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> server/world/systems/physics.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | ClientFilter, ClientFlag, CollisionsComp, Event, EventBuilder, Events, IDComp, InteractorComp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RigidBodyComp` [INFO] [stdout] --> server/world/systems/path/entity_tree.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ClientFlag, EntityFlag, KdTree, PositionComp, RigidBodyComp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> server/world/utils/chunk.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | if (cfg!(target_os = "windows")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - if (cfg!(target_os = "windows")) { [INFO] [stdout] 4 + if cfg!(target_os = "windows") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> server/world/voxels/block.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | BlockUtils, LightColor, LightUtils, Registry, Vec2, Vec3, VoxelAccess, VoxelUpdate, AABB, UV, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/voxels/chunks.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncContext` and `Context` [INFO] [stdout] --> server/world/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Actor, AsyncContext, Context, Handler, Message as ActixMessage, MessageResult, Recipient, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::E` [INFO] [stdout] --> server/world/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> server/world/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | use std::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> server/world/mod.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | use std::{env, sync::Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> server/world/mod.rs:1660:16 [INFO] [stdout] | [INFO] [stdout] 1660 | if (!etype.0.starts_with("block::") && metadata.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1660 - if (!etype.0.starts_with("block::") && metadata.is_empty()) { [INFO] [stdout] 1660 + if !etype.0.starts_with("block::") && metadata.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> server/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> server/world/voxels/chunks.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | base64::encode(&encoded) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `server::models::protocols::message::Type::from_i32`: Use the TryFrom implementation instead [INFO] [stdout] --> server/world/mod.rs:904:37 [INFO] [stdout] | [INFO] [stdout] 904 | let msg_type = MessageType::from_i32(data.r#type).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/broadcast.rs:24:81 [INFO] [stdout] | [INFO] [stdout] 24 | let (transports, clients, world_metadata, mut queue, mut encoded_queue, mut profiler) = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profiler` [INFO] [stdout] --> server/world/systems/broadcast.rs:24:81 [INFO] [stdout] | [INFO] [stdout] 24 | let (transports, clients, world_metadata, mut queue, mut encoded_queue, mut profiler) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/chunk/generating.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | mut profiler, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | stats, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profiler` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | mut profiler, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 319 | for (i, n_coords) in chunks [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:338:26 [INFO] [stdout] | [INFO] [stdout] 338 | for (j, (voxel, val)) in blocks.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let len = ready_chunks.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:30:56 [INFO] [stdout] | [INFO] [stdout] 30 | let (config, interests, mut chunks, mut queue, ids, requests) = data; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requests` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:30:61 [INFO] [stdout] | [INFO] [stdout] 30 | let (config, interests, mut chunks, mut queue, ids, requests) = data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/chunk/updating.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | mut lazy, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/chunk/updating.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | mut entities, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requests` [INFO] [stdout] --> server/world/systems/events.rs:23:63 [INFO] [stdout] | [INFO] [stdout] 23 | let (transports, clients, interests, mut events, ids, requests) = data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clients` [INFO] [stdout] --> server/world/systems/peers/sending.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | let (clients, mut queue, flag, ids, names, mut metadatas) = data; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> server/world/systems/physics.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> server/world/systems/physics.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 95 | CollisionEvent::Started(ch1, ch2, _) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 102 | CollisionEvent::Stopped(ch1, ch2, _) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 109 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/path/finding.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | let mut simplified = rdp_simplify(path, EPSILON); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rot` [INFO] [stdout] --> server/world/voxels/block.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | BlockRotation::PY(rot) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/world/mod.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/mod.rs:632:18 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn start(mut self) -> Addr { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etype` [INFO] [stdout] --> server/world/mod.rs:1054:52 [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_etype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/world/mod.rs:1382:17 [INFO] [stdout] | [INFO] [stdout] 1382 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/world/mod.rs:1425:17 [INFO] [stdout] | [INFO] [stdout] 1425 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tick` is never used [INFO] [stdout] --> server/server/mod.rs:436:19 [INFO] [stdout] | [INFO] [stdout] 204 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 436 | pub(crate) fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `server_addr` are never read [INFO] [stdout] --> server/world/mod.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 163 | addr: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 164 | [INFO] [stdout] 165 | server_addr: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OnEventRequest` is never constructed [INFO] [stdout] --> server/world/mod.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | struct OnEventRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> server/world/generators/lights.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const RED: LightColor = LightColor::Red; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> server/world/generators/lights.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const GREEN: LightColor = LightColor::Green; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> server/world/generators/lights.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const BLUE: LightColor = LightColor::Blue; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUNLIGHT` is never used [INFO] [stdout] --> server/world/generators/lights.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const SUNLIGHT: LightColor = LightColor::Sunlight; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> server/world/generators/pipeline.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Pipeline { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | pool: ThreadPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `noise` is never read [INFO] [stdout] --> server/world/generators/terrain.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Terrain { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | config: WorldConfig, [INFO] [stdout] 32 | noise: SeededNoise, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terrain` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `place_trunk_by_angles` is never used [INFO] [stdout] --> server/world/generators/trees.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Trees { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn place_trunk_by_angles( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:665:39 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn read_resource(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 665 | pub fn read_resource(&self) -> Fetch<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:670:40 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn write_resource(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 670 | pub fn write_resource(&mut self) -> FetchMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:675:41 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn read_component(&self) -> ReadStorage { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 675 | pub fn read_component(&self) -> ReadStorage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:680:42 [INFO] [stdout] | [INFO] [stdout] 680 | pub fn write_component(&mut self) -> WriteStorage { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 680 | pub fn write_component(&mut self) -> WriteStorage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:944:19 [INFO] [stdout] | [INFO] [stdout] 944 | pub fn config(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 944 | pub fn config(&self) -> Fetch<'_, WorldConfig> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:949:20 [INFO] [stdout] | [INFO] [stdout] 949 | pub fn clients(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 949 | pub fn clients(&self) -> Fetch<'_, Clients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:954:24 [INFO] [stdout] | [INFO] [stdout] 954 | pub fn clients_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 954 | pub fn clients_mut(&mut self) -> FetchMut<'_, Clients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:959:23 [INFO] [stdout] | [INFO] [stdout] 959 | pub fn entity_ids(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 959 | pub fn entity_ids(&self) -> Fetch<'_, EntityIDs> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:964:27 [INFO] [stdout] | [INFO] [stdout] 964 | pub fn entity_ids_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 964 | pub fn entity_ids_mut(&mut self) -> FetchMut<'_, EntityIDs> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:969:21 [INFO] [stdout] | [INFO] [stdout] 969 | pub fn registry(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 969 | pub fn registry(&self) -> Fetch<'_, Registry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:974:19 [INFO] [stdout] | [INFO] [stdout] 974 | pub fn chunks(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 974 | pub fn chunks(&self) -> Fetch<'_, Chunks> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:979:23 [INFO] [stdout] | [INFO] [stdout] 979 | pub fn chunks_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 979 | pub fn chunks_mut(&mut self) -> FetchMut<'_, Chunks> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:984:20 [INFO] [stdout] | [INFO] [stdout] 984 | pub fn physics(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 984 | pub fn physics(&self) -> Fetch<'_, Physics> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:989:24 [INFO] [stdout] | [INFO] [stdout] 989 | pub fn physics_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 989 | pub fn physics_mut(&mut self) -> FetchMut<'_, Physics> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:994:27 [INFO] [stdout] | [INFO] [stdout] 994 | pub fn chunk_interest(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 994 | pub fn chunk_interest(&self) -> Fetch<'_, ChunkInterests> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:999:31 [INFO] [stdout] | [INFO] [stdout] 999 | pub fn chunk_interest_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 999 | pub fn chunk_interest_mut(&mut self) -> FetchMut<'_, ChunkInterests> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1004:19 [INFO] [stdout] | [INFO] [stdout] 1004 | pub fn events(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1004 | pub fn events(&self) -> Fetch<'_, Events> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1009:23 [INFO] [stdout] | [INFO] [stdout] 1009 | pub fn events_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1009 | pub fn events_mut(&mut self) -> FetchMut<'_, Events> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1014:19 [INFO] [stdout] | [INFO] [stdout] 1014 | pub fn search(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1014 | pub fn search(&self) -> Fetch<'_, Search> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1019:23 [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn search_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn search_mut(&mut self) -> FetchMut<'_, Search> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1024:18 [INFO] [stdout] | [INFO] [stdout] 1024 | pub fn stats(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1024 | pub fn stats(&self) -> Fetch<'_, Stats> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1029:22 [INFO] [stdout] | [INFO] [stdout] 1029 | pub fn stats_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1029 | pub fn stats_mut(&mut self) -> FetchMut<'_, Stats> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1034:21 [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn pipeline(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn pipeline(&self) -> Fetch<'_, Pipeline> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1039:25 [INFO] [stdout] | [INFO] [stdout] 1039 | pub fn pipeline_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1039 | pub fn pipeline_mut(&mut self) -> FetchMut<'_, Pipeline> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1044:19 [INFO] [stdout] | [INFO] [stdout] 1044 | pub fn mesher(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1044 | pub fn mesher(&self) -> Fetch<'_, Mesher> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1049:23 [INFO] [stdout] | [INFO] [stdout] 1049 | pub fn mesher_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1049 | pub fn mesher_mut(&mut self) -> FetchMut<'_, Mesher> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1054:31 [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1063:26 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn create_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn create_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1071:32 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn create_block_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn create_block_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "fd88033234f47df3c904d799c003b35e87a9d36b9f1f4fd7b087f2e77bf0c8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd88033234f47df3c904d799c003b35e87a9d36b9f1f4fd7b087f2e77bf0c8b5", kill_on_drop: false }` [INFO] [stdout] fd88033234f47df3c904d799c003b35e87a9d36b9f1f4fd7b087f2e77bf0c8b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71f801dafdaae7f0d654c8d3c5980b6a3e001edaac7572605caf2fdb9267be73 [INFO] running `Command { std: "docker" "start" "-a" "71f801dafdaae7f0d654c8d3c5980b6a3e001edaac7572605caf2fdb9267be73", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling parry3d v0.16.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling splines v4.4.2 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling shred v0.15.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling specs v0.20.0 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling actix-web-actors v4.3.1+deprecated [INFO] [stderr] Compiling rapier3d v0.21.0 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling voxelize v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rayon::ThreadPool` [INFO] [stdout] --> server/server/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rayon::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChunkStatus`, `GetConfig`, `Mesher`, `MessageQueue`, `Stats`, and `WorldConfig` [INFO] [stdout] --> server/server/mod.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | world::{Registry, World, WorldConfig}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | ChunkStatus, ClientJoinRequest, ClientLeaveRequest, ClientRequest, GetConfig, GetInfo, Mesher, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 23 | MessageQueue, Preload, Prepare, Stats, SyncWorld, Tick, TransportJoinRequest, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/components/metadata.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> server/world/components/path.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> server/world/entities/saver.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> server/world/entities/saver.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ETypeComp` and `IDComp` [INFO] [stdout] --> server/world/entities/saver.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{ETypeComp, IDComp, MetadataComp, PositionComp, RigidBodyComp, WorldConfig}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fbm` [INFO] [stdout] --> server/world/generators/noise.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use noise::{Fbm, HybridMulti, MultiFractal, NoiseFn, Perlin, RidgedMulti, Seedable}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `splines::interpolate::Interpolator` [INFO] [stdout] --> server/world/generators/noise.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use splines::interpolate::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryRecvError` [INFO] [stdout] --> server/world/generators/pipeline.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use crossbeam_channel::{unbounded, Receiver, Sender, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/generators/terrain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `splines::interpolate::Interpolator` [INFO] [stdout] --> server/world/generators/terrain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use splines::interpolate::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/physics/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BroadPhase` and `PhysicsHooks` [INFO] [stdout] --> server/world/physics/mod.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | vector, ActiveEvents, BroadPhase, CCDSolver, ChannelEventCollector, ColliderBuilder, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | ColliderHandle, ColliderSet, CollisionEvent, ImpulseJointSet, IntegrationParameters, [INFO] [stdout] 10 | IslandManager, MultibodyJointSet, NarrowPhase, PhysicsHooks, PhysicsPipeline, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockRotation` [INFO] [stdout] --> server/world/physics/mod.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{approx_equals, BlockRotation, Vec3, VoxelAccess}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> server/world/profiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/registry.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> server/world/stats.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/broadcast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncodedMessage`, `MessageType`, `WorldConfig`, and `server::encode_message` [INFO] [stdout] --> server/world/systems/broadcast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | server::encode_message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | world::{metadata::WorldMetadata, profiler::Profiler, Clients, MessageQueue}, [INFO] [stdout] 8 | EncodedMessage, EncodedMessageQueue, MessageType, Transports, WorldConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cmp::Ordering, collections::VecDeque}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use rayon::iter::{IntoParallelIterator, IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PositionComp` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | Chunks, Clients, Mesher, MessageType, Pipeline, PositionComp, Registry, Stats, Vec2, Vec3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Join` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::{Join, ReadExpect, ReadStorage, System, WriteExpect}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/chunk/updating.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CollisionsComp` [INFO] [stdout] --> server/world/systems/chunk/updating.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | BlockUtils, ChunkUtils, Chunks, ClientFilter, CollisionsComp, CurrentChunkComp, ETypeComp, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> server/world/systems/entity/sending.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stats` [INFO] [stdout] --> server/world/systems/entity/sending.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | Physics, Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> server/world/systems/events.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stats` [INFO] [stdout] --> server/world/systems/peers/sending.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | NameComp, PeerProtocol, Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/physics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> server/world/systems/physics.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | ClientFilter, ClientFlag, CollisionsComp, Event, EventBuilder, Events, IDComp, InteractorComp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RigidBodyComp` [INFO] [stdout] --> server/world/systems/path/entity_tree.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ClientFlag, EntityFlag, KdTree, PositionComp, RigidBodyComp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> server/world/utils/chunk.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | if (cfg!(target_os = "windows")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - if (cfg!(target_os = "windows")) { [INFO] [stdout] 4 + if cfg!(target_os = "windows") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> server/world/voxels/block.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | BlockUtils, LightColor, LightUtils, Registry, Vec2, Vec3, VoxelAccess, VoxelUpdate, AABB, UV, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/voxels/chunks.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncContext` and `Context` [INFO] [stdout] --> server/world/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Actor, AsyncContext, Context, Handler, Message as ActixMessage, MessageResult, Recipient, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::E` [INFO] [stdout] --> server/world/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> server/world/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | use std::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> server/world/mod.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | use std::{env, sync::Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> server/world/mod.rs:1660:16 [INFO] [stdout] | [INFO] [stdout] 1660 | if (!etype.0.starts_with("block::") && metadata.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1660 - if (!etype.0.starts_with("block::") && metadata.is_empty()) { [INFO] [stdout] 1660 + if !etype.0.starts_with("block::") && metadata.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> server/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> server/world/voxels/chunks.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | base64::encode(&encoded) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `server::models::protocols::message::Type::from_i32`: Use the TryFrom implementation instead [INFO] [stdout] --> server/world/mod.rs:904:37 [INFO] [stdout] | [INFO] [stdout] 904 | let msg_type = MessageType::from_i32(data.r#type).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/broadcast.rs:24:81 [INFO] [stdout] | [INFO] [stdout] 24 | let (transports, clients, world_metadata, mut queue, mut encoded_queue, mut profiler) = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profiler` [INFO] [stdout] --> server/world/systems/broadcast.rs:24:81 [INFO] [stdout] | [INFO] [stdout] 24 | let (transports, clients, world_metadata, mut queue, mut encoded_queue, mut profiler) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/chunk/generating.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | mut profiler, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | stats, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profiler` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | mut profiler, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 319 | for (i, n_coords) in chunks [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:338:26 [INFO] [stdout] | [INFO] [stdout] 338 | for (j, (voxel, val)) in blocks.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let len = ready_chunks.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:30:56 [INFO] [stdout] | [INFO] [stdout] 30 | let (config, interests, mut chunks, mut queue, ids, requests) = data; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requests` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:30:61 [INFO] [stdout] | [INFO] [stdout] 30 | let (config, interests, mut chunks, mut queue, ids, requests) = data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/chunk/updating.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | mut lazy, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/chunk/updating.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | mut entities, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requests` [INFO] [stdout] --> server/world/systems/events.rs:23:63 [INFO] [stdout] | [INFO] [stdout] 23 | let (transports, clients, interests, mut events, ids, requests) = data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clients` [INFO] [stdout] --> server/world/systems/peers/sending.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | let (clients, mut queue, flag, ids, names, mut metadatas) = data; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> server/world/systems/physics.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> server/world/systems/physics.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 95 | CollisionEvent::Started(ch1, ch2, _) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 102 | CollisionEvent::Stopped(ch1, ch2, _) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 109 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/path/finding.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | let mut simplified = rdp_simplify(path, EPSILON); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rot` [INFO] [stdout] --> server/world/voxels/block.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | BlockRotation::PY(rot) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::ThreadPool` [INFO] [stdout] --> server/server/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rayon::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChunkStatus`, `GetConfig`, `Mesher`, `MessageQueue`, `Stats`, and `WorldConfig` [INFO] [stdout] --> server/server/mod.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | world::{Registry, World, WorldConfig}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | ChunkStatus, ClientJoinRequest, ClientLeaveRequest, ClientRequest, GetConfig, GetInfo, Mesher, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 23 | MessageQueue, Preload, Prepare, Stats, SyncWorld, Tick, TransportJoinRequest, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/components/metadata.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> server/world/components/path.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> server/world/entities/saver.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> server/world/entities/saver.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ETypeComp` and `IDComp` [INFO] [stdout] --> server/world/entities/saver.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{ETypeComp, IDComp, MetadataComp, PositionComp, RigidBodyComp, WorldConfig}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fbm` [INFO] [stdout] --> server/world/generators/noise.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use noise::{Fbm, HybridMulti, MultiFractal, NoiseFn, Perlin, RidgedMulti, Seedable}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `splines::interpolate::Interpolator` [INFO] [stdout] --> server/world/generators/noise.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use splines::interpolate::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryRecvError` [INFO] [stdout] --> server/world/generators/pipeline.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use crossbeam_channel::{unbounded, Receiver, Sender, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/generators/terrain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `splines::interpolate::Interpolator` [INFO] [stdout] --> server/world/generators/terrain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use splines::interpolate::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/physics/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BroadPhase` and `PhysicsHooks` [INFO] [stdout] --> server/world/physics/mod.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | vector, ActiveEvents, BroadPhase, CCDSolver, ChannelEventCollector, ColliderBuilder, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | ColliderHandle, ColliderSet, CollisionEvent, ImpulseJointSet, IntegrationParameters, [INFO] [stdout] 10 | IslandManager, MultibodyJointSet, NarrowPhase, PhysicsHooks, PhysicsPipeline, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockRotation` [INFO] [stdout] --> server/world/physics/mod.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{approx_equals, BlockRotation, Vec3, VoxelAccess}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> server/world/profiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/registry.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> server/world/stats.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/broadcast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncodedMessage`, `MessageType`, `WorldConfig`, and `server::encode_message` [INFO] [stdout] --> server/world/systems/broadcast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | server::encode_message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | world::{metadata::WorldMetadata, profiler::Profiler, Clients, MessageQueue}, [INFO] [stdout] 8 | EncodedMessage, EncodedMessageQueue, MessageType, Transports, WorldConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cmp::Ordering, collections::VecDeque}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use rayon::iter::{IntoParallelIterator, IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PositionComp` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | Chunks, Clients, Mesher, MessageType, Pipeline, PositionComp, Registry, Stats, Vec2, Vec3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Join` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::{Join, ReadExpect, ReadStorage, System, WriteExpect}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/chunk/updating.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CollisionsComp` [INFO] [stdout] --> server/world/systems/chunk/updating.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | BlockUtils, ChunkUtils, Chunks, ClientFilter, CollisionsComp, CurrentChunkComp, ETypeComp, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> server/world/systems/entity/sending.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stats` [INFO] [stdout] --> server/world/systems/entity/sending.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | Physics, Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> server/world/systems/events.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stats` [INFO] [stdout] --> server/world/systems/peers/sending.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | NameComp, PeerProtocol, Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/systems/physics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> server/world/systems/physics.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | ClientFilter, ClientFlag, CollisionsComp, Event, EventBuilder, Events, IDComp, InteractorComp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RigidBodyComp` [INFO] [stdout] --> server/world/systems/path/entity_tree.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ClientFlag, EntityFlag, KdTree, PositionComp, RigidBodyComp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> server/world/utils/chunk.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | if (cfg!(target_os = "windows")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - if (cfg!(target_os = "windows")) { [INFO] [stdout] 4 + if cfg!(target_os = "windows") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> server/world/voxels/block.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | BlockUtils, LightColor, LightUtils, Registry, Vec2, Vec3, VoxelAccess, VoxelUpdate, AABB, UV, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/world/voxels/chunks.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/world/mod.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncContext` and `Context` [INFO] [stdout] --> server/world/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Actor, AsyncContext, Context, Handler, Message as ActixMessage, MessageResult, Recipient, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::E` [INFO] [stdout] --> server/world/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> server/world/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | use std::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> server/world/mod.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | use std::{env, sync::Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> server/world/mod.rs:1660:16 [INFO] [stdout] | [INFO] [stdout] 1660 | if (!etype.0.starts_with("block::") && metadata.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1660 - if (!etype.0.starts_with("block::") && metadata.is_empty()) { [INFO] [stdout] 1660 + if !etype.0.starts_with("block::") && metadata.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> server/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/mod.rs:632:18 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn start(mut self) -> Addr { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etype` [INFO] [stdout] --> server/world/mod.rs:1054:52 [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_etype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/world/mod.rs:1382:17 [INFO] [stdout] | [INFO] [stdout] 1382 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/world/mod.rs:1425:17 [INFO] [stdout] | [INFO] [stdout] 1425 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> server/world/voxels/chunks.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | base64::encode(&encoded) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tick` is never used [INFO] [stdout] --> server/server/mod.rs:436:19 [INFO] [stdout] | [INFO] [stdout] 204 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 436 | pub(crate) fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `server_addr` are never read [INFO] [stdout] --> server/world/mod.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 163 | addr: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 164 | [INFO] [stdout] 165 | server_addr: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OnEventRequest` is never constructed [INFO] [stdout] --> server/world/mod.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | struct OnEventRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> server/world/generators/lights.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const RED: LightColor = LightColor::Red; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> server/world/generators/lights.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const GREEN: LightColor = LightColor::Green; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> server/world/generators/lights.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const BLUE: LightColor = LightColor::Blue; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUNLIGHT` is never used [INFO] [stdout] --> server/world/generators/lights.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const SUNLIGHT: LightColor = LightColor::Sunlight; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> server/world/generators/pipeline.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Pipeline { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | pool: ThreadPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `noise` is never read [INFO] [stdout] --> server/world/generators/terrain.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Terrain { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | config: WorldConfig, [INFO] [stdout] 32 | noise: SeededNoise, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terrain` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `place_trunk_by_angles` is never used [INFO] [stdout] --> server/world/generators/trees.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Trees { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn place_trunk_by_angles( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:665:39 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn read_resource(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 665 | pub fn read_resource(&self) -> Fetch<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:670:40 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn write_resource(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 670 | pub fn write_resource(&mut self) -> FetchMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:675:41 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn read_component(&self) -> ReadStorage { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 675 | pub fn read_component(&self) -> ReadStorage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:680:42 [INFO] [stdout] | [INFO] [stdout] 680 | pub fn write_component(&mut self) -> WriteStorage { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 680 | pub fn write_component(&mut self) -> WriteStorage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:944:19 [INFO] [stdout] | [INFO] [stdout] 944 | pub fn config(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 944 | pub fn config(&self) -> Fetch<'_, WorldConfig> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:949:20 [INFO] [stdout] | [INFO] [stdout] 949 | pub fn clients(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 949 | pub fn clients(&self) -> Fetch<'_, Clients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:954:24 [INFO] [stdout] | [INFO] [stdout] 954 | pub fn clients_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 954 | pub fn clients_mut(&mut self) -> FetchMut<'_, Clients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:959:23 [INFO] [stdout] | [INFO] [stdout] 959 | pub fn entity_ids(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 959 | pub fn entity_ids(&self) -> Fetch<'_, EntityIDs> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:964:27 [INFO] [stdout] | [INFO] [stdout] 964 | pub fn entity_ids_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 964 | pub fn entity_ids_mut(&mut self) -> FetchMut<'_, EntityIDs> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:969:21 [INFO] [stdout] | [INFO] [stdout] 969 | pub fn registry(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 969 | pub fn registry(&self) -> Fetch<'_, Registry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:974:19 [INFO] [stdout] | [INFO] [stdout] 974 | pub fn chunks(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 974 | pub fn chunks(&self) -> Fetch<'_, Chunks> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:979:23 [INFO] [stdout] | [INFO] [stdout] 979 | pub fn chunks_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 979 | pub fn chunks_mut(&mut self) -> FetchMut<'_, Chunks> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:984:20 [INFO] [stdout] | [INFO] [stdout] 984 | pub fn physics(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 984 | pub fn physics(&self) -> Fetch<'_, Physics> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:989:24 [INFO] [stdout] | [INFO] [stdout] 989 | pub fn physics_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 989 | pub fn physics_mut(&mut self) -> FetchMut<'_, Physics> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:994:27 [INFO] [stdout] | [INFO] [stdout] 994 | pub fn chunk_interest(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 994 | pub fn chunk_interest(&self) -> Fetch<'_, ChunkInterests> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:999:31 [INFO] [stdout] | [INFO] [stdout] 999 | pub fn chunk_interest_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 999 | pub fn chunk_interest_mut(&mut self) -> FetchMut<'_, ChunkInterests> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1004:19 [INFO] [stdout] | [INFO] [stdout] 1004 | pub fn events(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1004 | pub fn events(&self) -> Fetch<'_, Events> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1009:23 [INFO] [stdout] | [INFO] [stdout] 1009 | pub fn events_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1009 | pub fn events_mut(&mut self) -> FetchMut<'_, Events> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1014:19 [INFO] [stdout] | [INFO] [stdout] 1014 | pub fn search(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1014 | pub fn search(&self) -> Fetch<'_, Search> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1019:23 [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn search_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn search_mut(&mut self) -> FetchMut<'_, Search> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1024:18 [INFO] [stdout] | [INFO] [stdout] 1024 | pub fn stats(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1024 | pub fn stats(&self) -> Fetch<'_, Stats> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1029:22 [INFO] [stdout] | [INFO] [stdout] 1029 | pub fn stats_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1029 | pub fn stats_mut(&mut self) -> FetchMut<'_, Stats> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1034:21 [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn pipeline(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn pipeline(&self) -> Fetch<'_, Pipeline> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1039:25 [INFO] [stdout] | [INFO] [stdout] 1039 | pub fn pipeline_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1039 | pub fn pipeline_mut(&mut self) -> FetchMut<'_, Pipeline> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1044:19 [INFO] [stdout] | [INFO] [stdout] 1044 | pub fn mesher(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1044 | pub fn mesher(&self) -> Fetch<'_, Mesher> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1049:23 [INFO] [stdout] | [INFO] [stdout] 1049 | pub fn mesher_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1049 | pub fn mesher_mut(&mut self) -> FetchMut<'_, Mesher> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1054:31 [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1063:26 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn create_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn create_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1071:32 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn create_block_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn create_block_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `server::models::protocols::message::Type::from_i32`: Use the TryFrom implementation instead [INFO] [stdout] --> server/world/mod.rs:904:37 [INFO] [stdout] | [INFO] [stdout] 904 | let msg_type = MessageType::from_i32(data.r#type).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/broadcast.rs:24:81 [INFO] [stdout] | [INFO] [stdout] 24 | let (transports, clients, world_metadata, mut queue, mut encoded_queue, mut profiler) = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profiler` [INFO] [stdout] --> server/world/systems/broadcast.rs:24:81 [INFO] [stdout] | [INFO] [stdout] 24 | let (transports, clients, world_metadata, mut queue, mut encoded_queue, mut profiler) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/chunk/generating.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | mut profiler, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | stats, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profiler` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | mut profiler, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 319 | for (i, n_coords) in chunks [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:338:26 [INFO] [stdout] | [INFO] [stdout] 338 | for (j, (voxel, val)) in blocks.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> server/world/systems/chunk/generating.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let len = ready_chunks.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:30:56 [INFO] [stdout] | [INFO] [stdout] 30 | let (config, interests, mut chunks, mut queue, ids, requests) = data; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requests` [INFO] [stdout] --> server/world/systems/chunk/sending.rs:30:61 [INFO] [stdout] | [INFO] [stdout] 30 | let (config, interests, mut chunks, mut queue, ids, requests) = data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/chunk/updating.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | mut lazy, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/chunk/updating.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | mut entities, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requests` [INFO] [stdout] --> server/world/systems/events.rs:23:63 [INFO] [stdout] | [INFO] [stdout] 23 | let (transports, clients, interests, mut events, ids, requests) = data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clients` [INFO] [stdout] --> server/world/systems/peers/sending.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | let (clients, mut queue, flag, ids, names, mut metadatas) = data; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> server/world/systems/physics.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> server/world/systems/physics.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 95 | CollisionEvent::Started(ch1, ch2, _) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 102 | CollisionEvent::Stopped(ch1, ch2, _) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 109 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/systems/path/finding.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | let mut simplified = rdp_simplify(path, EPSILON); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rot` [INFO] [stdout] --> server/world/voxels/block.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | BlockRotation::PY(rot) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/world/mod.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/world/mod.rs:632:18 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn start(mut self) -> Addr { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etype` [INFO] [stdout] --> server/world/mod.rs:1054:52 [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_etype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/world/mod.rs:1382:17 [INFO] [stdout] | [INFO] [stdout] 1382 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/world/mod.rs:1425:17 [INFO] [stdout] | [INFO] [stdout] 1425 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tick` is never used [INFO] [stdout] --> server/server/mod.rs:436:19 [INFO] [stdout] | [INFO] [stdout] 204 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 436 | pub(crate) fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `server_addr` are never read [INFO] [stdout] --> server/world/mod.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 163 | addr: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 164 | [INFO] [stdout] 165 | server_addr: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OnEventRequest` is never constructed [INFO] [stdout] --> server/world/mod.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | struct OnEventRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> server/world/generators/lights.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const RED: LightColor = LightColor::Red; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> server/world/generators/lights.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const GREEN: LightColor = LightColor::Green; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> server/world/generators/lights.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const BLUE: LightColor = LightColor::Blue; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUNLIGHT` is never used [INFO] [stdout] --> server/world/generators/lights.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const SUNLIGHT: LightColor = LightColor::Sunlight; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> server/world/generators/pipeline.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Pipeline { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | pool: ThreadPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `noise` is never read [INFO] [stdout] --> server/world/generators/terrain.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Terrain { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | config: WorldConfig, [INFO] [stdout] 32 | noise: SeededNoise, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terrain` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `place_trunk_by_angles` is never used [INFO] [stdout] --> server/world/generators/trees.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Trees { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn place_trunk_by_angles( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:665:39 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn read_resource(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 665 | pub fn read_resource(&self) -> Fetch<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:670:40 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn write_resource(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 670 | pub fn write_resource(&mut self) -> FetchMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:675:41 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn read_component(&self) -> ReadStorage { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 675 | pub fn read_component(&self) -> ReadStorage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:680:42 [INFO] [stdout] | [INFO] [stdout] 680 | pub fn write_component(&mut self) -> WriteStorage { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 680 | pub fn write_component(&mut self) -> WriteStorage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:944:19 [INFO] [stdout] | [INFO] [stdout] 944 | pub fn config(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 944 | pub fn config(&self) -> Fetch<'_, WorldConfig> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:949:20 [INFO] [stdout] | [INFO] [stdout] 949 | pub fn clients(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 949 | pub fn clients(&self) -> Fetch<'_, Clients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:954:24 [INFO] [stdout] | [INFO] [stdout] 954 | pub fn clients_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 954 | pub fn clients_mut(&mut self) -> FetchMut<'_, Clients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:959:23 [INFO] [stdout] | [INFO] [stdout] 959 | pub fn entity_ids(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 959 | pub fn entity_ids(&self) -> Fetch<'_, EntityIDs> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:964:27 [INFO] [stdout] | [INFO] [stdout] 964 | pub fn entity_ids_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 964 | pub fn entity_ids_mut(&mut self) -> FetchMut<'_, EntityIDs> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:969:21 [INFO] [stdout] | [INFO] [stdout] 969 | pub fn registry(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 969 | pub fn registry(&self) -> Fetch<'_, Registry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:974:19 [INFO] [stdout] | [INFO] [stdout] 974 | pub fn chunks(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 974 | pub fn chunks(&self) -> Fetch<'_, Chunks> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:979:23 [INFO] [stdout] | [INFO] [stdout] 979 | pub fn chunks_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 979 | pub fn chunks_mut(&mut self) -> FetchMut<'_, Chunks> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:984:20 [INFO] [stdout] | [INFO] [stdout] 984 | pub fn physics(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 984 | pub fn physics(&self) -> Fetch<'_, Physics> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:989:24 [INFO] [stdout] | [INFO] [stdout] 989 | pub fn physics_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 989 | pub fn physics_mut(&mut self) -> FetchMut<'_, Physics> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:994:27 [INFO] [stdout] | [INFO] [stdout] 994 | pub fn chunk_interest(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 994 | pub fn chunk_interest(&self) -> Fetch<'_, ChunkInterests> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:999:31 [INFO] [stdout] | [INFO] [stdout] 999 | pub fn chunk_interest_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 999 | pub fn chunk_interest_mut(&mut self) -> FetchMut<'_, ChunkInterests> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1004:19 [INFO] [stdout] | [INFO] [stdout] 1004 | pub fn events(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1004 | pub fn events(&self) -> Fetch<'_, Events> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1009:23 [INFO] [stdout] | [INFO] [stdout] 1009 | pub fn events_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1009 | pub fn events_mut(&mut self) -> FetchMut<'_, Events> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1014:19 [INFO] [stdout] | [INFO] [stdout] 1014 | pub fn search(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1014 | pub fn search(&self) -> Fetch<'_, Search> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1019:23 [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn search_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn search_mut(&mut self) -> FetchMut<'_, Search> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1024:18 [INFO] [stdout] | [INFO] [stdout] 1024 | pub fn stats(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1024 | pub fn stats(&self) -> Fetch<'_, Stats> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1029:22 [INFO] [stdout] | [INFO] [stdout] 1029 | pub fn stats_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1029 | pub fn stats_mut(&mut self) -> FetchMut<'_, Stats> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1034:21 [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn pipeline(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn pipeline(&self) -> Fetch<'_, Pipeline> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1039:25 [INFO] [stdout] | [INFO] [stdout] 1039 | pub fn pipeline_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1039 | pub fn pipeline_mut(&mut self) -> FetchMut<'_, Pipeline> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1044:19 [INFO] [stdout] | [INFO] [stdout] 1044 | pub fn mesher(&self) -> Fetch { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1044 | pub fn mesher(&self) -> Fetch<'_, Mesher> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1049:23 [INFO] [stdout] | [INFO] [stdout] 1049 | pub fn mesher_mut(&mut self) -> FetchMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1049 | pub fn mesher_mut(&mut self) -> FetchMut<'_, Mesher> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1054:31 [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1063:26 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn create_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn create_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> server/world/mod.rs:1071:32 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn create_block_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn create_block_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 31.29s [INFO] running `Command { std: "docker" "inspect" "71f801dafdaae7f0d654c8d3c5980b6a3e001edaac7572605caf2fdb9267be73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f801dafdaae7f0d654c8d3c5980b6a3e001edaac7572605caf2fdb9267be73", kill_on_drop: false }` [INFO] [stdout] 71f801dafdaae7f0d654c8d3c5980b6a3e001edaac7572605caf2fdb9267be73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11cb735af629c1638a9f594737c293c140e835bb9227c2e6bdb94b202c3a231c [INFO] running `Command { std: "docker" "start" "-a" "11cb735af629c1638a9f594737c293c140e835bb9227c2e6bdb94b202c3a231c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `rayon::ThreadPool` [INFO] [stderr] --> server/server/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use rayon::ThreadPool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ChunkStatus`, `GetConfig`, `Mesher`, `MessageQueue`, `Stats`, and `WorldConfig` [INFO] [stderr] --> server/server/mod.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | world::{Registry, World, WorldConfig}, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 22 | ChunkStatus, ClientJoinRequest, ClientLeaveRequest, ClientRequest, GetConfig, GetInfo, Mesher, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stderr] 23 | MessageQueue, Preload, Prepare, Stats, SyncWorld, Tick, TransportJoinRequest, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> server/world/components/metadata.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Instant` [INFO] [stderr] --> server/world/components/path.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> server/world/entities/saver.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use log::{info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Value` [INFO] [stderr] --> server/world/entities/saver.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json::{json, Value}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ETypeComp` and `IDComp` [INFO] [stderr] --> server/world/entities/saver.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::{ETypeComp, IDComp, MetadataComp, PositionComp, RigidBodyComp, WorldConfig}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Fbm` [INFO] [stderr] --> server/world/generators/noise.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use noise::{Fbm, HybridMulti, MultiFractal, NoiseFn, Perlin, RidgedMulti, Seedable}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `splines::interpolate::Interpolator` [INFO] [stderr] --> server/world/generators/noise.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use splines::interpolate::Interpolator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TryRecvError` [INFO] [stderr] --> server/world/generators/pipeline.rs:3:54 [INFO] [stderr] | [INFO] [stderr] 3 | use crossbeam_channel::{unbounded, Receiver, Sender, TryRecvError}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> server/world/generators/terrain.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `splines::interpolate::Interpolator` [INFO] [stderr] --> server/world/generators/terrain.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use splines::interpolate::Interpolator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> server/world/physics/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BroadPhase` and `PhysicsHooks` [INFO] [stderr] --> server/world/physics/mod.rs:8:31 [INFO] [stderr] | [INFO] [stderr] 8 | vector, ActiveEvents, BroadPhase, CCDSolver, ChannelEventCollector, ColliderBuilder, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 9 | ColliderHandle, ColliderSet, CollisionEvent, ImpulseJointSet, IntegrationParameters, [INFO] [stderr] 10 | IslandManager, MultibodyJointSet, NarrowPhase, PhysicsHooks, PhysicsPipeline, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BlockRotation` [INFO] [stderr] --> server/world/physics/mod.rs:17:28 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::{approx_equals, BlockRotation, Vec3, VoxelAccess}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::VecDeque` [INFO] [stderr] --> server/world/profiler.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::VecDeque; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> server/world/registry.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> server/world/stats.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | use log::{info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> server/world/systems/broadcast.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EncodedMessage`, `MessageType`, `WorldConfig`, and `server::encode_message` [INFO] [stderr] --> server/world/systems/broadcast.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | server::encode_message, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | world::{metadata::WorldMetadata, profiler::Profiler, Clients, MessageQueue}, [INFO] [stderr] 8 | EncodedMessage, EncodedMessageQueue, MessageType, Transports, WorldConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cmp::Ordering` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{cmp::Ordering, collections::VecDeque}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use hashbrown::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `IntoParallelRefIterator` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:7:41 [INFO] [stderr] | [INFO] [stderr] 7 | use rayon::iter::{IntoParallelIterator, IntoParallelRefIterator, ParallelIterator}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PositionComp` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:13:53 [INFO] [stderr] | [INFO] [stderr] 13 | Chunks, Clients, Mesher, MessageType, Pipeline, PositionComp, Registry, Stats, Vec2, Vec3, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> server/world/systems/chunk/sending.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Join` [INFO] [stderr] --> server/world/systems/chunk/sending.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use specs::{Join, ReadExpect, ReadStorage, System, WriteExpect}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> server/world/systems/chunk/updating.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `CollisionsComp` [INFO] [stderr] --> server/world/systems/chunk/updating.rs:9:51 [INFO] [stderr] | [INFO] [stderr] 9 | BlockUtils, ChunkUtils, Chunks, ClientFilter, CollisionsComp, CurrentChunkComp, ETypeComp, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `info` and `trace` [INFO] [stderr] --> server/world/systems/entity/sending.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use log::{info, trace}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stats` [INFO] [stderr] --> server/world/systems/entity/sending.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | Physics, Stats, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> server/world/systems/events.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stats` [INFO] [stderr] --> server/world/systems/peers/sending.rs:5:29 [INFO] [stderr] | [INFO] [stderr] 5 | NameComp, PeerProtocol, Stats, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> server/world/systems/physics.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Event` [INFO] [stderr] --> server/world/systems/physics.rs:17:47 [INFO] [stderr] | [INFO] [stderr] 17 | ClientFilter, ClientFlag, CollisionsComp, Event, EventBuilder, Events, IDComp, InteractorComp, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RigidBodyComp` [INFO] [stderr] --> server/world/systems/path/entity_tree.rs:1:59 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{ClientFlag, EntityFlag, KdTree, PositionComp, RigidBodyComp}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> server/world/utils/chunk.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | if (cfg!(target_os = "windows")) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 4 - if (cfg!(target_os = "windows")) { [INFO] [stderr] 4 + if cfg!(target_os = "windows") { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Vec2` [INFO] [stderr] --> server/world/voxels/block.rs:12:51 [INFO] [stderr] | [INFO] [stderr] 12 | BlockUtils, LightColor, LightUtils, Registry, Vec2, Vec3, VoxelAccess, VoxelUpdate, AABB, UV, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> server/world/voxels/chunks.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AsyncContext` and `Context` [INFO] [stderr] --> server/world/mod.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | Actor, AsyncContext, Context, Handler, Message as ActixMessage, MessageResult, Recipient, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::f64::consts::E` [INFO] [stderr] --> server/world/mod.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | use std::f64::consts::E; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mutex` [INFO] [stderr] --> server/world/mod.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | use std::sync::{Mutex, RwLock}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `env` [INFO] [stderr] --> server/world/mod.rs:42:11 [INFO] [stderr] | [INFO] [stderr] 42 | use std::{env, sync::Arc}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> server/world/mod.rs:1660:16 [INFO] [stderr] | [INFO] [stderr] 1660 | if (!etype.0.starts_with("block::") && metadata.is_empty()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1660 - if (!etype.0.starts_with("block::") && metadata.is_empty()) { [INFO] [stderr] 1660 + if !etype.0.starts_with("block::") && metadata.is_empty() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `types::*` [INFO] [stderr] --> server/lib.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub use types::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> server/world/voxels/chunks.rs:172:21 [INFO] [stderr] | [INFO] [stderr] 172 | base64::encode(&encoded) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `server::models::protocols::message::Type::from_i32`: Use the TryFrom implementation instead [INFO] [stderr] --> server/world/mod.rs:904:37 [INFO] [stderr] | [INFO] [stderr] 904 | let msg_type = MessageType::from_i32(data.r#type).unwrap(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> server/world/systems/broadcast.rs:24:81 [INFO] [stderr] | [INFO] [stderr] 24 | let (transports, clients, world_metadata, mut queue, mut encoded_queue, mut profiler) = [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `profiler` [INFO] [stderr] --> server/world/systems/broadcast.rs:24:81 [INFO] [stderr] | [INFO] [stderr] 24 | let (transports, clients, world_metadata, mut queue, mut encoded_queue, mut profiler) = [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> server/world/systems/chunk/generating.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | mut profiler, [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stats` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | stats, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `profiler` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | mut profiler, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:319:18 [INFO] [stderr] | [INFO] [stderr] 319 | for (i, n_coords) in chunks [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `j` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:338:26 [INFO] [stderr] | [INFO] [stderr] 338 | for (j, (voxel, val)) in blocks.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> server/world/systems/chunk/generating.rs:378:17 [INFO] [stderr] | [INFO] [stderr] 378 | let len = ready_chunks.len(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ids` [INFO] [stderr] --> server/world/systems/chunk/sending.rs:30:56 [INFO] [stderr] | [INFO] [stderr] 30 | let (config, interests, mut chunks, mut queue, ids, requests) = data; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `requests` [INFO] [stderr] --> server/world/systems/chunk/sending.rs:30:61 [INFO] [stderr] | [INFO] [stderr] 30 | let (config, interests, mut chunks, mut queue, ids, requests) = data; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requests` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> server/world/systems/chunk/updating.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | mut lazy, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> server/world/systems/chunk/updating.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | mut entities, [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `requests` [INFO] [stderr] --> server/world/systems/events.rs:23:63 [INFO] [stderr] | [INFO] [stderr] 23 | let (transports, clients, interests, mut events, ids, requests) = data; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requests` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `clients` [INFO] [stderr] --> server/world/systems/peers/sending.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | let (clients, mut queue, flag, ids, names, mut metadatas) = data; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clients` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> server/world/systems/physics.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | _ => {} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> server/world/systems/physics.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 95 | CollisionEvent::Started(ch1, ch2, _) => { [INFO] [stderr] | ------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 102 | CollisionEvent::Stopped(ch1, ch2, _) => { [INFO] [stderr] | ------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 109 | _ => {} [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> server/world/systems/path/finding.rs:411:9 [INFO] [stderr] | [INFO] [stderr] 411 | let mut simplified = rdp_simplify(path, EPSILON); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rot` [INFO] [stderr] --> server/world/voxels/block.rs:123:31 [INFO] [stderr] | [INFO] [stderr] 123 | BlockRotation::PY(rot) => {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rot` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> server/world/mod.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> server/world/mod.rs:632:18 [INFO] [stderr] | [INFO] [stderr] 632 | pub fn start(mut self) -> Addr { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `etype` [INFO] [stderr] --> server/world/mod.rs:1054:52 [INFO] [stderr] | [INFO] [stderr] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_etype` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> server/world/mod.rs:1382:17 [INFO] [stderr] | [INFO] [stderr] 1382 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> server/world/mod.rs:1425:17 [INFO] [stderr] | [INFO] [stderr] 1425 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: method `tick` is never used [INFO] [stderr] --> server/server/mod.rs:436:19 [INFO] [stderr] | [INFO] [stderr] 204 | impl Server { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 436 | pub(crate) fn tick(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `addr` and `server_addr` are never read [INFO] [stderr] --> server/world/mod.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 119 | pub struct World { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 163 | addr: Option>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 164 | [INFO] [stderr] 165 | server_addr: Option>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OnEventRequest` is never constructed [INFO] [stderr] --> server/world/mod.rs:389:8 [INFO] [stderr] | [INFO] [stderr] 389 | struct OnEventRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `RED` is never used [INFO] [stderr] --> server/world/generators/lights.rs:23:7 [INFO] [stderr] | [INFO] [stderr] 23 | const RED: LightColor = LightColor::Red; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GREEN` is never used [INFO] [stderr] --> server/world/generators/lights.rs:24:7 [INFO] [stderr] | [INFO] [stderr] 24 | const GREEN: LightColor = LightColor::Green; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BLUE` is never used [INFO] [stderr] --> server/world/generators/lights.rs:25:7 [INFO] [stderr] | [INFO] [stderr] 25 | const BLUE: LightColor = LightColor::Blue; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SUNLIGHT` is never used [INFO] [stderr] --> server/world/generators/lights.rs:26:7 [INFO] [stderr] | [INFO] [stderr] 26 | const SUNLIGHT: LightColor = LightColor::Sunlight; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> server/world/generators/pipeline.rs:228:5 [INFO] [stderr] | [INFO] [stderr] 208 | pub struct Pipeline { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 228 | pool: ThreadPool, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `noise` is never read [INFO] [stderr] --> server/world/generators/terrain.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct Terrain { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 31 | config: WorldConfig, [INFO] [stderr] 32 | noise: SeededNoise, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Terrain` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `place_trunk_by_angles` is never used [INFO] [stderr] --> server/world/generators/trees.rs:163:8 [INFO] [stderr] | [INFO] [stderr] 36 | impl Trees { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 163 | fn place_trunk_by_angles( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:665:39 [INFO] [stderr] | [INFO] [stderr] 665 | pub fn read_resource(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 665 | pub fn read_resource(&self) -> Fetch<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:670:40 [INFO] [stderr] | [INFO] [stderr] 670 | pub fn write_resource(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 670 | pub fn write_resource(&mut self) -> FetchMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:675:41 [INFO] [stderr] | [INFO] [stderr] 675 | pub fn read_component(&self) -> ReadStorage { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 675 | pub fn read_component(&self) -> ReadStorage<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:680:42 [INFO] [stderr] | [INFO] [stderr] 680 | pub fn write_component(&mut self) -> WriteStorage { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 680 | pub fn write_component(&mut self) -> WriteStorage<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:944:19 [INFO] [stderr] | [INFO] [stderr] 944 | pub fn config(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 944 | pub fn config(&self) -> Fetch<'_, WorldConfig> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:949:20 [INFO] [stderr] | [INFO] [stderr] 949 | pub fn clients(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 949 | pub fn clients(&self) -> Fetch<'_, Clients> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:954:24 [INFO] [stderr] | [INFO] [stderr] 954 | pub fn clients_mut(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 954 | pub fn clients_mut(&mut self) -> FetchMut<'_, Clients> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:959:23 [INFO] [stderr] | [INFO] [stderr] 959 | pub fn entity_ids(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 959 | pub fn entity_ids(&self) -> Fetch<'_, EntityIDs> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:964:27 [INFO] [stderr] | [INFO] [stderr] 964 | pub fn entity_ids_mut(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 964 | pub fn entity_ids_mut(&mut self) -> FetchMut<'_, EntityIDs> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:969:21 [INFO] [stderr] | [INFO] [stderr] 969 | pub fn registry(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 969 | pub fn registry(&self) -> Fetch<'_, Registry> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:974:19 [INFO] [stderr] | [INFO] [stderr] 974 | pub fn chunks(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 974 | pub fn chunks(&self) -> Fetch<'_, Chunks> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:979:23 [INFO] [stderr] | [INFO] [stderr] 979 | pub fn chunks_mut(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 979 | pub fn chunks_mut(&mut self) -> FetchMut<'_, Chunks> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:984:20 [INFO] [stderr] | [INFO] [stderr] 984 | pub fn physics(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 984 | pub fn physics(&self) -> Fetch<'_, Physics> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:989:24 [INFO] [stderr] | [INFO] [stderr] 989 | pub fn physics_mut(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 989 | pub fn physics_mut(&mut self) -> FetchMut<'_, Physics> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:994:27 [INFO] [stderr] | [INFO] [stderr] 994 | pub fn chunk_interest(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 994 | pub fn chunk_interest(&self) -> Fetch<'_, ChunkInterests> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:999:31 [INFO] [stderr] | [INFO] [stderr] 999 | pub fn chunk_interest_mut(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 999 | pub fn chunk_interest_mut(&mut self) -> FetchMut<'_, ChunkInterests> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1004:19 [INFO] [stderr] | [INFO] [stderr] 1004 | pub fn events(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1004 | pub fn events(&self) -> Fetch<'_, Events> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1009:23 [INFO] [stderr] | [INFO] [stderr] 1009 | pub fn events_mut(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1009 | pub fn events_mut(&mut self) -> FetchMut<'_, Events> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1014:19 [INFO] [stderr] | [INFO] [stderr] 1014 | pub fn search(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1014 | pub fn search(&self) -> Fetch<'_, Search> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1019:23 [INFO] [stderr] | [INFO] [stderr] 1019 | pub fn search_mut(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1019 | pub fn search_mut(&mut self) -> FetchMut<'_, Search> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1024:18 [INFO] [stderr] | [INFO] [stderr] 1024 | pub fn stats(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1024 | pub fn stats(&self) -> Fetch<'_, Stats> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1029:22 [INFO] [stderr] | [INFO] [stderr] 1029 | pub fn stats_mut(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1029 | pub fn stats_mut(&mut self) -> FetchMut<'_, Stats> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1034:21 [INFO] [stderr] | [INFO] [stderr] 1034 | pub fn pipeline(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1034 | pub fn pipeline(&self) -> Fetch<'_, Pipeline> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1039:25 [INFO] [stderr] | [INFO] [stderr] 1039 | pub fn pipeline_mut(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1039 | pub fn pipeline_mut(&mut self) -> FetchMut<'_, Pipeline> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1044:19 [INFO] [stderr] | [INFO] [stderr] 1044 | pub fn mesher(&self) -> Fetch { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1044 | pub fn mesher(&self) -> Fetch<'_, Mesher> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1049:23 [INFO] [stderr] | [INFO] [stderr] 1049 | pub fn mesher_mut(&mut self) -> FetchMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1049 | pub fn mesher_mut(&mut self) -> FetchMut<'_, Mesher> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1054:31 [INFO] [stderr] | [INFO] [stderr] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1054 | pub fn create_base_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1063:26 [INFO] [stderr] | [INFO] [stderr] 1063 | pub fn create_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1063 | pub fn create_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> server/world/mod.rs:1071:32 [INFO] [stderr] | [INFO] [stderr] 1071 | pub fn create_block_entity(&mut self, id: &str, etype: &str) -> EntityBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1071 | pub fn create_block_entity(&mut self, id: &str, etype: &str) -> EntityBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `voxelize` (lib) generated 109 warnings (run `cargo fix --lib -p voxelize` to apply 96 suggestions) [INFO] [stderr] warning: `voxelize` (lib test) generated 109 warnings (109 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] Running unittests server/lib.rs (/opt/rustwide/target/debug/deps/voxelize-699c877a7e924300) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests voxelize [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> server/world/utils/chunk.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | if (cfg!(target_os = "windows")) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 4 - if (cfg!(target_os = "windows")) { [INFO] [stderr] 4 + if cfg!(target_os = "windows") { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> server/world/mod.rs:1660:16 [INFO] [stderr] | [INFO] [stderr] 1660 | if (!etype.0.starts_with("block::") && metadata.is_empty()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1660 - if (!etype.0.starts_with("block::") && metadata.is_empty()) { [INFO] [stderr] 1660 + if !etype.0.starts_with("block::") && metadata.is_empty() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "11cb735af629c1638a9f594737c293c140e835bb9227c2e6bdb94b202c3a231c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11cb735af629c1638a9f594737c293c140e835bb9227c2e6bdb94b202c3a231c", kill_on_drop: false }` [INFO] [stdout] 11cb735af629c1638a9f594737c293c140e835bb9227c2e6bdb94b202c3a231c