[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] building JerTH/sim against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Fsim" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JerTH/sim on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-6-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d4c0a020ea464036aa481de56dda443ef37912170bb17019f2162d3b8b8f135 [INFO] running `Command { std: "docker" "start" "-a" "4d4c0a020ea464036aa481de56dda443ef37912170bb17019f2162d3b8b8f135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d4c0a020ea464036aa481de56dda443ef37912170bb17019f2162d3b8b8f135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4c0a020ea464036aa481de56dda443ef37912170bb17019f2162d3b8b8f135", kill_on_drop: false }` [INFO] [stdout] 4d4c0a020ea464036aa481de56dda443ef37912170bb17019f2162d3b8b8f135 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec538087b073c8665c790e16d7f460a8328c25148c500ce538bfb443813b4e67 [INFO] running `Command { std: "docker" "start" "-a" "ec538087b073c8665c790e16d7f460a8328c25148c500ce538bfb443813b4e67", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [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] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_ref_unchecked` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/world.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/world.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> src/world.rs:104:67 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/world.rs:269:75 [INFO] [stdout] | [INFO] [stdout] 269 | fn check_mid_frame_dependency(&self, dependency_type: DependencyType, component_id: ComponentSetId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INSTANCEID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | static mut INSTANCEID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCALEXECUTIONID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | static mut LOCALEXECUTIONID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unique` is never used [INFO] [stdout] --> src/identity.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait LinearId { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 35 | fn unique() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SparseSetKey` is never used [INFO] [stdout] --> src/collections.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait SparseSetKey: From + Clone + Copy {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 2.70s [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" "ec538087b073c8665c790e16d7f460a8328c25148c500ce538bfb443813b4e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec538087b073c8665c790e16d7f460a8328c25148c500ce538bfb443813b4e67", kill_on_drop: false }` [INFO] [stdout] ec538087b073c8665c790e16d7f460a8328c25148c500ce538bfb443813b4e67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dca20a0913825f60968d772bbe21489be36cbba2e353cd836d82caefeb1102e3 [INFO] running `Command { std: "docker" "start" "-a" "dca20a0913825f60968d772bbe21489be36cbba2e353cd836d82caefeb1102e3", 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] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_ref_unchecked` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/world.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/world.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> src/world.rs:104:67 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/world.rs:269:75 [INFO] [stdout] | [INFO] [stdout] 269 | fn check_mid_frame_dependency(&self, dependency_type: DependencyType, component_id: ComponentSetId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INSTANCEID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | static mut INSTANCEID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCALEXECUTIONID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | static mut LOCALEXECUTIONID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unique` is never used [INFO] [stdout] --> src/identity.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait LinearId { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 35 | fn unique() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SparseSetKey` is never used [INFO] [stdout] --> src/collections.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait SparseSetKey: From + Clone + Copy {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] 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] 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] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_ref_unchecked` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/world.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/world.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> src/world.rs:104:67 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/world.rs:269:75 [INFO] [stdout] | [INFO] [stdout] 269 | fn check_mid_frame_dependency(&self, dependency_type: DependencyType, component_id: ComponentSetId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INSTANCEID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | static mut INSTANCEID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCALEXECUTIONID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | static mut LOCALEXECUTIONID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unique` is never used [INFO] [stdout] --> src/identity.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait LinearId { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 35 | fn unique() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 1.21s [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" "dca20a0913825f60968d772bbe21489be36cbba2e353cd836d82caefeb1102e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca20a0913825f60968d772bbe21489be36cbba2e353cd836d82caefeb1102e3", kill_on_drop: false }` [INFO] [stdout] dca20a0913825f60968d772bbe21489be36cbba2e353cd836d82caefeb1102e3