[INFO] cloning repository https://github.com/Luxistor/AnotherECS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luxistor/AnotherECS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuxistor%2FAnotherECS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuxistor%2FAnotherECS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bb0f19766461f235f879a72359de85e304306d5 [INFO] checking Luxistor/AnotherECS against master#4e1f5d90bca45207605a88e39b1f76abcdb85d2f for pr-123962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuxistor%2FAnotherECS" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luxistor/AnotherECS on toolchain 4e1f5d90bca45207605a88e39b1f76abcdb85d2f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e1f5d90bca45207605a88e39b1f76abcdb85d2f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Luxistor/AnotherECS [INFO] finished tweaking git repo https://github.com/Luxistor/AnotherECS [INFO] tweaked toml for git repo https://github.com/Luxistor/AnotherECS written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Luxistor/AnotherECS 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" "+4e1f5d90bca45207605a88e39b1f76abcdb85d2f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Luxistor/AnotherECS against try#035f40fb95ac1c79b50f07e65650460f3d11e207 for pr-123962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuxistor%2FAnotherECS" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luxistor/AnotherECS on toolchain 035f40fb95ac1c79b50f07e65650460f3d11e207 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035f40fb95ac1c79b50f07e65650460f3d11e207" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Luxistor/AnotherECS [INFO] finished tweaking git repo https://github.com/Luxistor/AnotherECS [INFO] tweaked toml for git repo https://github.com/Luxistor/AnotherECS written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Luxistor/AnotherECS 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" "+035f40fb95ac1c79b50f07e65650460f3d11e207" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded any_vec v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+035f40fb95ac1c79b50f07e65650460f3d11e207" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20973a001cb16d528c597b32080de3935faf8cc979c6a63e9a6e5213b14a0461 [INFO] running `Command { std: "docker" "start" "-a" "20973a001cb16d528c597b32080de3935faf8cc979c6a63e9a6e5213b14a0461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20973a001cb16d528c597b32080de3935faf8cc979c6a63e9a6e5213b14a0461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20973a001cb16d528c597b32080de3935faf8cc979c6a63e9a6e5213b14a0461", kill_on_drop: false }` [INFO] [stdout] 20973a001cb16d528c597b32080de3935faf8cc979c6a63e9a6e5213b14a0461 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+035f40fb95ac1c79b50f07e65650460f3d11e207" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] babec2a3de6d70721935836afc5dcd2b7a4bef893efdac8d7c0cdb92178aefe3 [INFO] running `Command { std: "docker" "start" "-a" "babec2a3de6d70721935836afc5dcd2b7a4bef893efdac8d7c0cdb92178aefe3", kill_on_drop: false }` [INFO] [stderr] Checking any_vec v0.11.0 [INFO] [stderr] Checking ECS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `component_tuple` [INFO] [stdout] --> src/component.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! component_tuple { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `component_tuple` [INFO] [stdout] --> src/component.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! component_tuple { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `index`, and `generation` are never used [INFO] [stdout] --> src/entity.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Entity { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(generation: i16, index: usize) -> Entity { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn generation(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AllocState` is never used [INFO] [stdout] --> src/entity_allocator.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) enum AllocState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Generation` is never constructed [INFO] [stdout] --> src/entity_allocator.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Generation(i16); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `kill`, `raise`, and `is_alive` are never used [INFO] [stdout] --> src/entity_allocator.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Generation { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 12 | pub fn kill(self) -> Generation { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn raise(self) -> Generation { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn is_alive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityAllocator` is never constructed [INFO] [stdout] --> src/entity_allocator.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct EntityAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `allocate`, and `deallocate` are never used [INFO] [stdout] --> src/entity_allocator.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl EntityAllocator { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn allocate(&mut self) -> (AllocState, Entity) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn deallocate(&mut self, entity: Entity) -> Result<(), ECSError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SparseEntity` is never constructed [INFO] [stdout] --> src/component_storage.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct SparseEntity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index` and `generation` are never used [INFO] [stdout] --> src/component_storage.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SparseEntity { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 12 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn generation(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentStorage` is never constructed [INFO] [stdout] --> src/component_storage.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct ComponentStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `has`, `allocate`, and `remove` are never used [INFO] [stdout] --> src/component_storage.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ComponentStorage { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(entity_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn insert(&mut self, entity: Entity, component: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn has(&self, entity: Entity) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn allocate(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn remove(&mut self, entity: Entity) -> Result<(), ECSError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `index`, and `generation` are never used [INFO] [stdout] --> src/entity.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Entity { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(generation: i16, index: usize) -> Entity { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn generation(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AllocState` is never used [INFO] [stdout] --> src/entity_allocator.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) enum AllocState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Generation` is never constructed [INFO] [stdout] --> src/entity_allocator.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Generation(i16); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/world.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/world.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl World { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn insert_resource(&mut self, resource: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_resource(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_resource_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn spawn(&mut self) -> EntityBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn despawn(&mut self, entity: Entity) -> Result<(), ECSError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub(crate) fn get_or_insert_storage(&mut self) -> &mut ComponentStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityBuilder` is never constructed [INFO] [stdout] --> src/entity_builder.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EntityBuilder<'world> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with`, and `build` are never used [INFO] [stdout] --> src/entity_builder.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'world> EntityBuilder<'world> { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(entity: Entity, world: &'world mut World) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn with(self, component: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn build(self) -> Entity { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UseAfterFree`, `ComponentNotFound`, and `EntityNotFound` are never constructed [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ECSError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 4 | UseAfterFree, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | ComponentNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | EntityNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ECSError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ComponentTuple` is never used [INFO] [stdout] --> src/component.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait ComponentTuple { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `kill`, `raise`, and `is_alive` are never used [INFO] [stdout] --> src/entity_allocator.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Generation { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 12 | pub fn kill(self) -> Generation { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn raise(self) -> Generation { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn is_alive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityAllocator` is never constructed [INFO] [stdout] --> src/entity_allocator.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct EntityAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `allocate`, and `deallocate` are never used [INFO] [stdout] --> src/entity_allocator.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl EntityAllocator { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn allocate(&mut self) -> (AllocState, Entity) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn deallocate(&mut self, entity: Entity) -> Result<(), ECSError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SparseEntity` is never constructed [INFO] [stdout] --> src/component_storage.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct SparseEntity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index` and `generation` are never used [INFO] [stdout] --> src/component_storage.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SparseEntity { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 12 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn generation(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentStorage` is never constructed [INFO] [stdout] --> src/component_storage.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct ComponentStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `has`, `allocate`, and `remove` are never used [INFO] [stdout] --> src/component_storage.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ComponentStorage { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(entity_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn insert(&mut self, entity: Entity, component: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn has(&self, entity: Entity) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn allocate(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn remove(&mut self, entity: Entity) -> Result<(), ECSError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/world.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/world.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl World { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn insert_resource(&mut self, resource: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_resource(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_resource_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn spawn(&mut self) -> EntityBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn despawn(&mut self, entity: Entity) -> Result<(), ECSError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub(crate) fn get_or_insert_storage(&mut self) -> &mut ComponentStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityBuilder` is never constructed [INFO] [stdout] --> src/entity_builder.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EntityBuilder<'world> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with`, and `build` are never used [INFO] [stdout] --> src/entity_builder.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'world> EntityBuilder<'world> { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(entity: Entity, world: &'world mut World) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn with(self, component: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn build(self) -> Entity { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UseAfterFree`, `ComponentNotFound`, and `EntityNotFound` are never constructed [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ECSError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 4 | UseAfterFree, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | ComponentNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | EntityNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ECSError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ComponentTuple` is never used [INFO] [stdout] --> src/component.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait ComponentTuple { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "babec2a3de6d70721935836afc5dcd2b7a4bef893efdac8d7c0cdb92178aefe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "babec2a3de6d70721935836afc5dcd2b7a4bef893efdac8d7c0cdb92178aefe3", kill_on_drop: false }` [INFO] [stdout] babec2a3de6d70721935836afc5dcd2b7a4bef893efdac8d7c0cdb92178aefe3