[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] testing JerTH/sim against 1.86.0 for beta-1.87-1 [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 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "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" "+1.86.0" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ed0baf93ad2981030960f388cac37d307510d2095ee9867fdce43f9eac5c6da [INFO] running `Command { std: "docker" "start" "-a" "9ed0baf93ad2981030960f388cac37d307510d2095ee9867fdce43f9eac5c6da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ed0baf93ad2981030960f388cac37d307510d2095ee9867fdce43f9eac5c6da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ed0baf93ad2981030960f388cac37d307510d2095ee9867fdce43f9eac5c6da", kill_on_drop: false }` [INFO] [stdout] 9ed0baf93ad2981030960f388cac37d307510d2095ee9867fdce43f9eac5c6da [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c36c51b496621e706fc94c0c2048e822c8effee4434182c91c9b5da63c659253 [INFO] running `Command { std: "docker" "start" "-a" "c36c51b496621e706fc94c0c2048e822c8effee4434182c91c9b5da63c659253", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling 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`, and `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`, and `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: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | debug!("conflict graph of {} nodes colored in {:?} passes, used {:?} colors", self.nodes.len(), passes, used_colors.len()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConflictGraphError`, `InternalTypeId`, `LinearId`, `SystemExecutionId`, and `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`, and `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: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | debug!("creating new entity"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | debug!("adding component to entity {}", entity); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | debug!("marking new dependeny: system {:?} depends on component {:?}: {:?}", system_id, component_id, dependency); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | debug!("couldn't get component set {} from sparse set while attempting to lock it", component_set_id); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: struct `Key` is never constructed [INFO] [stdout] --> src/collections.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | struct Key(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerationalSparseSet` is never constructed [INFO] [stdout] --> src/collections.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | struct GenerationalSparseSet [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | SystemExecutionId(unsafe { LOCALEXECUTIONID_COUNTER.fetch_add(1, atomic::Ordering::SeqCst) as usize }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | InstanceId (unsafe { INSTANCEID_COUNTER.fetch_add(1u64, core::sync::atomic::Ordering::SeqCst) } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | TYPEID_MAP.0.set(Some(init_typeid_map())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | match *TYPEID_MAP.0.as_ptr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | let len = TYPEID_MAP.read().expect("Attempt to reference uninitialized typeid map").len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | let count = TYPEID_COUNTER.load(core::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | if let Ok(mut guard) = TYPEID_MAP.write() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | iid = InternalTypeId(TYPEID_COUNTER.fetch_add(1, core::sync::atomic::Ordering::SeqCst)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | match LOG_SINK.get_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | LOG_SINK.set(Some(Mutex::new(sink))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / LOG_INIT_ONCE.call_once(|| { [INFO] [stdout] 247 | | let (tx, rx) = channel::(); [INFO] [stdout] 248 | | [INFO] [stdout] 249 | | LOG_SENDER_MUTEX.0.set(Some(Mutex::new(tx))); [INFO] [stdout] ... | [INFO] [stdout] 286 | | LOG_RECEIVER_JOIN_HANDLE.set(Some(handle)); [INFO] [stdout] 287 | | }); // end of LOG_INIT_ONCE [INFO] [stdout] | |______^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | LOG_SENDER_MUTEX.0.set(Some(Mutex::new(tx))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | LOG_RECEIVER_MUTEX.0.set(Some(Mutex::new(rx))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 264 | let guard_tunnel = match *LOG_RECEIVER_MUTEX.0.as_ptr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | LOG_RECEIVER_JOIN_HANDLE.set(Some(handle)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | match *LOG_SENDER_MUTEX.0.as_ptr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 316 | match LOG_RECEIVER_JOIN_HANDLE.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | match unsafe { &*LOG_SINK.as_ptr() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.54s [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 1` [INFO] running `Command { std: "docker" "inspect" "c36c51b496621e706fc94c0c2048e822c8effee4434182c91c9b5da63c659253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c36c51b496621e706fc94c0c2048e822c8effee4434182c91c9b5da63c659253", kill_on_drop: false }` [INFO] [stdout] c36c51b496621e706fc94c0c2048e822c8effee4434182c91c9b5da63c659253 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b22d6a7a15d6b4f2a2c61c809d838a7e17b568a7491f3855a0a2b94bb1a847a [INFO] running `Command { std: "docker" "start" "-a" "5b22d6a7a15d6b4f2a2c61c809d838a7e17b568a7491f3855a0a2b94bb1a847a", kill_on_drop: false }` [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`, and `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`, and `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: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | debug!("conflict graph of {} nodes colored in {:?} passes, used {:?} colors", self.nodes.len(), passes, used_colors.len()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConflictGraphError`, `InternalTypeId`, `LinearId`, `SystemExecutionId`, and `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`, and `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: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | debug!("creating new entity"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | debug!("adding component to entity {}", entity); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | debug!("marking new dependeny: system {:?} depends on component {:?}: {:?}", system_id, component_id, dependency); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | debug!("couldn't get component set {} from sparse set while attempting to lock it", component_set_id); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: struct `Key` is never constructed [INFO] [stdout] --> src/collections.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | struct Key(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerationalSparseSet` is never constructed [INFO] [stdout] --> src/collections.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | struct GenerationalSparseSet [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | SystemExecutionId(unsafe { LOCALEXECUTIONID_COUNTER.fetch_add(1, atomic::Ordering::SeqCst) as usize }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | InstanceId (unsafe { INSTANCEID_COUNTER.fetch_add(1u64, core::sync::atomic::Ordering::SeqCst) } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | TYPEID_MAP.0.set(Some(init_typeid_map())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | match *TYPEID_MAP.0.as_ptr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | let len = TYPEID_MAP.read().expect("Attempt to reference uninitialized typeid map").len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | let count = TYPEID_COUNTER.load(core::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | if let Ok(mut guard) = TYPEID_MAP.write() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | iid = InternalTypeId(TYPEID_COUNTER.fetch_add(1, core::sync::atomic::Ordering::SeqCst)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | match LOG_SINK.get_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | LOG_SINK.set(Some(Mutex::new(sink))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / LOG_INIT_ONCE.call_once(|| { [INFO] [stdout] 247 | | let (tx, rx) = channel::(); [INFO] [stdout] 248 | | [INFO] [stdout] 249 | | LOG_SENDER_MUTEX.0.set(Some(Mutex::new(tx))); [INFO] [stdout] ... | [INFO] [stdout] 286 | | LOG_RECEIVER_JOIN_HANDLE.set(Some(handle)); [INFO] [stdout] 287 | | }); // end of LOG_INIT_ONCE [INFO] [stdout] | |______^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | LOG_SENDER_MUTEX.0.set(Some(Mutex::new(tx))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | LOG_RECEIVER_MUTEX.0.set(Some(Mutex::new(rx))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 264 | let guard_tunnel = match *LOG_RECEIVER_MUTEX.0.as_ptr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ssim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | LOG_RECEIVER_JOIN_HANDLE.set(Some(handle)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | match *LOG_SENDER_MUTEX.0.as_ptr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 316 | match LOG_RECEIVER_JOIN_HANDLE.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | match unsafe { &*LOG_SINK.as_ptr() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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`, and `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`, and `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: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 529 | debug!("debug log message"); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | debug!("conflict graph of {} nodes colored in {:?} passes, used {:?} colors", self.nodes.len(), passes, used_colors.len()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | debug!("quick rand seed: {:?}", _QUICK_RAND_SEED); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | debug!("beginning random data test"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | debug!("test message"); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConflictGraphError`, `InternalTypeId`, `LinearId`, `SystemExecutionId`, and `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`, and `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: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | debug!("creating new entity"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | debug!("adding component to entity {}", entity); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | debug!("marking new dependeny: system {:?} depends on component {:?}: {:?}", system_id, component_id, dependency); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | debug!("couldn't get component set {} from sparse set while attempting to lock it", component_set_id); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | debug!("Hello from hello_system!"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | debug!("Goodbye from goodbye_system!"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | debug!("Running entity producer system"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | debug!("Running component query system"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:503:21 [INFO] [stdout] | [INFO] [stdout] 503 | debug!("Got components: {:?}", (*f, *b)); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: 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 removing this field [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: struct `Key` is never constructed [INFO] [stdout] --> src/collections.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | struct Key(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerationalSparseSet` is never constructed [INFO] [stdout] --> src/collections.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | struct GenerationalSparseSet [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | SystemExecutionId(unsafe { LOCALEXECUTIONID_COUNTER.fetch_add(1, atomic::Ordering::SeqCst) as usize }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | InstanceId (unsafe { INSTANCEID_COUNTER.fetch_add(1u64, core::sync::atomic::Ordering::SeqCst) } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | TYPEID_MAP.0.set(Some(init_typeid_map())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | match *TYPEID_MAP.0.as_ptr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | let len = TYPEID_MAP.read().expect("Attempt to reference uninitialized typeid map").len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | let count = TYPEID_COUNTER.load(core::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | if let Ok(mut guard) = TYPEID_MAP.write() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/identity.rs:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | iid = InternalTypeId(TYPEID_COUNTER.fetch_add(1, core::sync::atomic::Ordering::SeqCst)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | match LOG_SINK.get_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | LOG_SINK.set(Some(Mutex::new(sink))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / LOG_INIT_ONCE.call_once(|| { [INFO] [stdout] 247 | | let (tx, rx) = channel::(); [INFO] [stdout] 248 | | [INFO] [stdout] 249 | | LOG_SENDER_MUTEX.0.set(Some(Mutex::new(tx))); [INFO] [stdout] ... | [INFO] [stdout] 286 | | LOG_RECEIVER_JOIN_HANDLE.set(Some(handle)); [INFO] [stdout] 287 | | }); // end of LOG_INIT_ONCE [INFO] [stdout] | |______^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | LOG_SENDER_MUTEX.0.set(Some(Mutex::new(tx))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | LOG_RECEIVER_MUTEX.0.set(Some(Mutex::new(rx))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 264 | let guard_tunnel = match *LOG_RECEIVER_MUTEX.0.as_ptr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | LOG_RECEIVER_JOIN_HANDLE.set(Some(handle)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | match *LOG_SENDER_MUTEX.0.as_ptr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 316 | match LOG_RECEIVER_JOIN_HANDLE.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/debug.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | match unsafe { &*LOG_SINK.as_ptr() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/conflictgraph.rs:278:49 [INFO] [stdout] | [INFO] [stdout] 278 | debug!("quick rand seed: {:?}", _QUICK_RAND_SEED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.54s [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 1` [INFO] running `Command { std: "docker" "inspect" "5b22d6a7a15d6b4f2a2c61c809d838a7e17b568a7491f3855a0a2b94bb1a847a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b22d6a7a15d6b4f2a2c61c809d838a7e17b568a7491f3855a0a2b94bb1a847a", kill_on_drop: false }` [INFO] [stdout] 5b22d6a7a15d6b4f2a2c61c809d838a7e17b568a7491f3855a0a2b94bb1a847a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ecd82c228ff11c9cbe2cbec3db50b4e74f039eccfbea92adcd78ec3ce251017 [INFO] running `Command { std: "docker" "start" "-a" "4ecd82c228ff11c9cbe2cbec3db50b4e74f039eccfbea92adcd78ec3ce251017", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `fmt::Display` [INFO] [stderr] --> src/identity.rs:6:60 [INFO] [stderr] | [INFO] [stderr] 6 | use std::{cell::Cell, cmp::Ordering, collections::HashMap, fmt::Display, hash::Hash, ops::Deref, sync::{atomic::{self, AtomicU64}, RwLock... [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Component`, `GetMut`, `Get`, `LinearId`, `SparseSet`, and `SystemExecutionId` [INFO] [stderr] --> src/systems.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | ...::{Get, GetMut, SparseSet}, components::{Component, ComponentSetId}, conflictgraph::{ConflictCmp, ConflictGraphError}, identity::{LinearId, SystemExecutionId}, ... [INFO] [stderr] | ^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GetMut`, `Get`, and `world::EntityId` [INFO] [stderr] --> src/components.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{collections::{Get, GetMut, SparseSet}, identity::{InternalTypeId, LinearId}, world::EntityId}; [INFO] [stderr] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/debug.rs:2:149 [INFO] [stderr] | [INFO] [stderr] 2 | ...der, Receiver }}, thread::{self, JoinHandle, ThreadId}, time::{Duration, SystemTime, UNIX_EPOCH}}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/conflictgraph.rs:220:13 [INFO] [stderr] | [INFO] [stderr] 220 | debug!("conflict graph of {} nodes colored in {:?} passes, used {:?} colors", self.nodes.len(), passes, used_colors.len()); [INFO] [stderr] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ConflictGraphError`, `InternalTypeId`, `LinearId`, `SystemExecutionId`, and `UnsafeAnyExt` [INFO] [stderr] --> src/world.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | ...::{UnsafeAnyExt, Get, GetMut, SparseSet}, components::{ComponentSet, ComponentSetId}, conflictgraph::{ConflictGraph, ConflictGraphError}, debug::*, identity::{InternalTypeId, LinearId, SystemExecutionId}, ... [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `Cell`, `MutexGuard`, `Mutex`, `RwLockWriteGuard`, `any::Any`, and `error::Error` [INFO] [stderr] --> src/world.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | ...::{any::Any, cell::{Cell, RefCell, UnsafeCell}, error::Error, fmt::{Debug, Display}, sync::{Arc, Mutex, MutexGuard, RwLock, RwLockWriteGuard}, ... [INFO] [stderr] | ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/world.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | debug!("creating new entity"); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/world.rs:186:25 [INFO] [stderr] | [INFO] [stderr] 186 | debug!("adding component to entity {}", entity); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/world.rs:254:9 [INFO] [stderr] | [INFO] [stderr] 254 | debug!("marking new dependeny: system {:?} depends on component {:?}: {:?}", system_id, component_id, dependency); [INFO] [stderr] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/world.rs:385:17 [INFO] [stderr] | [INFO] [stderr] 385 | debug!("couldn't get component set {} from sparse set while attempting to lock it", component_set_id); [INFO] [stderr] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/components.rs:132:18 [INFO] [stderr] | [INFO] [stderr] 132 | self.set.downcast_ref_unchecked::>() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `downcast_ref_unchecked(...)` to keep using the current method [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/collections.rs:373:20 [INFO] [stderr] | [INFO] [stderr] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/collections.rs:377:15 [INFO] [stderr] | [INFO] [stderr] 377 | fn remove(key: K) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/world.rs:97:30 [INFO] [stderr] | [INFO] [stderr] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entity` [INFO] [stderr] --> src/world.rs:104:49 [INFO] [stderr] | [INFO] [stderr] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `component` [INFO] [stderr] --> src/world.rs:104:67 [INFO] [stderr] | [INFO] [stderr] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `component_id` [INFO] [stderr] --> src/world.rs:269:75 [INFO] [stderr] | [INFO] [stderr] 269 | fn check_mid_frame_dependency(&self, dependency_type: DependencyType, component_id: ComponentSetId) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_id` [INFO] [stderr] [INFO] [stderr] warning: static `INSTANCEID_COUNTER` is never used [INFO] [stderr] --> src/identity.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | static mut INSTANCEID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static `LOCALEXECUTIONID_COUNTER` is never used [INFO] [stderr] --> src/identity.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | static mut LOCALEXECUTIONID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `unique` is never used [INFO] [stderr] --> src/identity.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 34 | pub(crate) trait LinearId { [INFO] [stderr] | -------- associated function in this trait [INFO] [stderr] 35 | fn unique() -> Self; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `SparseSetKey` is never used [INFO] [stderr] --> src/collections.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | trait SparseSetKey: From + Clone + Copy {} [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Key` is never constructed [INFO] [stderr] --> src/collections.rs:344:8 [INFO] [stderr] | [INFO] [stderr] 344 | struct Key(u32); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GenerationalSparseSet` is never constructed [INFO] [stderr] --> src/collections.rs:352:8 [INFO] [stderr] | [INFO] [stderr] 352 | struct GenerationalSparseSet [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `insert`, `insert_with`, and `remove` are never used [INFO] [stderr] --> src/collections.rs:369:8 [INFO] [stderr] | [INFO] [stderr] 363 | / impl GenerationalSparseSet [INFO] [stderr] 364 | | where [INFO] [stderr] 365 | | K: From<(G, S)> + Into<(G, S)>, [INFO] [stderr] 366 | | G: From + Copy + PartialEq, [INFO] [stderr] 367 | | S: From + Into + Copy, [INFO] [stderr] | |________________________________________- associated functions in this implementation [INFO] [stderr] 368 | { [INFO] [stderr] 369 | fn insert(item: T) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 377 | fn remove(key: K) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `group_immutable` and `group_mutable` are never used [INFO] [stderr] --> src/systems.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 145 | impl SystemGroup { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 150 | pub fn group_immutable(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 154 | pub fn group_mutable(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Generation` is never used [INFO] [stderr] --> src/components.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | type Generation = u32; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `len`, and `insert` are never used [INFO] [stderr] --> src/components.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 74 | impl ComponentSet { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 75 | fn new() -> Self where T: 'static { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | fn insert(&mut self, index: usize, component: T) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `thread` is never read [INFO] [stderr] --> src/debug.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct LogMessage { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 53 | time: SystemTime, [INFO] [stderr] 54 | thread: ThreadId, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LogMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `filter_set` is never read [INFO] [stderr] --> src/query.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 148 | pub struct Query<'a> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 151 | filter_set: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Query` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `destroy_entity` is never used [INFO] [stderr] --> src/world.rs:97:8 [INFO] [stderr] | [INFO] [stderr] 59 | impl World { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/identity.rs:46:36 [INFO] [stderr] | [INFO] [stderr] 46 | SystemExecutionId(unsafe { LOCALEXECUTIONID_COUNTER.fetch_add(1, atomic::Ordering::SeqCst) as usize }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/identity.rs:62:30 [INFO] [stderr] | [INFO] [stderr] 62 | InstanceId (unsafe { INSTANCEID_COUNTER.fetch_add(1u64, core::sync::atomic::Ordering::SeqCst) } ) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/identity.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | TYPEID_MAP.0.set(Some(init_typeid_map())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/identity.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | match *TYPEID_MAP.0.as_ptr() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/identity.rs:119:23 [INFO] [stderr] | [INFO] [stderr] 119 | let len = TYPEID_MAP.read().expect("Attempt to reference uninitialized typeid map").len(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/identity.rs:121:29 [INFO] [stderr] | [INFO] [stderr] 121 | let count = TYPEID_COUNTER.load(core::sync::atomic::Ordering::SeqCst); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/identity.rs:163:32 [INFO] [stderr] | [INFO] [stderr] 163 | if let Ok(mut guard) = TYPEID_MAP.write() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/identity.rs:167:38 [INFO] [stderr] | [INFO] [stderr] 167 | iid = InternalTypeId(TYPEID_COUNTER.fetch_add(1, core::sync::atomic::Ordering::SeqCst)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/debug.rs:179:15 [INFO] [stderr] | [INFO] [stderr] 179 | match LOG_SINK.get_mut() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/debug.rs:191:17 [INFO] [stderr] | [INFO] [stderr] 191 | LOG_SINK.set(Some(Mutex::new(sink))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/debug.rs:246:5 [INFO] [stderr] | [INFO] [stderr] 246 | / LOG_INIT_ONCE.call_once(|| { [INFO] [stderr] 247 | | let (tx, rx) = channel::(); [INFO] [stderr] 248 | | [INFO] [stderr] 249 | | LOG_SENDER_MUTEX.0.set(Some(Mutex::new(tx))); [INFO] [stderr] ... | [INFO] [stderr] 286 | | LOG_RECEIVER_JOIN_HANDLE.set(Some(handle)); [INFO] [stderr] 287 | | }); // end of LOG_INIT_ONCE [INFO] [stderr] | |______^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/debug.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | LOG_SENDER_MUTEX.0.set(Some(Mutex::new(tx))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/debug.rs:250:9 [INFO] [stderr] | [INFO] [stderr] 250 | LOG_RECEIVER_MUTEX.0.set(Some(Mutex::new(rx))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/debug.rs:264:35 [INFO] [stderr] | [INFO] [stderr] 264 | let guard_tunnel = match *LOG_RECEIVER_MUTEX.0.as_ptr() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/debug.rs:286:9 [INFO] [stderr] | [INFO] [stderr] 286 | LOG_RECEIVER_JOIN_HANDLE.set(Some(handle)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/debug.rs:290:12 [INFO] [stderr] | [INFO] [stderr] 290 | match *LOG_SENDER_MUTEX.0.as_ptr() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/debug.rs:316:11 [INFO] [stderr] | [INFO] [stderr] 316 | match LOG_RECEIVER_JOIN_HANDLE.take() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/debug.rs:350:22 [INFO] [stderr] | [INFO] [stderr] 350 | match unsafe { &*LOG_SINK.as_ptr() } { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `ssim` (lib) generated 49 warnings (run `cargo fix --lib -p ssim` to apply 6 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] ... [INFO] [stderr] 529 | debug!("debug log message"); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/conflictgraph.rs:220:13 [INFO] [stderr] | [INFO] [stderr] 220 | debug!("conflict graph of {} nodes colored in {:?} passes, used {:?} colors", self.nodes.len(), passes, used_colors.len()); [INFO] [stderr] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/conflictgraph.rs:278:17 [INFO] [stderr] | [INFO] [stderr] 278 | debug!("quick rand seed: {:?}", _QUICK_RAND_SEED); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/conflictgraph.rs:447:9 [INFO] [stderr] | [INFO] [stderr] 447 | debug!("beginning random data test"); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/conflictgraph.rs:390:17 [INFO] [stderr] | [INFO] [stderr] 390 | debug!("test message"); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/world.rs:447:9 [INFO] [stderr] | [INFO] [stderr] 447 | debug!("Hello from hello_system!"); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/world.rs:452:9 [INFO] [stderr] | [INFO] [stderr] 452 | debug!("Goodbye from goodbye_system!"); [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/world.rs:472:13 [INFO] [stderr] | [INFO] [stderr] 472 | debug!("Running entity producer system"); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/world.rs:493:13 [INFO] [stderr] | [INFO] [stderr] 493 | debug!("Running component query system"); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stderr] --> src/debug.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] ::: src/world.rs:503:21 [INFO] [stderr] | [INFO] [stderr] 503 | debug!("Got components: {:?}", (*f, *b)); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/identity.rs:190:18 [INFO] [stderr] | [INFO] [stderr] 190 | struct B(usize); [INFO] [stderr] | - ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/conflictgraph.rs:278:49 [INFO] [stderr] | [INFO] [stderr] 278 | debug!("quick rand seed: {:?}", _QUICK_RAND_SEED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `ssim` (lib test) generated 60 warnings (48 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [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 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ssim-4d673028386e056a) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test collections::test::test_sparse_set ... ok [INFO] [stdout] test world::tests::filters ... ok [INFO] [stdout] test identity::test::test_internal_type_ids ... ok [INFO] [stdout] test conflictgraph::tests::test_cliques ... ok [INFO] [stdout] test world::tests::queries ... FAILED [INFO] [stdout] test debug::test::test_fatal_log - should panic ... ok [INFO] [stdout] test debug::test::test_debug_log ... ok [INFO] [stdout] test world::tests::hello_world ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- world::tests::queries stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'world::tests::queries' panicked at src/world.rs:275:17: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5fe4a9f54340 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5fe4a9f54340 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5fe4a9f54340 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5fe4a9f54340 - ::fmt::h6d42cc84fc840290 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5fe4a9f7c2b3 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5fe4a9f7c2b3 - core::fmt::write::h5af61a909e3ec64d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5fe4a9f51463 - std::io::Write::write_fmt::h64baa9197d9a3b04 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5fe4a9f54192 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5fe4a9f5576f - std::panicking::default_hook::{{closure}}::h9128866118196224 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5fe4a9f55588 - std::panicking::default_hook::h52e9e7314e0255f6 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5fe4a9f160c5 - as core::ops::function::Fn>::call::hb86f691850cc3c26 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 11: 0x5fe4a9f160c5 - test::test_main::{{closure}}::h903d8079e3c94d93 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x5fe4a9f561e3 - as core::ops::function::Fn>::call::h7c356b28a03897d7 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 13: 0x5fe4a9f561e3 - std::panicking::rust_panic_with_hook::h541791bcc774ef34 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5fe4a9f55e86 - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:697:13 [INFO] [stdout] 15: 0x5fe4a9f54859 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5fe4a9f55b4d - rust_begin_unwind [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5fe4a9e79df0 - core::panicking::panic_fmt::h5764ee7030b7a73d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5fe4a9e79e7c - core::panicking::panic::had768957450a0f86 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:145:5 [INFO] [stdout] 19: 0x5fe4a9ed834e - ssim::world::World::check_mid_frame_dependency::he85df8fe5f226098 [INFO] [stdout] at /opt/rustwide/workdir/src/world.rs:275:17 [INFO] [stdout] 20: 0x5fe4a9ed82ad - ssim::world::World::mark_dependency::h9437f4e33be7d7d2 [INFO] [stdout] at /opt/rustwide/workdir/src/world.rs:256:12 [INFO] [stdout] 21: 0x5fe4a9ed86f9 - ssim::world::LocalWorld::add_component::hf95ea975cef414bc [INFO] [stdout] at /opt/rustwide/workdir/src/world.rs:371:9 [INFO] [stdout] 22: 0x5fe4a9ebcd31 - ssim::world::tests::queries::entity_producer_system::ha45b70431f169c75 [INFO] [stdout] at /opt/rustwide/workdir/src/world.rs:479:21 [INFO] [stdout] 23: 0x5fe4a9ed3d58 - ssim::systems::WorldSystem::run::h3bb421c62bb5955d [INFO] [stdout] at /opt/rustwide/workdir/src/systems.rs:77:9 [INFO] [stdout] 24: 0x5fe4a9ed7c95 - ssim::world::World::run::hde009ee308931a00 [INFO] [stdout] at /opt/rustwide/workdir/src/world.rs:154:37 [INFO] [stdout] 25: 0x5fe4a9ebcba2 - ssim::world::tests::queries::ha3201468b951d6a2 [INFO] [stdout] at /opt/rustwide/workdir/src/world.rs:533:9 [INFO] [stdout] 26: 0x5fe4a9ebcae7 - ssim::world::tests::queries::{{closure}}::h131958986876e0fe [INFO] [stdout] at /opt/rustwide/workdir/src/world.rs:467:17 [INFO] [stdout] 27: 0x5fe4a9ecee06 - core::ops::function::FnOnce::call_once::hce0252704b579c44 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x5fe4a9f1b84b - core::ops::function::FnOnce::call_once::h1dfa20b1ec1f6e08 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x5fe4a9f1b84b - test::__rust_begin_short_backtrace::h7b10906492afc420 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:637:18 [INFO] [stdout] 30: 0x5fe4a9f1a738 - test::run_test_in_process::{{closure}}::h51c1c0d319f72c0a [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:60 [INFO] [stdout] 31: 0x5fe4a9f1a738 - as core::ops::function::FnOnce<()>>::call_once::h5fadb750f3dbe714 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x5fe4a9f1a738 - std::panicking::try::do_call::h1ca5071cef82bb40 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 33: 0x5fe4a9f1a738 - std::panicking::try::h6931de76fb9a61b1 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 34: 0x5fe4a9f1a738 - std::panic::catch_unwind::h67fc9dccf413f4e5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 35: 0x5fe4a9f1a738 - test::run_test_in_process::ha966dfbb1d048be5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:27 [INFO] [stdout] 36: 0x5fe4a9f1a738 - test::run_test::{{closure}}::he209928ac5e8a3b8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:581:43 [INFO] [stdout] 37: 0x5fe4a9ede6c5 - test::run_test::{{closure}}::h34c6289e0b5ed5a5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:611:41 [INFO] [stdout] 38: 0x5fe4a9ede6c5 - std::sys::backtrace::__rust_begin_short_backtrace::h365aabf21799e6fc [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x5fe4a9ee213a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3d5e582cba74b1c3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x5fe4a9ee213a - as core::ops::function::FnOnce<()>>::call_once::h1214c75c3f73f94f [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x5fe4a9ee213a - std::panicking::try::do_call::h73540336a45c0cec [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 42: 0x5fe4a9ee213a - std::panicking::try::h428956564307af63 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 43: 0x5fe4a9ee213a - std::panic::catch_unwind::h1a53a6ea2f2041e3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 44: 0x5fe4a9ee213a - std::thread::Builder::spawn_unchecked_::{{closure}}::hac66cbb88d807e14 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x5fe4a9ee213a - core::ops::function::FnOnce::call_once{{vtable.shim}}::had7e2d02878d3212 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5fe4a9f59f2b - as core::ops::function::FnOnce>::call_once::h292d1663b0785fda [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 47: 0x5fe4a9f59f2b - as core::ops::function::FnOnce>::call_once::h9d4af7b531852d72 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 48: 0x5fe4a9f59f2b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 49: 0x774d81864aa4 - [INFO] [stdout] 50: 0x774d818f1a34 - clone [INFO] [stdout] 51: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] world::tests::queries [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "4ecd82c228ff11c9cbe2cbec3db50b4e74f039eccfbea92adcd78ec3ce251017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ecd82c228ff11c9cbe2cbec3db50b4e74f039eccfbea92adcd78ec3ce251017", kill_on_drop: false }` [INFO] [stdout] 4ecd82c228ff11c9cbe2cbec3db50b4e74f039eccfbea92adcd78ec3ce251017