[INFO] cloning repository https://github.com/JerTH/sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JerTH/sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Fsim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Fsim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b22e09e3a8646110de0c9359691cbfcda8669a7 [INFO] checking JerTH/sim against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Fsim" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JerTH/sim on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JerTH/sim [INFO] finished tweaking git repo https://github.com/JerTH/sim [INFO] tweaked toml for git repo https://github.com/JerTH/sim written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JerTH/sim 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08dcd5eb418c070bc7803c6c6f2f8c8cb13a7153dee9c13eae7f97033c7e86c1 [INFO] running `Command { std: "docker" "start" "-a" "08dcd5eb418c070bc7803c6c6f2f8c8cb13a7153dee9c13eae7f97033c7e86c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08dcd5eb418c070bc7803c6c6f2f8c8cb13a7153dee9c13eae7f97033c7e86c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08dcd5eb418c070bc7803c6c6f2f8c8cb13a7153dee9c13eae7f97033c7e86c1", kill_on_drop: false }` [INFO] [stdout] 08dcd5eb418c070bc7803c6c6f2f8c8cb13a7153dee9c13eae7f97033c7e86c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22be27fb2d6d22e29f0b052363434e24a7da05017054aeeced1df27120f58c3a [INFO] running `Command { std: "docker" "start" "-a" "22be27fb2d6d22e29f0b052363434e24a7da05017054aeeced1df27120f58c3a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking ssim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/identity.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cell::Cell, cmp::Ordering, collections::HashMap, fmt::Display, hash::Hash, ops::Deref, sync::{atomic::{self, AtomicU64}, RwLock... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Component`, `GetMut`, `Get`, `LinearId`, `SparseSet`, `SystemExecutionId` [INFO] [stdout] --> src/systems.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{Get, GetMut, SparseSet}, components::{Component, ComponentSetId}, conflictgraph::{ConflictCmp, ConflictGraphError}, identity::{LinearId, SystemExecutionId}, ... [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetMut`, `Get`, `world::EntityId` [INFO] [stdout] --> src/components.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{collections::{Get, GetMut, SparseSet}, identity::{InternalTypeId, LinearId}, world::EntityId}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/debug.rs:2:149 [INFO] [stdout] | [INFO] [stdout] 2 | ...der, Receiver }}, thread::{self, JoinHandle, ThreadId}, time::{Duration, SystemTime, UNIX_EPOCH}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConflictGraphError`, `InternalTypeId`, `LinearId`, `SystemExecutionId`, `UnsafeAnyExt` [INFO] [stdout] --> src/world.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{UnsafeAnyExt, Get, GetMut, SparseSet}, components::{ComponentSet, ComponentSetId}, conflictgraph::{ConflictGraph, ConflictGraphError}, debug::*, identity::{InternalTypeId, LinearId, SystemExecutionId}, ... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Cell`, `MutexGuard`, `Mutex`, `RwLockWriteGuard`, `any::Any`, `error::Error` [INFO] [stdout] --> src/world.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ...::{any::Any, cell::{Cell, RefCell, UnsafeCell}, error::Error, fmt::{Debug, Display}, sync::{Arc, Mutex, MutexGuard, RwLock, RwLockWriteGuard}, ... [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/identity.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cell::Cell, cmp::Ordering, collections::HashMap, fmt::Display, hash::Hash, ops::Deref, sync::{atomic::{self, AtomicU64}, RwLock... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Component`, `GetMut`, `Get`, `LinearId`, `SparseSet`, `SystemExecutionId` [INFO] [stdout] --> src/systems.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{Get, GetMut, SparseSet}, components::{Component, ComponentSetId}, conflictgraph::{ConflictCmp, ConflictGraphError}, identity::{LinearId, SystemExecutionId}, ... [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetMut`, `Get`, `world::EntityId` [INFO] [stdout] --> src/components.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{collections::{Get, GetMut, SparseSet}, identity::{InternalTypeId, LinearId}, world::EntityId}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/debug.rs:2:149 [INFO] [stdout] | [INFO] [stdout] 2 | ...der, Receiver }}, thread::{self, JoinHandle, ThreadId}, time::{Duration, SystemTime, UNIX_EPOCH}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConflictGraphError`, `InternalTypeId`, `LinearId`, `SystemExecutionId`, `UnsafeAnyExt` [INFO] [stdout] --> src/world.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{UnsafeAnyExt, Get, GetMut, SparseSet}, components::{ComponentSet, ComponentSetId}, conflictgraph::{ConflictGraph, ConflictGraphError}, debug::*, identity::{InternalTypeId, LinearId, SystemExecutionId}, ... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Cell`, `MutexGuard`, `Mutex`, `RwLockWriteGuard`, `any::Any`, `error::Error` [INFO] [stdout] --> src/world.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ...::{any::Any, cell::{Cell, RefCell, UnsafeCell}, error::Error, fmt::{Debug, Display}, sync::{Arc, Mutex, MutexGuard, RwLock, RwLockWriteGuard}, ... [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/components.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | self.set.downcast_ref_unchecked::>() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `downcast_ref_unchecked(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_ref_unchecked` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/components.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | self.set.downcast_ref_unchecked::>() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `downcast_ref_unchecked(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_ref_unchecked` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/world.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/world.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> src/world.rs:104:67 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/world.rs:269:75 [INFO] [stdout] | [INFO] [stdout] 269 | fn check_mid_frame_dependency(&self, dependency_type: DependencyType, component_id: ComponentSetId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INSTANCEID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | static mut INSTANCEID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCALEXECUTIONID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | static mut LOCALEXECUTIONID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unique` is never used [INFO] [stdout] --> src/identity.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait LinearId { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 35 | fn unique() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SparseSetKey` is never used [INFO] [stdout] --> src/collections.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait SparseSetKey: From + Clone + Copy {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/collections.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | struct Key(u32); [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 344 | struct Key(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `free` is never read [INFO] [stdout] --> src/collections.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 352 | struct GenerationalSparseSet [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 358 | free: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `insert`, `insert_with`, and `remove` are never used [INFO] [stdout] --> src/collections.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 363 | / impl GenerationalSparseSet [INFO] [stdout] 364 | | where [INFO] [stdout] 365 | | K: From<(G, S)> + Into<(G, S)>, [INFO] [stdout] 366 | | G: From + Copy + PartialEq, [INFO] [stdout] 367 | | S: From + Into + Copy, [INFO] [stdout] | |________________________________________- associated functions in this implementation [INFO] [stdout] 368 | { [INFO] [stdout] 369 | fn insert(item: T) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `group_immutable` and `group_mutable` are never used [INFO] [stdout] --> src/systems.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl SystemGroup { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn group_immutable(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn group_mutable(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Generation` is never used [INFO] [stdout] --> src/components.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Generation = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, and `insert` are never used [INFO] [stdout] --> src/components.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl ComponentSet { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 75 | fn new() -> Self where T: 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn insert(&mut self, index: usize, component: T) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/debug.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct LogMessage { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 53 | time: SystemTime, [INFO] [stdout] 54 | thread: ThreadId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filter_set` is never read [INFO] [stdout] --> src/query.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Query<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 151 | filter_set: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destroy_entity` is never used [INFO] [stdout] --> src/world.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/world.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/world.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> src/world.rs:104:67 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/world.rs:269:75 [INFO] [stdout] | [INFO] [stdout] 269 | fn check_mid_frame_dependency(&self, dependency_type: DependencyType, component_id: ComponentSetId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INSTANCEID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | static mut INSTANCEID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCALEXECUTIONID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | static mut LOCALEXECUTIONID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unique` is never used [INFO] [stdout] --> src/identity.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait LinearId { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 35 | fn unique() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/identity.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | struct B(usize); [INFO] [stdout] | - ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 190 | struct B(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SparseSetKey` is never used [INFO] [stdout] --> src/collections.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait SparseSetKey: From + Clone + Copy {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/collections.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | struct Key(u32); [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 344 | struct Key(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `free` is never read [INFO] [stdout] --> src/collections.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 352 | struct GenerationalSparseSet [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 358 | free: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `insert`, `insert_with`, and `remove` are never used [INFO] [stdout] --> src/collections.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 363 | / impl GenerationalSparseSet [INFO] [stdout] 364 | | where [INFO] [stdout] 365 | | K: From<(G, S)> + Into<(G, S)>, [INFO] [stdout] 366 | | G: From + Copy + PartialEq, [INFO] [stdout] 367 | | S: From + Into + Copy, [INFO] [stdout] | |________________________________________- associated functions in this implementation [INFO] [stdout] 368 | { [INFO] [stdout] 369 | fn insert(item: T) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `group_immutable` and `group_mutable` are never used [INFO] [stdout] --> src/systems.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl SystemGroup { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn group_immutable(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn group_mutable(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Generation` is never used [INFO] [stdout] --> src/components.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Generation = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, and `insert` are never used [INFO] [stdout] --> src/components.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl ComponentSet { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 75 | fn new() -> Self where T: 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn insert(&mut self, index: usize, component: T) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/debug.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct LogMessage { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 53 | time: SystemTime, [INFO] [stdout] 54 | thread: ThreadId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filter_set` is never read [INFO] [stdout] --> src/query.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Query<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 151 | filter_set: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destroy_entity` is never used [INFO] [stdout] --> src/world.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "22be27fb2d6d22e29f0b052363434e24a7da05017054aeeced1df27120f58c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22be27fb2d6d22e29f0b052363434e24a7da05017054aeeced1df27120f58c3a", kill_on_drop: false }` [INFO] [stdout] 22be27fb2d6d22e29f0b052363434e24a7da05017054aeeced1df27120f58c3a