[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] building joervargas/my_ecs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoervargas%2Fmy_ecs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joervargas/my_ecs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d3c9969f4b3c6878832c9a5f1396e9c9684a42a601a52901f59bbf979cfd30f [INFO] running `Command { std: "docker" "start" "-a" "8d3c9969f4b3c6878832c9a5f1396e9c9684a42a601a52901f59bbf979cfd30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d3c9969f4b3c6878832c9a5f1396e9c9684a42a601a52901f59bbf979cfd30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3c9969f4b3c6878832c9a5f1396e9c9684a42a601a52901f59bbf979cfd30f", kill_on_drop: false }` [INFO] [stdout] 8d3c9969f4b3c6878832c9a5f1396e9c9684a42a601a52901f59bbf979cfd30f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d9eeb102f612326b76c60c8ba245ddd9248bb254a8306479df427f5c5f0a571 [INFO] running `Command { std: "docker" "start" "-a" "5d9eeb102f612326b76c60c8ba245ddd9248bb254a8306479df427f5c5f0a571", 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)]` 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 `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] = note: `#[warn(dead_code)]` on by default [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: methods `push_none`, `set_none`, `resize_to_nones`, `drop`, `as_any`, and `as_any_mut` are never used [INFO] [stdout] --> src/component_store.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ComponentStore: Send + Sync [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 38 | { [INFO] [stdout] 39 | fn push_none(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | fn set_none(&mut self, index: usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | fn resize_to_nones(&mut self, len: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | [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] 48 | [INFO] [stdout] 49 | fn as_any_mut(&mut self) -> &mut dyn Any; [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: methods `get` and `get_mut` are never used [INFO] [stdout] --> src/resource.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ResourceType [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn get(&self) -> Result, ResourceError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | fn get_mut(&mut self) -> Result, ResourceError>; [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "5d9eeb102f612326b76c60c8ba245ddd9248bb254a8306479df427f5c5f0a571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d9eeb102f612326b76c60c8ba245ddd9248bb254a8306479df427f5c5f0a571", kill_on_drop: false }` [INFO] [stdout] 5d9eeb102f612326b76c60c8ba245ddd9248bb254a8306479df427f5c5f0a571 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 176a5d266cca4a247df99f709d8314db912ef590c070e9cdb713a281148911bf [INFO] running `Command { std: "docker" "start" "-a" "176a5d266cca4a247df99f709d8314db912ef590c070e9cdb713a281148911bf", kill_on_drop: false }` [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)]` 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 `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] = note: `#[warn(dead_code)]` on by default [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: methods `push_none`, `set_none`, `resize_to_nones`, `drop`, `as_any`, and `as_any_mut` are never used [INFO] [stdout] --> src/component_store.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ComponentStore: Send + Sync [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 38 | { [INFO] [stdout] 39 | fn push_none(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | fn set_none(&mut self, index: usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | fn resize_to_nones(&mut self, len: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | [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] 48 | [INFO] [stdout] 49 | fn as_any_mut(&mut self) -> &mut dyn Any; [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: methods `get` and `get_mut` are never used [INFO] [stdout] --> src/resource.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ResourceType [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn get(&self) -> Result, ResourceError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | fn get_mut(&mut self) -> Result, ResourceError>; [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: 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)]` 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)]` 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: 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)]` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "176a5d266cca4a247df99f709d8314db912ef590c070e9cdb713a281148911bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176a5d266cca4a247df99f709d8314db912ef590c070e9cdb713a281148911bf", kill_on_drop: false }` [INFO] [stdout] 176a5d266cca4a247df99f709d8314db912ef590c070e9cdb713a281148911bf