[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] 6059dbe27ef5d9d76aba42baf4f9dc2880206910 [INFO] checking JerTH/sim against master#f82664191d0e8764b7435b9d72eb0e366b8b1464 for pr-83354 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Fsim" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JerTH/sim on toolchain f82664191d0e8764b7435b9d72eb0e366b8b1464 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "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-14/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: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 125b0855f872fc0e6df80d6fee1936cbe617c4b36a2340ff6dc3b1789af3b361 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "125b0855f872fc0e6df80d6fee1936cbe617c4b36a2340ff6dc3b1789af3b361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "125b0855f872fc0e6df80d6fee1936cbe617c4b36a2340ff6dc3b1789af3b361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "125b0855f872fc0e6df80d6fee1936cbe617c4b36a2340ff6dc3b1789af3b361", kill_on_drop: false }` [INFO] [stdout] 125b0855f872fc0e6df80d6fee1936cbe617c4b36a2340ff6dc3b1789af3b361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4adc9b864eff9b1002cb6e1247b658153fc67921de1e1de42278bc82b9e0eab8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4adc9b864eff9b1002cb6e1247b658153fc67921de1e1de42278bc82b9e0eab8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking ssim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `math::*`, `sim::*` [INFO] [stdout] --> src/constants.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ math::*, sim::* }; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btree_set::Union` [INFO] [stdout] --> src/world.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cmp::Ordering, collections::{HashMap, btree_set::Union}, usize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `math::*`, `sim::*` [INFO] [stdout] --> src/constants.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ math::*, sim::* }; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btree_set::Union` [INFO] [stdout] --> src/world.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cmp::Ordering, collections::{HashMap, btree_set::Union}, usize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/sim.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reads` [INFO] [stdout] --> src/sim.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 292 | fn update(reads: Self::Reads, data: Self::Writes) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reads` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/sim.rs:292:35 [INFO] [stdout] | [INFO] [stdout] 292 | fn update(reads: Self::Reads, data: Self::Writes) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/output.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | OutputFrequency::Hertz(f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/output.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | for (i, field) in self.global_fields.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/identity.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/identity.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | fn cmp(&self, other: &Self) -> Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tid` [INFO] [stdout] --> src/world.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | fn component_count(&self, tid: &ComponentContainerTypeId) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/world.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | fn execute(self, world: &LocalWorld) -> QueryResult<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_world` [INFO] [stdout] --> src/world.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let local_world = self.local_world; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter_count` [INFO] [stdout] --> src/world.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let filter_count = self.filter_set.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/world.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let query = builder.make(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | let mut frame = self._reference_frame; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | let mut dynamic = PhysDynamic { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | let mut rotation = PhysRotational { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | let mut collision = PhysCollision::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/sim.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reads` [INFO] [stdout] --> src/sim.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 292 | fn update(reads: Self::Reads, data: Self::Writes) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reads` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/sim.rs:292:35 [INFO] [stdout] | [INFO] [stdout] 292 | fn update(reads: Self::Reads, data: Self::Writes) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/output.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | OutputFrequency::Hertz(f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/output.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | for (i, field) in self.global_fields.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/identity.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/identity.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | fn cmp(&self, other: &Self) -> Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tid` [INFO] [stdout] --> src/world.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | fn component_count(&self, tid: &ComponentContainerTypeId) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/world.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | fn execute(self, world: &LocalWorld) -> QueryResult<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_world` [INFO] [stdout] --> src/world.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let local_world = self.local_world; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter_count` [INFO] [stdout] --> src/world.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let filter_count = self.filter_set.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut minimum = 0usize; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `time_adjusted_bounding_radius` [INFO] [stdout] --> src/sim.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn time_adjusted_bounding_radius(&self, dt: f32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hertz` [INFO] [stdout] --> src/output.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Hertz(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Frames` [INFO] [stdout] --> src/output.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Frames(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SimTime` [INFO] [stdout] --> src/output.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | SimTime(f64), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `ENTITYID_COUNTER` [INFO] [stdout] --> src/identity.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | static mut ENTITYID_COUNTER: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `EntityId` [INFO] [stdout] --> src/identity.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct EntityId(u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/identity.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new() -> EntityId { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `func` [INFO] [stdout] --> src/world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | func: Box SystemResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/world.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn new() -> Self where T: 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/world.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn new(name: &str) -> Self where T: 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `instance_id` [INFO] [stdout] --> src/world.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn instance_id(&self) -> InstanceId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `component_count` [INFO] [stdout] --> src/world.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn component_count(&self, tid: &ComponentContainerTypeId) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_system` [INFO] [stdout] --> src/world.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn run_system(&self, system: (usize, impl Fn(&LocalWorld) -> SystemResult)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/world.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn new() -> Self { unimplemented!() } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Velocity` [INFO] [stdout] --> src/world.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | struct Velocity; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Player` [INFO] [stdout] --> src/world.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | struct Player; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enemy` [INFO] [stdout] --> src/world.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | struct Enemy; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `world` [INFO] [stdout] --> src/world.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | world: &'a World, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `execution_id` [INFO] [stdout] --> src/world.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | execution_id: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local_execution_id` [INFO] [stdout] --> src/world.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn local_execution_id(&self) -> LocalExecutionId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cached_query_set` [INFO] [stdout] --> src/world.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn cached_query_set(&self) -> std::collections::HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minimum_component_set` [INFO] [stdout] --> src/world.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn minimum_component_set(&self, filter_set: FilterSet) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cached` [INFO] [stdout] --> src/world.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn cached(world: &'a LocalWorld) -> QueryBuilder<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/world.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | fn execute(self, world: &LocalWorld) -> QueryResult<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `minimum_set` [INFO] [stdout] --> src/world.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | minimum_set: &'a ComponentSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/world.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/world.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn execute(self, world: &LocalWorld) -> QueryResult<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Mut` [INFO] [stdout] --> src/world.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 411 | struct Mut<'a, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ref` [INFO] [stdout] --> src/world.rs:415:8 [INFO] [stdout] | [INFO] [stdout] 415 | struct Ref<'a, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | let mut frame = self._reference_frame; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | let mut dynamic = PhysDynamic { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | let mut rotation = PhysRotational { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | let mut collision = PhysCollision::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut minimum = 0usize; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `time_adjusted_bounding_radius` [INFO] [stdout] --> src/sim.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn time_adjusted_bounding_radius(&self, dt: f32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hertz` [INFO] [stdout] --> src/output.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Hertz(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Frames` [INFO] [stdout] --> src/output.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Frames(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SimTime` [INFO] [stdout] --> src/output.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | SimTime(f64), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `ENTITYID_COUNTER` [INFO] [stdout] --> src/identity.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | static mut ENTITYID_COUNTER: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `EntityId` [INFO] [stdout] --> src/identity.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct EntityId(u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/identity.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new() -> EntityId { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `func` [INFO] [stdout] --> src/world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | func: Box SystemResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_content_type` [INFO] [stdout] --> src/world.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn from_content_type() -> Self where T: 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/world.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn new() -> Self where T: 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/world.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn new(name: &str) -> Self where T: 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `instance_id` [INFO] [stdout] --> src/world.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn instance_id(&self) -> InstanceId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `component_count` [INFO] [stdout] --> src/world.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn component_count(&self, tid: &ComponentContainerTypeId) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_system` [INFO] [stdout] --> src/world.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn run_system(&self, system: (usize, impl Fn(&LocalWorld) -> SystemResult)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/world.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn new() -> Self { unimplemented!() } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Velocity` [INFO] [stdout] --> src/world.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | struct Velocity; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Player` [INFO] [stdout] --> src/world.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | struct Player; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enemy` [INFO] [stdout] --> src/world.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | struct Enemy; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `world` [INFO] [stdout] --> src/world.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | world: &'a World, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `execution_id` [INFO] [stdout] --> src/world.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | execution_id: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local_execution_id` [INFO] [stdout] --> src/world.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn local_execution_id(&self) -> LocalExecutionId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cached_query_set` [INFO] [stdout] --> src/world.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn cached_query_set(&self) -> std::collections::HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minimum_component_set` [INFO] [stdout] --> src/world.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn minimum_component_set(&self, filter_set: FilterSet) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/world.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | fn new() -> QueryBuilder<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cached` [INFO] [stdout] --> src/world.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn cached(world: &'a LocalWorld) -> QueryBuilder<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/world.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | fn execute(self, world: &LocalWorld) -> QueryResult<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `minimum_set` [INFO] [stdout] --> src/world.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | minimum_set: &'a ComponentSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/world.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ComponentRead` [INFO] [stdout] --> src/world.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | ComponentRead(ComponentContainerTypeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ComponentWrite` [INFO] [stdout] --> src/world.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | ComponentWrite(ComponentContainerTypeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ComponentNot` [INFO] [stdout] --> src/world.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | ComponentNot(ComponentContainerTypeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SpatialCloserThan` [INFO] [stdout] --> src/world.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | SpatialCloserThan(f64, (f64, f64, f64)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SpatialFurtherThan` [INFO] [stdout] --> src/world.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | SpatialFurtherThan(f64, (f64, f64, f64)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `FilterSet` [INFO] [stdout] --> src/world.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | type FilterSet = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `QueryBuilder` [INFO] [stdout] --> src/world.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | struct QueryBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/world.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn read(mut self) -> Self where T: 'static { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/world.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | fn write(mut self) -> Self where T: 'static { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `not` [INFO] [stdout] --> src/world.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | fn not(mut self) -> Self where T: 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `closer_than` [INFO] [stdout] --> src/world.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | fn closer_than(mut self, max_dist: f64, pos: &impl Spatial) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `further_than` [INFO] [stdout] --> src/world.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | fn further_than(mut self, min_dist: f64, pos: &impl Spatial) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_filters` [INFO] [stdout] --> src/world.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | fn sort_filters(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make` [INFO] [stdout] --> src/world.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | fn make(self) -> Query { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/world.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn execute(self, world: &LocalWorld) -> QueryResult<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Mut` [INFO] [stdout] --> src/world.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 411 | struct Mut<'a, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ref` [INFO] [stdout] --> src/world.rs:415:8 [INFO] [stdout] | [INFO] [stdout] 415 | struct Ref<'a, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.45s [INFO] running `Command { std: "docker" "inspect" "4adc9b864eff9b1002cb6e1247b658153fc67921de1e1de42278bc82b9e0eab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4adc9b864eff9b1002cb6e1247b658153fc67921de1e1de42278bc82b9e0eab8", kill_on_drop: false }` [INFO] [stdout] 4adc9b864eff9b1002cb6e1247b658153fc67921de1e1de42278bc82b9e0eab8