[INFO] fetching crate legion-core 0.2.4... [INFO] checking legion-core-0.2.4 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate legion-core 0.2.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate legion-core 0.2.4 [INFO] finished tweaking crates.io crate legion-core 0.2.4 [INFO] tweaked toml for crates.io crate legion-core 0.2.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate legion-core 0.2.4 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding crossbeam-channel v0.4.4 (available: v0.5.15) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (available: v0.3.12) [INFO] [stderr] Adding downcast-rs v1.2.1 (available: v2.0.2) [INFO] [stderr] Adding erased-serde v0.3.31 (available: v0.4.6) [INFO] [stderr] Adding itertools v0.8.2 (available: v0.14.0) [INFO] [stderr] Adding metrics v0.12.1 (available: v0.24.2) [INFO] [stderr] Adding parking_lot v0.10.2 (available: v0.12.4) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding tracing-subscriber v0.2.25 (available: v0.3.20) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc47d06bd8a132f45b9d6290eaeb5cc6916757b54a77fe380a8ba4f7c51a67dd [INFO] running `Command { std: "docker" "start" "-a" "cc47d06bd8a132f45b9d6290eaeb5cc6916757b54a77fe380a8ba4f7c51a67dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc47d06bd8a132f45b9d6290eaeb5cc6916757b54a77fe380a8ba4f7c51a67dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc47d06bd8a132f45b9d6290eaeb5cc6916757b54a77fe380a8ba4f7c51a67dd", kill_on_drop: false }` [INFO] [stdout] cc47d06bd8a132f45b9d6290eaeb5cc6916757b54a77fe380a8ba4f7c51a67dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 476c594afd00517696241df00790d4f9ec470576d8d48d8d5e47a7b9b0a42a67 [INFO] running `Command { std: "docker" "start" "-a" "476c594afd00517696241df00790d4f9ec470576d8d48d8d5e47a7b9b0a42a67", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling type-uuid-derive v0.1.2 [INFO] [stderr] Checking type-uuid v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking legion-core v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicIsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/borrow.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | if self.borrow_state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicIsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/borrow.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | .compare_and_swap(0, -1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.219 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/borrow.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get(&self) -> Ref { self.try_get().unwrap() } [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] 55 | pub fn get(&self) -> Ref<'_, T> { self.try_get().unwrap() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/borrow.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn try_get(&self) -> Result, String> { [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] 68 | pub fn try_get(&self) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/borrow.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get_mut(&self) -> RefMut { self.try_get_mut().unwrap() } [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] 124 | pub fn get_mut(&self) -> RefMut<'_, T> { self.try_get_mut().unwrap() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/borrow.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn try_get_mut(&self) -> Result, String> { [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] 140 | pub fn try_get_mut(&self) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/command.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn start_entity(&mut self) -> 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] 421 | pub fn start_entity(&mut self) -> EntityBuilder<'_, (), ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entity.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn create_entities(&self) -> CreateEntityIter { [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] 279 | pub fn create_entities(&self) -> CreateEntityIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filter.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | fn matches(&mut self, source: T) -> FilterIter { [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] 109 | fn matches(&mut self, source: T) -> FilterIter<'_, Self, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn iter(&self) -> SliceVecIter { self.0.iter() } [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] 127 | pub fn iter(&self) -> SliceVecIter<'_, ComponentTypeId> { self.0.iter() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> SliceVecIter { self.0.iter() } [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] 138 | pub fn iter(&self) -> SliceVecIter<'_, TagTypeId> { self.0.iter() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn iter(&self) -> SliceVecIter { [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] 175 | pub fn iter(&self) -> SliceVecIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 283 | range: R, [INFO] [stdout] 284 | ) -> std::vec::Drain { [INFO] [stdout] | ------------------------------ the same lifetime is hidden 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] 284 | ) -> std::vec::Drain<'_, ArchetypeData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/storage.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 334 | drop_fn: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/storage.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 335 | eq_fn: fn(*const u8, *const u8) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/storage.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 336 | clone_fn: fn(*const u8, *mut u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/storage.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 376 | #[derive(Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 380 | drop_fn: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1233:10 [INFO] [stdout] | [INFO] [stdout] 1233 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 1234 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ------------ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1234 | ) -> impl Iterator> + 'a { [INFO] [stdout] | +++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1244:10 [INFO] [stdout] | [INFO] [stdout] 1244 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 1245 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ------------------- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1245 | ) -> impl Iterator> + 'a { [INFO] [stdout] | +++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1380:9 [INFO] [stdout] | [INFO] [stdout] 1380 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 1381 | range: R, [INFO] [stdout] 1382 | ) -> std::vec::Drain { [INFO] [stdout] | --------------------------------- the same lifetime is hidden 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] 1382 | ) -> std::vec::Drain<'_, ComponentStorage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1732:19 [INFO] [stdout] | [INFO] [stdout] 1732 | pub fn writer(&mut self) -> StorageWriter { [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] 1732 | pub fn writer(&mut self) -> StorageWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1896:28 [INFO] [stdout] | [INFO] [stdout] 1896 | pub unsafe fn data_raw(&self) -> (Ref<*mut u8>, usize, usize) { [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] 1896 | pub unsafe fn data_raw(&self) -> (Ref<'_, *mut u8>, usize, usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1913:32 [INFO] [stdout] | [INFO] [stdout] 1913 | pub unsafe fn data_raw_mut(&self) -> (RefMut<*mut u8>, usize, usize) { [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] 1913 | pub unsafe fn data_raw_mut(&self) -> (RefMut<'_, *mut u8>, usize, usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1929:33 [INFO] [stdout] | [INFO] [stdout] 1929 | pub unsafe fn data_slice(&self) -> RefMap<&[T]> { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [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] 1929 | pub unsafe fn data_slice(&self) -> RefMap<'_, &[T]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1947:37 [INFO] [stdout] | [INFO] [stdout] 1947 | pub unsafe fn data_slice_mut(&self) -> RefMapMut<&mut [T]> { [INFO] [stdout] | ^^^^^ ------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [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] 1947 | pub unsafe fn data_slice_mut(&self) -> RefMapMut<'_, &mut [T]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1953:19 [INFO] [stdout] | [INFO] [stdout] 1953 | pub fn writer(&mut self) -> ComponentWriter { ComponentWriter::new(self) } [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] 1953 | pub fn writer(&mut self) -> ComponentWriter<'_> { ComponentWriter::new(self) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subworld.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 216 | _: &'q Query, [INFO] [stdout] 217 | ) -> (SubWorld, SubWorld) { [INFO] [stdout] | -------- -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden 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] 217 | ) -> (SubWorld<'_>, SubWorld<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subworld.rs:298:36 [INFO] [stdout] | [INFO] [stdout] 298 | fn get_component(&self, entity: Entity) -> Option> { [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] 298 | fn get_component(&self, entity: Entity) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subworld.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 306 | entity: Entity, [INFO] [stdout] 307 | ) -> Option> { [INFO] [stdout] | --------- the same lifetime is hidden 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] 307 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subworld.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 320 | ) -> Result { [INFO] [stdout] | --------------- the same lifetime is hidden 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] 320 | ) -> Result, ComponentAccessError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_component(&self, entity: Entity) -> Option>; [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] 111 | fn get_component(&self, entity: Entity) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | unsafe fn get_component_mut_unchecked(&self, entity: Entity) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 127 | -> Option>; [INFO] [stdout] | --------- the same lifetime is hidden 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] 127 | -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | fn get_component_mut(&mut self, entity: Entity) -> Option> { [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] 138 | fn get_component_mut(&mut self, entity: Entity) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 155 | ) -> Result; [INFO] [stdout] | --------------- the same lifetime is hidden 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] 155 | ) -> Result, ComponentAccessError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/world.rs:1061:43 [INFO] [stdout] | [INFO] [stdout] 1061 | archetype_data: archetype_data.deref(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ArchetypeData` does not implement `Deref`, so calling `deref` on `&ArchetypeData` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 1061 - archetype_data: archetype_data.deref(), [INFO] [stdout] 1061 + archetype_data: archetype_data, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ArchetypeData`, implement `Clone` for it [INFO] [stdout] --> src/storage.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 620 + #[derive(Clone)] [INFO] [stdout] 621 | pub struct ArchetypeData { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:1092:39 [INFO] [stdout] | [INFO] [stdout] 1092 | pub fn split View<'v>>(&mut self) -> (SubWorld, SubWorld) { [INFO] [stdout] | ^^^^^^^^^ -------- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 1092 | pub fn split View<'v>>(&mut self) -> (SubWorld<'_>, SubWorld<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:1113:9 [INFO] [stdout] | [INFO] [stdout] 1113 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 1114 | _: &'q Query, [INFO] [stdout] 1115 | ) -> (SubWorld, SubWorld) { [INFO] [stdout] | -------- -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden 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] 1115 | ) -> (SubWorld<'_>, SubWorld<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:1139:36 [INFO] [stdout] | [INFO] [stdout] 1139 | fn get_component(&self, entity: Entity) -> Option> { [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] 1139 | fn get_component(&self, entity: Entity) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:1159:9 [INFO] [stdout] | [INFO] [stdout] 1159 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1160 | entity: Entity, [INFO] [stdout] 1161 | ) -> Option> { [INFO] [stdout] | --------- the same lifetime is hidden 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] 1161 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1196 | ) -> Result { [INFO] [stdout] | --------------- the same lifetime is hidden 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] 1196 | ) -> Result, ComponentAccessError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicIsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/borrow.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | if self.borrow_state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicIsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/borrow.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | .compare_and_swap(0, -1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/borrow.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get(&self) -> Ref { self.try_get().unwrap() } [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] 55 | pub fn get(&self) -> Ref<'_, T> { self.try_get().unwrap() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/borrow.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn try_get(&self) -> Result, String> { [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] 68 | pub fn try_get(&self) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/borrow.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get_mut(&self) -> RefMut { self.try_get_mut().unwrap() } [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] 124 | pub fn get_mut(&self) -> RefMut<'_, T> { self.try_get_mut().unwrap() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/borrow.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn try_get_mut(&self) -> Result, String> { [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] 140 | pub fn try_get_mut(&self) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/command.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn start_entity(&mut self) -> 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] 421 | pub fn start_entity(&mut self) -> EntityBuilder<'_, (), ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entity.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn create_entities(&self) -> CreateEntityIter { [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] 279 | pub fn create_entities(&self) -> CreateEntityIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filter.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | fn matches(&mut self, source: T) -> FilterIter { [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] 109 | fn matches(&mut self, source: T) -> FilterIter<'_, Self, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn iter(&self) -> SliceVecIter { self.0.iter() } [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] 127 | pub fn iter(&self) -> SliceVecIter<'_, ComponentTypeId> { self.0.iter() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> SliceVecIter { self.0.iter() } [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] 138 | pub fn iter(&self) -> SliceVecIter<'_, TagTypeId> { self.0.iter() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn iter(&self) -> SliceVecIter { [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] 175 | pub fn iter(&self) -> SliceVecIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 283 | range: R, [INFO] [stdout] 284 | ) -> std::vec::Drain { [INFO] [stdout] | ------------------------------ the same lifetime is hidden 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] 284 | ) -> std::vec::Drain<'_, ArchetypeData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/storage.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 334 | drop_fn: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/storage.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 335 | eq_fn: fn(*const u8, *const u8) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/storage.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 336 | clone_fn: fn(*const u8, *mut u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/storage.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 376 | #[derive(Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 380 | drop_fn: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1233:10 [INFO] [stdout] | [INFO] [stdout] 1233 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 1234 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ------------ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1234 | ) -> impl Iterator> + 'a { [INFO] [stdout] | +++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1244:10 [INFO] [stdout] | [INFO] [stdout] 1244 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 1245 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ------------------- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1245 | ) -> impl Iterator> + 'a { [INFO] [stdout] | +++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1380:9 [INFO] [stdout] | [INFO] [stdout] 1380 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 1381 | range: R, [INFO] [stdout] 1382 | ) -> std::vec::Drain { [INFO] [stdout] | --------------------------------- the same lifetime is hidden 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] 1382 | ) -> std::vec::Drain<'_, ComponentStorage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1732:19 [INFO] [stdout] | [INFO] [stdout] 1732 | pub fn writer(&mut self) -> StorageWriter { [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] 1732 | pub fn writer(&mut self) -> StorageWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1896:28 [INFO] [stdout] | [INFO] [stdout] 1896 | pub unsafe fn data_raw(&self) -> (Ref<*mut u8>, usize, usize) { [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] 1896 | pub unsafe fn data_raw(&self) -> (Ref<'_, *mut u8>, usize, usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1913:32 [INFO] [stdout] | [INFO] [stdout] 1913 | pub unsafe fn data_raw_mut(&self) -> (RefMut<*mut u8>, usize, usize) { [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] 1913 | pub unsafe fn data_raw_mut(&self) -> (RefMut<'_, *mut u8>, usize, usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1929:33 [INFO] [stdout] | [INFO] [stdout] 1929 | pub unsafe fn data_slice(&self) -> RefMap<&[T]> { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [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] 1929 | pub unsafe fn data_slice(&self) -> RefMap<'_, &[T]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1947:37 [INFO] [stdout] | [INFO] [stdout] 1947 | pub unsafe fn data_slice_mut(&self) -> RefMapMut<&mut [T]> { [INFO] [stdout] | ^^^^^ ------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [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] 1947 | pub unsafe fn data_slice_mut(&self) -> RefMapMut<'_, &mut [T]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage.rs:1953:19 [INFO] [stdout] | [INFO] [stdout] 1953 | pub fn writer(&mut self) -> ComponentWriter { ComponentWriter::new(self) } [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] 1953 | pub fn writer(&mut self) -> ComponentWriter<'_> { ComponentWriter::new(self) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subworld.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 216 | _: &'q Query, [INFO] [stdout] 217 | ) -> (SubWorld, SubWorld) { [INFO] [stdout] | -------- -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden 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] 217 | ) -> (SubWorld<'_>, SubWorld<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subworld.rs:298:36 [INFO] [stdout] | [INFO] [stdout] 298 | fn get_component(&self, entity: Entity) -> Option> { [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] 298 | fn get_component(&self, entity: Entity) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subworld.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 306 | entity: Entity, [INFO] [stdout] 307 | ) -> Option> { [INFO] [stdout] | --------- the same lifetime is hidden 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] 307 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subworld.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 320 | ) -> Result { [INFO] [stdout] | --------------- the same lifetime is hidden 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] 320 | ) -> Result, ComponentAccessError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_component(&self, entity: Entity) -> Option>; [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] 111 | fn get_component(&self, entity: Entity) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | unsafe fn get_component_mut_unchecked(&self, entity: Entity) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 127 | -> Option>; [INFO] [stdout] | --------- the same lifetime is hidden 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] 127 | -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | fn get_component_mut(&mut self, entity: Entity) -> Option> { [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] 138 | fn get_component_mut(&mut self, entity: Entity) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 155 | ) -> Result; [INFO] [stdout] | --------------- the same lifetime is hidden 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] 155 | ) -> Result, ComponentAccessError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/world.rs:1061:43 [INFO] [stdout] | [INFO] [stdout] 1061 | archetype_data: archetype_data.deref(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ArchetypeData` does not implement `Deref`, so calling `deref` on `&ArchetypeData` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 1061 - archetype_data: archetype_data.deref(), [INFO] [stdout] 1061 + archetype_data: archetype_data, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ArchetypeData`, implement `Clone` for it [INFO] [stdout] --> src/storage.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 620 + #[derive(Clone)] [INFO] [stdout] 621 | pub struct ArchetypeData { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:1092:39 [INFO] [stdout] | [INFO] [stdout] 1092 | pub fn split View<'v>>(&mut self) -> (SubWorld, SubWorld) { [INFO] [stdout] | ^^^^^^^^^ -------- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 1092 | pub fn split View<'v>>(&mut self) -> (SubWorld<'_>, SubWorld<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:1113:9 [INFO] [stdout] | [INFO] [stdout] 1113 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 1114 | _: &'q Query, [INFO] [stdout] 1115 | ) -> (SubWorld, SubWorld) { [INFO] [stdout] | -------- -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden 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] 1115 | ) -> (SubWorld<'_>, SubWorld<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:1139:36 [INFO] [stdout] | [INFO] [stdout] 1139 | fn get_component(&self, entity: Entity) -> Option> { [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] 1139 | fn get_component(&self, entity: Entity) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:1159:9 [INFO] [stdout] | [INFO] [stdout] 1159 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1160 | entity: Entity, [INFO] [stdout] 1161 | ) -> Option> { [INFO] [stdout] | --------- the same lifetime is hidden 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] 1161 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1196 | ) -> Result { [INFO] [stdout] | --------------- the same lifetime is hidden 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] 1196 | ) -> Result, ComponentAccessError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/world.rs:2099:69 [INFO] [stdout] | [INFO] [stdout] 2099 | assert_eq!(&Static, world.get_tag::(*e).unwrap().deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Static` does not implement `Deref`, so calling `deref` on `&Static` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 2099 - assert_eq!(&Static, world.get_tag::(*e).unwrap().deref()); [INFO] [stdout] 2099 + assert_eq!(&Static, world.get_tag::(*e).unwrap()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Static`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 1944 + #[derive(Clone)] [INFO] [stdout] 1945 | struct Static; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/world.rs:2100:70 [INFO] [stdout] | [INFO] [stdout] 2100 | assert_eq!(&Model(5), world.get_tag::(*e).unwrap().deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Model` does not implement `Deref`, so calling `deref` on `&Model` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 2100 - assert_eq!(&Model(5), world.get_tag::(*e).unwrap().deref()); [INFO] [stdout] 2100 + assert_eq!(&Model(5), world.get_tag::(*e).unwrap()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Model`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 1942 + #[derive(Clone)] [INFO] [stdout] 1943 | struct Model(u32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.04s [INFO] running `Command { std: "docker" "inspect" "476c594afd00517696241df00790d4f9ec470576d8d48d8d5e47a7b9b0a42a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476c594afd00517696241df00790d4f9ec470576d8d48d8d5e47a7b9b0a42a67", kill_on_drop: false }` [INFO] [stdout] 476c594afd00517696241df00790d4f9ec470576d8d48d8d5e47a7b9b0a42a67