[INFO] cloning repository https://github.com/joervargas/my_ecs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joervargas/my_ecs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoervargas%2Fmy_ecs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoervargas%2Fmy_ecs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ea60a207376475ec9533d979a868879089961d5 [INFO] testing joervargas/my_ecs against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoervargas%2Fmy_ecs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joervargas/my_ecs [INFO] finished tweaking git repo https://github.com/joervargas/my_ecs [INFO] tweaked toml for git repo https://github.com/joervargas/my_ecs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joervargas/my_ecs on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joervargas/my_ecs 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355 [INFO] running `Command { std: "docker" "start" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling my_ecs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/resource.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{Arc, RwLock, RwLockReadGuard, RwLockWriteGuard} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/registry.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component_store::VecStore` [INFO] [stdout] --> src/query.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{component_store::VecStore, registry::Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entity` is never constructed [INFO] [stdout] --> src/entity.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Entity [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityManager` is never constructed [INFO] [stdout] --> src/entity.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct EntityManager [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/entity.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl EntityManager [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn activate(&mut self) -> usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn drop(&mut self, id: usize) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn activated_size(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn is_activated_empty(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn deactivated_size(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn is_deactivated_empty(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn deactive_last(&self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn get(&self, id: usize) -> Option<&Entity> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn get_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn filter_by_components(&self, type_ids: &HashSet) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityBuilder` is never constructed [INFO] [stdout] --> src/entity_builder.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EntityBuilder<'a> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_component`, and `build` are never used [INFO] [stdout] --> src/entity_builder.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> EntityBuilder<'a> [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new(registry: &'a mut Registry) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_component(&mut self, data: T) -> &mut Self [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn build(&mut self) -> usize [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentError` is never constructed [INFO] [stdout] --> src/component_store.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ComponentError [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ComponentStore` is never used [INFO] [stdout] --> src/component_store.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ComponentStore: Send + Sync [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecStore` is never constructed [INFO] [stdout] --> src/component_store.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct VecStore [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `get_mut`, and `len` are never used [INFO] [stdout] --> src/component_store.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl VecStore [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 58 | { [INFO] [stdout] 59 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn len(&self) -> usize [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceError` is never constructed [INFO] [stdout] --> src/resource.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ResourceError [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResourceType` is never used [INFO] [stdout] --> src/resource.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ResourceType [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resource` is never constructed [INFO] [stdout] --> src/resource.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Resource [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/resource.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Resource [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 52 | { [INFO] [stdout] 53 | pub fn new(data: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resources` is never constructed [INFO] [stdout] --> src/resource.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Resources [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `get`, `get_mut`, and `remove` are never used [INFO] [stdout] --> src/resource.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl Resources [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 102 | { [INFO] [stdout] 103 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn add(&mut self, data: T) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get(&self) -> Result, ResourceError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove(&mut self) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registry` is never constructed [INFO] [stdout] --> src/registry.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Registry [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/registry.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Registry [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn register_component(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn create_entity(&mut self) -> EntityBuilder [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_components(&self) -> Option<&VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_components_mut(&mut self) -> Option<&mut VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_entity(&self, id: usize) -> Option<&Entity> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_entity_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_entity_ids(&self, type_ids: &HashSet) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn query(&self) -> QueryBuilder [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `System` is never used [INFO] [stdout] --> src/system.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait System [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dispatch` is never constructed [INFO] [stdout] --> src/system.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Dispatch [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_system`, `remove_system`, and `dispatch_systems` are never used [INFO] [stdout] --> src/system.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Dispatch [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | { [INFO] [stdout] 20 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn add_system(&mut self, system: Box) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn remove_system(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn dispatch_systems(&mut self, world: &mut World) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryBuilder` is never constructed [INFO] [stdout] --> src/query.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueryBuilder<'a> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_component`, and `get` are never used [INFO] [stdout] --> src/query.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> QueryBuilder<'a> [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn new(registry: &'a Registry) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_component(&mut self) -> &mut Self [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get(&self) -> Vec [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/world.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct World [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/world.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl World [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 20 | { [INFO] [stdout] 21 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn register_component(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn create_entity(&mut self) -> EntityBuilder [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_components(&self) -> Option<&VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_components_mut(&mut self) -> Option<&mut VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_entity(&self, id: usize) -> Option<&Entity> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_entity_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn query(&self) -> QueryBuilder [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn add_resource(&mut self, resource: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_resource(&self) -> Result, ResourceError> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove_resource(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component_store.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [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] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component_store.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [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] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn get(&self) -> Result, ResourceError>; [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] 41 | fn get(&self) -> Result, ResourceError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_mut(&mut self) -> Result, ResourceError>; [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] 43 | fn get_mut(&mut self) -> Result, ResourceError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | fn get(&self) -> Result, ResourceError> [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] 66 | fn get(&self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_mut(&mut self) -> Result, ResourceError> [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] 80 | fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get(&self) -> Result, ResourceError> [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] 120 | pub fn get(&self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:141:46 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [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] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn create_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] 48 | pub fn create_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/registry.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn query(&self) -> QueryBuilder [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] 96 | pub fn query(&self) -> QueryBuilder<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn create_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] 36 | pub fn create_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/world.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn query(&self) -> QueryBuilder [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] 66 | pub fn query(&self) -> QueryBuilder<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_resource(&self) -> Result, ResourceError> [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] 76 | pub fn get_resource(&self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:81:55 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [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] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/resource.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{Arc, RwLock, RwLockReadGuard, RwLockWriteGuard} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/registry.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component_store::VecStore` [INFO] [stdout] --> src/query.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{component_store::VecStore, registry::Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entity` is never constructed [INFO] [stdout] --> src/entity.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Entity [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityManager` is never constructed [INFO] [stdout] --> src/entity.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct EntityManager [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/entity.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl EntityManager [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn activate(&mut self) -> usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn drop(&mut self, id: usize) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn activated_size(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn is_activated_empty(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn deactivated_size(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn is_deactivated_empty(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn deactive_last(&self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn get(&self, id: usize) -> Option<&Entity> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn get_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn filter_by_components(&self, type_ids: &HashSet) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityBuilder` is never constructed [INFO] [stdout] --> src/entity_builder.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EntityBuilder<'a> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_component`, and `build` are never used [INFO] [stdout] --> src/entity_builder.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> EntityBuilder<'a> [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new(registry: &'a mut Registry) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_component(&mut self, data: T) -> &mut Self [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn build(&mut self) -> usize [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentError` is never constructed [INFO] [stdout] --> src/component_store.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ComponentError [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ComponentStore` is never used [INFO] [stdout] --> src/component_store.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ComponentStore: Send + Sync [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecStore` is never constructed [INFO] [stdout] --> src/component_store.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct VecStore [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `get_mut`, and `len` are never used [INFO] [stdout] --> src/component_store.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl VecStore [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 58 | { [INFO] [stdout] 59 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn len(&self) -> usize [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceError` is never constructed [INFO] [stdout] --> src/resource.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ResourceError [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResourceType` is never used [INFO] [stdout] --> src/resource.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ResourceType [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resource` is never constructed [INFO] [stdout] --> src/resource.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Resource [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/resource.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Resource [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 52 | { [INFO] [stdout] 53 | pub fn new(data: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resources` is never constructed [INFO] [stdout] --> src/resource.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Resources [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `get`, `get_mut`, and `remove` are never used [INFO] [stdout] --> src/resource.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl Resources [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 102 | { [INFO] [stdout] 103 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn add(&mut self, data: T) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get(&self) -> Result, ResourceError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove(&mut self) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registry` is never constructed [INFO] [stdout] --> src/registry.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Registry [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/registry.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Registry [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn register_component(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn create_entity(&mut self) -> EntityBuilder [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_components(&self) -> Option<&VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_components_mut(&mut self) -> Option<&mut VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_entity(&self, id: usize) -> Option<&Entity> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_entity_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_entity_ids(&self, type_ids: &HashSet) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn query(&self) -> QueryBuilder [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `System` is never used [INFO] [stdout] --> src/system.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait System [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dispatch` is never constructed [INFO] [stdout] --> src/system.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Dispatch [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_system`, `remove_system`, and `dispatch_systems` are never used [INFO] [stdout] --> src/system.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Dispatch [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | { [INFO] [stdout] 20 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn add_system(&mut self, system: Box) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn remove_system(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn dispatch_systems(&mut self, world: &mut World) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryBuilder` is never constructed [INFO] [stdout] --> src/query.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueryBuilder<'a> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_component`, and `get` are never used [INFO] [stdout] --> src/query.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> QueryBuilder<'a> [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn new(registry: &'a Registry) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_component(&mut self) -> &mut Self [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get(&self) -> Vec [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/world.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct World [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/world.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl World [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 20 | { [INFO] [stdout] 21 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn register_component(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn create_entity(&mut self) -> EntityBuilder [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_components(&self) -> Option<&VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_components_mut(&mut self) -> Option<&mut VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_entity(&self, id: usize) -> Option<&Entity> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_entity_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn query(&self) -> QueryBuilder [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn add_resource(&mut self, resource: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_resource(&self) -> Result, ResourceError> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove_resource(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component_store.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [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] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component_store.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [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] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn get(&self) -> Result, ResourceError>; [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] 41 | fn get(&self) -> Result, ResourceError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling my_ecs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_mut(&mut self) -> Result, ResourceError>; [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] 43 | fn get_mut(&mut self) -> Result, ResourceError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | fn get(&self) -> Result, ResourceError> [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] 66 | fn get(&self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_mut(&mut self) -> Result, ResourceError> [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] 80 | fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get(&self) -> Result, ResourceError> [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] 120 | pub fn get(&self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:141:46 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [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] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn create_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] 48 | pub fn create_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/registry.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn query(&self) -> QueryBuilder [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] 96 | pub fn query(&self) -> QueryBuilder<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn create_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] 36 | pub fn create_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/world.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn query(&self) -> QueryBuilder [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] 66 | pub fn query(&self) -> QueryBuilder<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_resource(&self) -> Result, ResourceError> [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] 76 | pub fn get_resource(&self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:81:55 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [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] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/resource.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{Arc, RwLock, RwLockReadGuard, RwLockWriteGuard} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `component_store::ComponentError` and `entity` [INFO] [stdout] --> src/registry.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | use crate::{component_store::ComponentError, entity}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component_store::VecStore` [INFO] [stdout] --> src/query.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{component_store::VecStore, registry::Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deactivated_size` and `deactive_last` are never used [INFO] [stdout] --> src/entity.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl EntityManager [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn deactivated_size(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn deactive_last(&self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `drop` and `as_any` are never used [INFO] [stdout] --> src/component_store.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ComponentStore: Send + Sync [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 45 | fn drop(&mut self, index: usize); [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `len` are never used [INFO] [stdout] --> src/component_store.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl VecStore [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn len(&self) -> usize [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/resource.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl Resources [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove(&mut self) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/resource.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct ScreenSize [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 195 | { [INFO] [stdout] 196 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 197 | pub height: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_components` and `get_entity_mut` are never used [INFO] [stdout] --> src/registry.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Registry [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_components(&self) -> Option<&VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_entity_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/registry.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 173 | struct Speed [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 174 | { [INFO] [stdout] 175 | pub value: u32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `X` and `Y` are never read [INFO] [stdout] --> src/registry.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 178 | struct Position [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 179 | { [INFO] [stdout] 180 | pub X: f32, [INFO] [stdout] | ^ [INFO] [stdout] 181 | pub Y: f32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `System` is never used [INFO] [stdout] --> src/system.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait System [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dispatch` is never constructed [INFO] [stdout] --> src/system.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Dispatch [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_system`, `remove_system`, and `dispatch_systems` are never used [INFO] [stdout] --> src/system.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Dispatch [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | { [INFO] [stdout] 20 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn add_system(&mut self, system: Box) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn remove_system(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn dispatch_systems(&mut self, world: &mut World) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/world.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct World [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/world.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl World [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 20 | { [INFO] [stdout] 21 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn register_component(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn create_entity(&mut self) -> EntityBuilder [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_components(&self) -> Option<&VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_components_mut(&mut self) -> Option<&mut VecStore> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_entity(&self, id: usize) -> Option<&Entity> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_entity_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn query(&self) -> QueryBuilder [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn add_resource(&mut self, resource: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_resource(&self) -> Result, ResourceError> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove_resource(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component_store.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [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] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component_store.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [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] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn get(&self) -> Result, ResourceError>; [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] 41 | fn get(&self) -> Result, ResourceError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_mut(&mut self) -> Result, ResourceError>; [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] 43 | fn get_mut(&mut self) -> Result, ResourceError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | fn get(&self) -> Result, ResourceError> [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] 66 | fn get(&self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_mut(&mut self) -> Result, ResourceError> [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] 80 | fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get(&self) -> Result, ResourceError> [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] 120 | pub fn get(&self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:141:46 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [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] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn create_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] 48 | pub fn create_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/registry.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn query(&self) -> QueryBuilder [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] 96 | pub fn query(&self) -> QueryBuilder<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/registry.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | pub X: f32, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y` should have a snake case name [INFO] [stdout] --> src/registry.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | pub Y: f32 [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn create_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] 36 | pub fn create_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/world.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn query(&self) -> QueryBuilder [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] 66 | pub fn query(&self) -> QueryBuilder<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_resource(&self) -> Result, ResourceError> [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] 76 | pub fn get_resource(&self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:81:55 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [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] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Arc` [INFO] [stderr] --> src/resource.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | sync::{Arc, RwLock, RwLockReadGuard, RwLockWriteGuard} [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/registry.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `component_store::VecStore` [INFO] [stderr] --> src/query.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{component_store::VecStore, registry::Registry}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Entity` is never constructed [INFO] [stderr] --> src/entity.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | pub struct Entity [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `EntityManager` is never constructed [INFO] [stderr] --> src/entity.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 102 | pub struct EntityManager [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/entity.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 108 | impl EntityManager [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn new() -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | pub fn activate(&mut self) -> usize [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 157 | pub fn drop(&mut self, id: usize) [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 172 | pub fn activated_size(&self) -> usize [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 178 | pub fn is_activated_empty(&self) -> bool [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 184 | pub fn deactivated_size(&self) -> usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 190 | pub fn is_deactivated_empty(&self) -> bool [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 196 | pub fn deactive_last(&self) -> Option [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | pub fn get(&self, id: usize) -> Option<&Entity> [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 208 | pub fn get_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 214 | pub fn filter_by_components(&self, type_ids: &HashSet) -> Vec [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EntityBuilder` is never constructed [INFO] [stderr] --> src/entity_builder.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct EntityBuilder<'a> [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_component`, and `build` are never used [INFO] [stderr] --> src/entity_builder.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl<'a> EntityBuilder<'a> [INFO] [stderr] | -------------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn new(registry: &'a mut Registry) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn with_component(&mut self, data: T) -> &mut Self [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn build(&mut self) -> usize [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ComponentError` is never constructed [INFO] [stderr] --> src/component_store.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct ComponentError [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ComponentStore` is never used [INFO] [stderr] --> src/component_store.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | pub trait ComponentStore: Send + Sync [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `VecStore` is never constructed [INFO] [stderr] --> src/component_store.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct VecStore [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get`, `get_mut`, and `len` are never used [INFO] [stderr] --> src/component_store.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 57 | impl VecStore [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 58 | { [INFO] [stderr] 59 | pub fn new() -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn len(&self) -> usize [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ResourceError` is never constructed [INFO] [stderr] --> src/resource.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct ResourceError [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ResourceType` is never used [INFO] [stderr] --> src/resource.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | pub trait ResourceType [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Resource` is never constructed [INFO] [stderr] --> src/resource.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Resource [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/resource.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 51 | impl Resource [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 52 | { [INFO] [stderr] 53 | pub fn new(data: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Resources` is never constructed [INFO] [stderr] --> src/resource.rs:95:12 [INFO] [stderr] | [INFO] [stderr] 95 | pub struct Resources [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `add`, `get`, `get_mut`, and `remove` are never used [INFO] [stderr] --> src/resource.rs:103:12 [INFO] [stderr] | [INFO] [stderr] 101 | impl Resources [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 102 | { [INFO] [stderr] 103 | pub fn new() -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn add(&mut self, data: T) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | pub fn get(&self) -> Result, ResourceError> [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn remove(&mut self) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Registry` is never constructed [INFO] [stderr] --> src/registry.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Registry [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/registry.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Registry [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn new() -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn register_component(&mut self) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn create_entity(&mut self) -> EntityBuilder [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn get_components(&self) -> Option<&VecStore> [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn get_components_mut(&mut self) -> Option<&mut VecStore> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn get_entity(&self, id: usize) -> Option<&Entity> [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn get_entity_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn get_entity_ids(&self, type_ids: &HashSet) -> Vec [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn query(&self) -> QueryBuilder [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `System` is never used [INFO] [stderr] --> src/system.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait System [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Dispatch` is never constructed [INFO] [stderr] --> src/system.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Dispatch [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `add_system`, `remove_system`, and `dispatch_systems` are never used [INFO] [stderr] --> src/system.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl Dispatch [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 19 | { [INFO] [stderr] 20 | pub fn new() -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn add_system(&mut self, system: Box) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn remove_system(&mut self) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn dispatch_systems(&mut self, world: &mut World) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `QueryBuilder` is never constructed [INFO] [stderr] --> src/query.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct QueryBuilder<'a> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_component`, and `get` are never used [INFO] [stderr] --> src/query.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl<'a> QueryBuilder<'a> [INFO] [stderr] | ------------------------- associated items in this implementation [INFO] [stderr] 14 | { [INFO] [stderr] 15 | pub fn new(registry: &'a Registry) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn with_component(&mut self) -> &mut Self [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn get(&self) -> Vec [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `World` is never constructed [INFO] [stderr] --> src/world.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct World [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/world.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl World [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 20 | { [INFO] [stderr] 21 | pub fn new() -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn register_component(&mut self) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn create_entity(&mut self) -> EntityBuilder [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn get_components(&self) -> Option<&VecStore> [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn get_components_mut(&mut self) -> Option<&mut VecStore> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn get_entity(&self, id: usize) -> Option<&Entity> [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn get_entity_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn query(&self) -> QueryBuilder [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn add_resource(&mut self, resource: T) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn get_resource(&self) -> Result, ResourceError> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn remove_resource(&mut self) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/component_store.rs:64:16 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [INFO] [stdout] [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] running 4 tests [INFO] [stderr] | | [INFO] [stdout] test entity::tests::test_drop ... ok [INFO] [stderr] | the lifetime is elided here [INFO] [stdout] test resource::tests::test_resources ... ok [INFO] [stderr] | [INFO] [stdout] test registry::tests::create_entity ... ok [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] [INFO] [stderr] help: use `'_` for type paths [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/component_store.rs:77:20 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 77 | pub fn get_mut(&mut self, index: usize) -> Result>, ComponentError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resource.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | fn get(&self) -> Result, ResourceError>; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | fn get(&self) -> Result, ResourceError>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resource.rs:43:16 [INFO] [stderr] | [INFO] [stderr] 43 | fn get_mut(&mut self) -> Result, ResourceError>; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 43 | fn get_mut(&mut self) -> Result, ResourceError>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resource.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | fn get(&self) -> Result, ResourceError> [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 66 | fn get(&self) -> Result, ResourceError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resource.rs:80:16 [INFO] [stderr] | [INFO] [stderr] 80 | fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resource.rs:120:42 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn get(&self) -> Result, ResourceError> [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 120 | pub fn get(&self) -> Result, ResourceError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resource.rs:141:46 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 141 | pub fn get_mut(&mut self) -> Result, ResourceError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/registry.rs:48:26 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn create_entity(&mut self) -> EntityBuilder [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 48 | pub fn create_entity(&mut self) -> EntityBuilder<'_> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/registry.rs:96:18 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn query(&self) -> QueryBuilder [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 96 | pub fn query(&self) -> QueryBuilder<'_> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world.rs:36:26 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn create_entity(&mut self) -> EntityBuilder [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | pub fn create_entity(&mut self) -> EntityBuilder<'_> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world.rs:66:18 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn query(&self) -> QueryBuilder [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 66 | pub fn query(&self) -> QueryBuilder<'_> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world.rs:76:51 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn get_resource(&self) -> Result, ResourceError> [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn get_resource(&self) -> Result, ResourceError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world.rs:81:55 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 81 | pub fn get_resource_mut(&mut self) -> Result, ResourceError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `my_ecs` (lib) generated 41 warnings (run `cargo fix --lib -p my_ecs` to apply 17 suggestions) [INFO] [stderr] warning: unused imports: `component_store::ComponentError` and `entity` [INFO] [stderr] --> src/registry.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | use crate::{component_store::ComponentError, entity}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `deactivated_size` and `deactive_last` are never used [INFO] [stderr] --> src/entity.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 108 | impl EntityManager [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 184 | pub fn deactivated_size(&self) -> usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 196 | pub fn deactive_last(&self) -> Option [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `drop` and `as_any` are never used [INFO] [stderr] --> src/component_store.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub trait ComponentStore: Send + Sync [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 45 | fn drop(&mut self, index: usize); [INFO] [stderr] | ^^^^ [INFO] [stderr] 46 | [INFO] [stderr] 47 | fn as_any(&self) -> &dyn Any; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get` and `len` are never used [INFO] [stderr] --> src/component_store.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 57 | impl VecStore [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn get(&self, index: usize) -> Result>, ComponentError> [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn len(&self) -> usize [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `remove` is never used [INFO] [stderr] --> src/resource.rs:161:12 [INFO] [stderr] | [INFO] [stderr] 101 | impl Resources [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn remove(&mut self) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `width` and `height` are never read [INFO] [stderr] --> src/resource.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 194 | pub struct ScreenSize [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 195 | { [INFO] [stderr] 196 | pub width: f32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 197 | pub height: f32 [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_components` and `get_entity_mut` are never used [INFO] [stderr] --> src/registry.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Registry [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn get_components(&self) -> Option<&VecStore> [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn get_entity_mut(&mut self, id: usize) -> Option<&mut Entity> [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> src/registry.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 173 | struct Speed [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 174 | { [INFO] [stderr] 175 | pub value: u32 [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `X` and `Y` are never read [INFO] [stderr] --> src/registry.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 178 | struct Position [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 179 | { [INFO] [stderr] 180 | pub X: f32, [INFO] [stderr] | ^ [INFO] [stderr] 181 | pub Y: f32 [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: structure field `X` should have a snake case name [INFO] [stderr] --> src/registry.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 180 | pub X: f32, [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `Y` should have a snake case name [INFO] [stderr] --> src/registry.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | pub Y: f32 [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stderr] [INFO] [stderr] warning: `my_ecs` (lib test) generated 32 warnings (21 duplicates) (run `cargo fix --lib -p my_ecs --tests` to apply 1 suggestion) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/my_ecs-7140d56f75729f0d) [INFO] [stderr] Doc-tests my_ecs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355", kill_on_drop: false }` [INFO] [stdout] cf4d02aa708de210969ea18e1057d688fb96c30b7637fcef059cef3f076e7355