[INFO] fetching crate ecsilarant 0.1.0... [INFO] testing ecsilarant-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ecsilarant 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ecsilarant 0.1.0 [INFO] finished tweaking crates.io crate ecsilarant 0.1.0 [INFO] tweaked toml for crates.io crate ecsilarant 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ecsilarant 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ecsilarant 0.1.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a67a02e817a462918ba0d5a0b58277565a23067f8188b4ee3ccec1a3fb3e10a [INFO] running `Command { std: "docker" "start" "-a" "2a67a02e817a462918ba0d5a0b58277565a23067f8188b4ee3ccec1a3fb3e10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a67a02e817a462918ba0d5a0b58277565a23067f8188b4ee3ccec1a3fb3e10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a67a02e817a462918ba0d5a0b58277565a23067f8188b4ee3ccec1a3fb3e10a", kill_on_drop: false }` [INFO] [stdout] 2a67a02e817a462918ba0d5a0b58277565a23067f8188b4ee3ccec1a3fb3e10a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 472b79bbf6d887e41bcbeb86574052e936dd4f06f6e6dfe7f476dc193bb79aeb [INFO] running `Command { std: "docker" "start" "-a" "472b79bbf6d887e41bcbeb86574052e936dd4f06f6e6dfe7f476dc193bb79aeb", kill_on_drop: false }` [INFO] [stderr] Compiling ecsilarant v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IterSeq` [INFO] [stdout] --> src/storage/world_storage.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use archetype_storage::{ArchetypeStorage, IterSeq}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/type_equality.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | fn join(self, other: Empty) -> Self::JoinResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/storage/world_storage.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | fn create(value: &'a mut Empty) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cons.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Cons { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 11 | pub(crate) fn new(head: T, tail: Tail) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Seq` is never used [INFO] [stdout] --> src/cons.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) trait Seq: Sized { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WorldStorage` is never used [INFO] [stdout] --> src/storage/world_storage.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | trait WorldStorage<'a>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/storage/world_storage.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | trait Create<'a, Query, Producer> { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] 56 | fn create(value: &'a mut Producer) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/storage/world_storage.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct RecursiveResultWrapper<'a, Tail, Query> [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | value: >::Result, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecursiveResultWrapper` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recursive_query` is never used [INFO] [stdout] --> src/storage/world_storage.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | trait WorldStorageQuery<'a, Query>: Sized { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 107 | type Result: Create<'a, Query, Self> + Debug; [INFO] [stdout] 108 | fn recursive_query(&'a mut self) -> Self::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `query` are never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) trait ArchetypeStorage<'a> { [INFO] [stdout] | ---------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | fn insert(&'a mut self, archetype: Self::Archetype); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | fn query(&'a mut self) -> >::Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_storage` is never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) fn create_storage<'a, Archetype>() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `join` is never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) trait Join>: IterSeq { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 106 | type JoinResult: IterSeq; [INFO] [stdout] 107 | fn join(self, other: Other) -> Self::JoinResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage/component_storage.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a, Component> ComponentStorage { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] 9 | pub(super) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub(super) fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn iter(&self) -> core::slice::Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(super) fn insert(&mut self, component: Component) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(super) fn remove(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn get(&self, index: usize) -> &Component { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn get_mut(&mut self, index: usize) -> &mut Component { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_many_ordered` is never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage/ordered_selection.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait OrderedSelector<'a, Selector, Is> { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 16 | type Result: IterSeq + Debug; [INFO] [stdout] 17 | fn get_many_ordered(&'a mut self) -> Self::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_eq` is never used [INFO] [stdout] --> src/type_equality.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) const fn type_eq() -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage/world_storage/archetype_storage/component_storage.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn iter(&self) -> core::slice::Iter { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn iter(&self) -> core::slice::Iter<'_, Component> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage/world_storage/archetype_storage/component_storage.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut<'_, Component> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "472b79bbf6d887e41bcbeb86574052e936dd4f06f6e6dfe7f476dc193bb79aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472b79bbf6d887e41bcbeb86574052e936dd4f06f6e6dfe7f476dc193bb79aeb", kill_on_drop: false }` [INFO] [stdout] 472b79bbf6d887e41bcbeb86574052e936dd4f06f6e6dfe7f476dc193bb79aeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d02ccaa033aba7f6b7a6570e124ad717126aa3e802ef4036da421f3df77e0d6d [INFO] running `Command { std: "docker" "start" "-a" "d02ccaa033aba7f6b7a6570e124ad717126aa3e802ef4036da421f3df77e0d6d", kill_on_drop: false }` [INFO] [stderr] Compiling ecsilarant v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IterSeq` [INFO] [stdout] --> src/storage/world_storage.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use archetype_storage::{ArchetypeStorage, IterSeq}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/type_equality.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | fn join(self, other: Empty) -> Self::JoinResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/storage/world_storage.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | fn create(value: &'a mut Empty) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cons.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Cons { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 11 | pub(crate) fn new(head: T, tail: Tail) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Seq` is never used [INFO] [stdout] --> src/cons.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) trait Seq: Sized { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WorldStorage` is never used [INFO] [stdout] --> src/storage/world_storage.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | trait WorldStorage<'a>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/storage/world_storage.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | trait Create<'a, Query, Producer> { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] 56 | fn create(value: &'a mut Producer) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/storage/world_storage.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct RecursiveResultWrapper<'a, Tail, Query> [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | value: >::Result, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecursiveResultWrapper` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recursive_query` is never used [INFO] [stdout] --> src/storage/world_storage.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | trait WorldStorageQuery<'a, Query>: Sized { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 107 | type Result: Create<'a, Query, Self> + Debug; [INFO] [stdout] 108 | fn recursive_query(&'a mut self) -> Self::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `query` are never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) trait ArchetypeStorage<'a> { [INFO] [stdout] | ---------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | fn insert(&'a mut self, archetype: Self::Archetype); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | fn query(&'a mut self) -> >::Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_storage` is never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) fn create_storage<'a, Archetype>() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `join` is never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) trait Join>: IterSeq { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 106 | type JoinResult: IterSeq; [INFO] [stdout] 107 | fn join(self, other: Other) -> Self::JoinResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage/component_storage.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a, Component> ComponentStorage { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] 9 | pub(super) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub(super) fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn iter(&self) -> core::slice::Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(super) fn insert(&mut self, component: Component) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(super) fn remove(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn get(&self, index: usize) -> &Component { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn get_mut(&mut self, index: usize) -> &mut Component { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_many_ordered` is never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage/ordered_selection.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait OrderedSelector<'a, Selector, Is> { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 16 | type Result: IterSeq + Debug; [INFO] [stdout] 17 | fn get_many_ordered(&'a mut self) -> Self::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_eq` is never used [INFO] [stdout] --> src/type_equality.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) const fn type_eq() -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage/world_storage/archetype_storage/component_storage.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn iter(&self) -> core::slice::Iter { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn iter(&self) -> core::slice::Iter<'_, Component> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage/world_storage/archetype_storage/component_storage.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut<'_, Component> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IterSeq` [INFO] [stdout] --> src/storage/world_storage.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use archetype_storage::{ArchetypeStorage, IterSeq}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/type_equality.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | fn join(self, other: Empty) -> Self::JoinResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/storage/world_storage.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | fn create(value: &'a mut Empty) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `archetype_storage_a` [INFO] [stdout] --> src/storage/world_storage.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let mut archetype_storage_a = create_storage::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archetype_storage_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `archetype_storage_b` [INFO] [stdout] --> src/storage/world_storage.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let mut archetype_storage_b = create_storage::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archetype_storage_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/world_storage.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut archetype_storage_a = create_storage::(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/world_storage.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut archetype_storage_b = create_storage::(); [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] --> src/storage/world_storage.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut result = next_world.query::>(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cons.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Cons { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 11 | pub(crate) fn new(head: T, tail: Tail) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/storage/world_storage.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct RecursiveResultWrapper<'a, Tail, Query> [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | value: >::Result, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecursiveResultWrapper` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `join` is never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) trait Join>: IterSeq { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 106 | type JoinResult: IterSeq; [INFO] [stdout] 107 | fn join(self, other: Other) -> Self::JoinResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity`, `remove`, and `get_mut` are never used [INFO] [stdout] --> src/storage/world_storage/archetype_storage/component_storage.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a, Component> ComponentStorage { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub(super) fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(super) fn remove(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn get_mut(&mut self, index: usize) -> &mut Component { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_eq` is never used [INFO] [stdout] --> src/type_equality.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) const fn type_eq() -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage/world_storage/archetype_storage/component_storage.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn iter(&self) -> core::slice::Iter { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn iter(&self) -> core::slice::Iter<'_, Component> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage/world_storage/archetype_storage/component_storage.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut<'_, Component> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "d02ccaa033aba7f6b7a6570e124ad717126aa3e802ef4036da421f3df77e0d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d02ccaa033aba7f6b7a6570e124ad717126aa3e802ef4036da421f3df77e0d6d", kill_on_drop: false }` [INFO] [stdout] d02ccaa033aba7f6b7a6570e124ad717126aa3e802ef4036da421f3df77e0d6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 51f9ccf591a300ce6645a2244c6600d45798eb4dcc8dbb98b9f14453a342866e [INFO] running `Command { std: "docker" "start" "-a" "51f9ccf591a300ce6645a2244c6600d45798eb4dcc8dbb98b9f14453a342866e", kill_on_drop: false }` [INFO] [stderr] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(specialization)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #31844 for more information [INFO] [stderr] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stderr] = note: `#[warn(incomplete_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `IterSeq` [INFO] [stderr] --> src/storage/world_storage.rs:5:43 [INFO] [stderr] | [INFO] [stderr] 5 | use archetype_storage::{ArchetypeStorage, IterSeq}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate-level attribute should be in the root module [INFO] [stderr] --> src/type_equality.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(specialization)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/storage/world_storage/archetype_storage.rs:137:19 [INFO] [stderr] | [INFO] [stderr] 137 | fn join(self, other: Empty) -> Self::JoinResult { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/storage/world_storage.rs:101:15 [INFO] [stderr] | [INFO] [stderr] 101 | fn create(value: &'a mut Empty) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/cons.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 10 | impl Cons { [INFO] [stderr] | --------------------------- associated function in this implementation [INFO] [stderr] 11 | pub(crate) fn new(head: T, tail: Tail) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Seq` is never used [INFO] [stderr] --> src/cons.rs:16:18 [INFO] [stderr] | [INFO] [stderr] 16 | pub(crate) trait Seq: Sized { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `WorldStorage` is never used [INFO] [stderr] --> src/storage/world_storage.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | trait WorldStorage<'a>: Sized { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `create` is never used [INFO] [stderr] --> src/storage/world_storage.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 55 | trait Create<'a, Query, Producer> { [INFO] [stderr] | ------ associated function in this trait [INFO] [stderr] 56 | fn create(value: &'a mut Producer) -> Self; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> src/storage/world_storage.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 60 | struct RecursiveResultWrapper<'a, Tail, Query> [INFO] [stderr] | ---------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 64 | value: >::Result, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RecursiveResultWrapper` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `recursive_query` is never used [INFO] [stderr] --> src/storage/world_storage.rs:108:8 [INFO] [stderr] | [INFO] [stderr] 106 | trait WorldStorageQuery<'a, Query>: Sized { [INFO] [stderr] | ----------------- method in this trait [INFO] [stderr] 107 | type Result: Create<'a, Query, Self> + Debug; [INFO] [stderr] 108 | fn recursive_query(&'a mut self) -> Self::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `insert`, and `query` are never used [INFO] [stderr] --> src/storage/world_storage/archetype_storage.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub(super) trait ArchetypeStorage<'a> { [INFO] [stderr] | ---------------- associated items in this trait [INFO] [stderr] ... [INFO] [stderr] 15 | fn new() -> Self; [INFO] [stderr] | ^^^ [INFO] [stderr] 16 | [INFO] [stderr] 17 | fn insert(&'a mut self, archetype: Self::Archetype); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 18 | [INFO] [stderr] 19 | fn query(&'a mut self) -> >::Result [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_storage` is never used [INFO] [stderr] --> src/storage/world_storage/archetype_storage.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | pub(super) fn create_storage<'a, Archetype>() [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `join` is never used [INFO] [stderr] --> src/storage/world_storage/archetype_storage.rs:107:8 [INFO] [stderr] | [INFO] [stderr] 105 | pub(crate) trait Join>: IterSeq { [INFO] [stderr] | ---- method in this trait [INFO] [stderr] 106 | type JoinResult: IterSeq; [INFO] [stderr] 107 | fn join(self, other: Other) -> Self::JoinResult; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/storage/world_storage/archetype_storage/component_storage.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 8 | impl<'a, Component> ComponentStorage { [INFO] [stderr] | ----------------------------------------------- associated items in this implementation [INFO] [stderr] 9 | pub(super) fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub(super) fn with_capacity(capacity: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub(crate) fn iter(&self) -> core::slice::Iter { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub(super) fn insert(&mut self, component: Component) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub(super) fn remove(&mut self, index: usize) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) fn get(&self, index: usize) -> &Component { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub(crate) fn get_mut(&mut self, index: usize) -> &mut Component { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_many_ordered` is never used [INFO] [stderr] --> src/storage/world_storage/archetype_storage/ordered_selection.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) trait OrderedSelector<'a, Selector, Is> { [INFO] [stderr] | --------------- method in this trait [INFO] [stderr] 16 | type Result: IterSeq + Debug; [INFO] [stderr] 17 | fn get_many_ordered(&'a mut self) -> Self::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `type_eq` is never used [INFO] [stderr] --> src/type_equality.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) const fn type_eq() -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/storage/world_storage/archetype_storage/component_storage.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | pub(crate) fn iter(&self) -> core::slice::Iter { [INFO] [stderr] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 21 | pub(crate) fn iter(&self) -> core::slice::Iter<'_, Component> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/storage/world_storage/archetype_storage/component_storage.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut { [INFO] [stderr] | ^^^^^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) fn iter_mut(&mut self) -> core::slice::IterMut<'_, Component> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ecsilarant` (lib) generated 19 warnings (run `cargo fix --lib -p ecsilarant` to apply 3 suggestions) [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/storage/world_storage/archetype_storage.rs:155:9 [INFO] [stderr] | [INFO] [stderr] 155 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `archetype_storage_a` [INFO] [stderr] --> src/storage/world_storage.rs:165:17 [INFO] [stderr] | [INFO] [stderr] 165 | let mut archetype_storage_a = create_storage::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archetype_storage_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `archetype_storage_b` [INFO] [stderr] --> src/storage/world_storage.rs:169:17 [INFO] [stderr] | [INFO] [stderr] 169 | let mut archetype_storage_b = create_storage::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archetype_storage_b` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/storage/world_storage.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | let mut archetype_storage_a = create_storage::(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/storage/world_storage.rs:169:13 [INFO] [stderr] | [INFO] [stderr] 169 | let mut archetype_storage_b = create_storage::(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/storage/world_storage.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | let mut result = next_world.query::>(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated items `with_capacity`, `remove`, and `get_mut` are never used [INFO] [stderr] --> src/storage/world_storage/archetype_storage/component_storage.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 8 | impl<'a, Component> ComponentStorage { [INFO] [stderr] | ----------------------------------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 15 | pub(super) fn with_capacity(capacity: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub(super) fn remove(&mut self, index: usize) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub(crate) fn get_mut(&mut self, index: usize) -> &mut Component { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ecsilarant` (lib test) generated 18 warnings (11 duplicates) (run `cargo fix --lib -p ecsilarant --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ecsilarant-6c9e36199f54a7f2) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test storage::world_storage::archetype_storage::tests::order_select ... ok [INFO] [stdout] test storage::world_storage::archetype_storage::tests::order_select_mut ... ok [INFO] [stdout] test storage::world_storage::tests::order_select ... ok [INFO] [stdout] test storage::world_storage::archetype_storage::tests::small_selection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51f9ccf591a300ce6645a2244c6600d45798eb4dcc8dbb98b9f14453a342866e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f9ccf591a300ce6645a2244c6600d45798eb4dcc8dbb98b9f14453a342866e", kill_on_drop: false }` [INFO] [stdout] 51f9ccf591a300ce6645a2244c6600d45798eb4dcc8dbb98b9f14453a342866e