[INFO] cloning repository https://github.com/raniejade/yahmc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raniejade/yahmc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franiejade%2Fyahmc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franiejade%2Fyahmc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3db12f9634869d4b6d83e845b7c48d9a8d649b83 [INFO] checking raniejade/yahmc against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franiejade%2Fyahmc" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raniejade/yahmc on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raniejade/yahmc [INFO] finished tweaking git repo https://github.com/raniejade/yahmc [INFO] tweaked toml for git repo https://github.com/raniejade/yahmc written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/raniejade/yahmc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rlua v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f577f2b45b08368d3e9b92e9f08c785d6b0cc42385340689f4f7650e19b1288b [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" "f577f2b45b08368d3e9b92e9f08c785d6b0cc42385340689f4f7650e19b1288b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f577f2b45b08368d3e9b92e9f08c785d6b0cc42385340689f4f7650e19b1288b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f577f2b45b08368d3e9b92e9f08c785d6b0cc42385340689f4f7650e19b1288b", kill_on_drop: false }` [INFO] [stdout] f577f2b45b08368d3e9b92e9f08c785d6b0cc42385340689f4f7650e19b1288b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 434f4d2b55b93e1500c676285a8c4fbb75062f7d9c5280651391cbfd82b9dbab [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" "434f4d2b55b93e1500c676285a8c4fbb75062f7d9c5280651391cbfd82b9dbab", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling rlua v0.13.0 [INFO] [stderr] Checking proc-macro2 v0.3.5 [INFO] [stderr] Checking float-cmp v0.4.0 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Checking quote v0.5.1 [INFO] [stderr] Checking syn v0.13.1 [INFO] [stderr] Checking ecs2 v0.1.0 (/opt/rustwide/workdir/ecs2) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs2/src/resource.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | inner: Ref<'a, Box>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs2/src/resource.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | inner: RefMut<'a, Box>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs2/src/resource.rs:74:50 [INFO] [stdout] | [INFO] [stdout] 74 | resources: FxHashMap>>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs2/src/resource.rs:136:69 [INFO] [stdout] | [INFO] [stdout] 136 | fn try_fetch_internal(&self, id: TypeId) -> Option<&RefCell>> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Any` [INFO] [stdout] --> ecs2/src/component.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `RefMut` [INFO] [stdout] --> ecs2/src/component.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component::Component` [INFO] [stdout] --> ecs2/src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use component::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs2/src/system.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | systems: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Executor + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> ecs2/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aspect::Aspect` [INFO] [stdout] --> ecs2/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use aspect::Aspect; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs2/src/resource.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | inner: Ref<'a, Box>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs2/src/resource.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | inner: RefMut<'a, Box>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs2/src/resource.rs:74:50 [INFO] [stdout] | [INFO] [stdout] 74 | resources: FxHashMap>>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs2/src/resource.rs:136:69 [INFO] [stdout] | [INFO] [stdout] 136 | fn try_fetch_internal(&self, id: TypeId) -> Option<&RefCell>> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Any` [INFO] [stdout] --> ecs2/src/component.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `RefMut` [INFO] [stdout] --> ecs2/src/component.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component::Component` [INFO] [stdout] --> ecs2/src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use component::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs2/src/system.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | systems: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Executor + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> ecs2/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aspect::Aspect` [INFO] [stdout] --> ecs2/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use aspect::Aspect; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> ecs2/src/aspect.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn check(&self, manager: &ComponentManager, bits: &BitSet) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> ecs2/src/entity.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | fn add(&mut self, entity: Entity, 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] --> ecs2/src/entity.rs:95:53 [INFO] [stdout] | [INFO] [stdout] 95 | fn add(&mut self, entity: Entity, component: T) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> ecs2/src/entity.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | fn remove(&mut self, entity: Entity) -> T { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> ecs2/src/entity.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | fn contains(&self, entity: Entity) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> ecs2/src/entity.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | fn get(&self, entity: Entity) -> Option<&T> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> ecs2/src/entity.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_mut(&mut self, entity: Entity) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> ecs2/src/entity.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | fn remove(&mut self, component_manager: &ComponentManager, entity: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ecs2/src/entity.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn destroy(mut self) { [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] --> ecs2/src/entity.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn commit(mut self) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RESOURCE_NOT_FOUND` [INFO] [stdout] --> ecs2/src/resource.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const RESOURCE_NOT_FOUND: &str = "No resource with the given id"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> ecs2/src/resource.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resources` [INFO] [stdout] --> ecs2/src/resource.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | resources: FxHashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> ecs2/src/resource.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> ecs2/src/resource.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn add(&mut self, resource: R) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_value` [INFO] [stdout] --> ecs2/src/resource.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn has_value(&self, res_id: ResourceId) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> ecs2/src/resource.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn fetch(&self) -> Fetch [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_fetch` [INFO] [stdout] --> ecs2/src/resource.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn try_fetch(&self) -> Option> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_mut` [INFO] [stdout] --> ecs2/src/resource.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn fetch_mut(&self) -> FetchMut [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_fetch_mut` [INFO] [stdout] --> ecs2/src/resource.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn try_fetch_mut(&self) -> Option> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_fetch_internal` [INFO] [stdout] --> ecs2/src/resource.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn try_fetch_internal(&self, id: TypeId) -> Option<&RefCell>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> ecs2/src/context.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(entity_manager: &'a mut EntityManager) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> ecs2/src/entity.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register` [INFO] [stdout] --> ecs2/src/entity.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn register(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> ecs2/src/entity.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> ecs2/src/entity.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register` [INFO] [stdout] --> ecs2/src/entity.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn register(&mut self, component_manager: &ComponentManager) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> ecs2/src/aspect.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn check(&self, manager: &ComponentManager, bits: &BitSet) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> ecs2/src/entity.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | fn add(&mut self, entity: Entity, 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] --> ecs2/src/entity.rs:95:53 [INFO] [stdout] | [INFO] [stdout] 95 | fn add(&mut self, entity: Entity, component: T) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> ecs2/src/entity.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | fn remove(&mut self, entity: Entity) -> T { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> ecs2/src/entity.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | fn contains(&self, entity: Entity) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> ecs2/src/entity.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | fn get(&self, entity: Entity) -> Option<&T> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> ecs2/src/entity.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_mut(&mut self, entity: Entity) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> ecs2/src/entity.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | fn remove(&mut self, component_manager: &ComponentManager, entity: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> ecs2/src/entity.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> ecs2/src/storage/vec.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> ecs2/src/system.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispatch` [INFO] [stdout] --> ecs2/src/system.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn dispatch(&mut self, context: &mut InternalContext, duration: Duration) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entity_manager` [INFO] [stdout] --> ecs2/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | entity_manager: EntityManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dispatcher` [INFO] [stdout] --> ecs2/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | dispatcher: SystemDispatcher<'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> ecs2/src/system.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | fn process(&mut self, context: &mut impl Context, duration: Duration, entities: Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> ecs2/src/system.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | fn process(&mut self, context: &mut impl Context, duration: Duration, entities: Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> ecs2/src/system.rs:88:59 [INFO] [stdout] | [INFO] [stdout] 88 | fn process(&mut self, context: &mut impl Context, duration: Duration, entities: Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities` [INFO] [stdout] --> ecs2/src/system.rs:88:79 [INFO] [stdout] | [INFO] [stdout] 88 | fn process(&mut self, context: &mut impl Context, duration: Duration, entities: Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> ecs2/src/storage/vec.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | mem::replace(&mut self.components[index], component); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ecs2/src/aspect.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let mut bits = BitSet::new(); [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] --> ecs2/src/entity.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn destroy(mut self) { [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] --> ecs2/src/entity.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn commit(mut self) { [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] --> ecs2/src/entity.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | let mut index = AspectIndex::new(); [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] --> ecs2/src/storage/vec.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut storage: VecStorage = VecStorage::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register` [INFO] [stdout] --> ecs2/src/entity.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn register(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entity_manager` [INFO] [stdout] --> ecs2/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | entity_manager: EntityManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dispatcher` [INFO] [stdout] --> ecs2/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | dispatcher: SystemDispatcher<'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> ecs2/src/storage/vec.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | mem::replace(&mut self.components[index], component); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking ecs_derive v0.1.0 (/opt/rustwide/workdir/ecs_derive) [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> engine/src/api/mod.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | methods.add_method("require", |lua, api, (module): (String)| { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> engine/src/api/mod.rs:45:60 [INFO] [stdout] | [INFO] [stdout] 45 | methods.add_method("require", |lua, api, (module): (String)| { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `convention` [INFO] [stdout] --> engine/src/api/mod.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn install(lua: &Lua, convention: &Convention) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_convention` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapper` [INFO] [stdout] --> engine/src/api/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let wrapper = lua.create_table()?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> engine/src/resource/disk.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_resource(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> engine/src/api/mod.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | methods.add_method("require", |lua, api, (module): (String)| { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> engine/src/api/mod.rs:45:60 [INFO] [stdout] | [INFO] [stdout] 45 | methods.add_method("require", |lua, api, (module): (String)| { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClassProxyBuilder` [INFO] [stdout] --> engine/src/lua/proxy.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ClassProxyBuilder<'lua>(&'lua Lua, Table<'lua>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> engine/src/lua/proxy.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create(lua: &'lua Lua, table: Table<'lua>) -> ClassProxyBuilder<'lua> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> engine/src/lua/proxy.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn build(self, mt: Table) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `REGISTRY_NAME` [INFO] [stdout] --> engine/src/lua/registry.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | static REGISTRY_NAME: &str = "__yamhc__registry"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClassRegistry` [INFO] [stdout] --> engine/src/lua/registry.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ClassRegistry<'lua>(&'lua Lua); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> engine/src/lua/registry.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create(lua: &'lua Lua) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> engine/src/lua/registry.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn get(&self, name: &String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register` [INFO] [stdout] --> engine/src/lua/registry.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn register(&self, name: &String, class: Table<'lua>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_internal_registry` [INFO] [stdout] --> engine/src/lua/registry.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_internal_registry(&self) -> Result
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `INDEX` [INFO] [stdout] --> engine/src/lua/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub static INDEX: &str = "__index"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root` [INFO] [stdout] --> engine/src/resource/disk.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | root: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Internal` [INFO] [stdout] --> engine/src/resource/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Internal(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pattern_parentheses` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> engine/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(pattern_parentheses)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking yahmc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `convention` [INFO] [stdout] --> engine/src/api/mod.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn install(lua: &Lua, convention: &Convention) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_convention` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapper` [INFO] [stdout] --> engine/src/api/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let wrapper = lua.create_table()?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> engine/src/resource/disk.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_resource(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root` [INFO] [stdout] --> engine/src/resource/disk.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | root: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Internal` [INFO] [stdout] --> engine/src/resource/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Internal(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pattern_parentheses` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> engine/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(pattern_parentheses)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> engine/src/lua/proxy.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | / lua.eval::<()>( [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | v = Vector:new() [INFO] [stdout] 140 | | v.x = 1 [INFO] [stdout] ... | [INFO] [stdout] 143 | | None, [INFO] [stdout] 144 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> engine/src/lua/proxy.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | globals.set(name.to_owned(), class); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> engine/src/lua/registry.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | registry.register(&name, class); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ecs v0.1.0 (/opt/rustwide/workdir/ecs) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> ecs/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> ecs/src/component/storage/mod.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | mem::swap(&mut component, { self.1.get_mut(index) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::join::Join` [INFO] [stdout] --> ecs/src/entity.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::join::Join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs/src/resource.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | inner: Ref<'a, Box>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs/src/resource.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | inner: RefMut<'a, Box>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs/src/resource.rs:74:50 [INFO] [stdout] | [INFO] [stdout] 74 | resources: FxHashMap>>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs/src/resource.rs:136:69 [INFO] [stdout] | [INFO] [stdout] 136 | fn try_fetch_internal(&self, id: TypeId) -> Option<&RefCell>> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs/src/lib.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | systems: Vec + 'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SystemRunner<'a> + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> ecs/src/component/storage/mod.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | mem::swap(&mut component, { self.1.get_mut(index) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::join::Join` [INFO] [stdout] --> ecs/src/entity.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::join::Join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs/src/resource.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | inner: Ref<'a, Box>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs/src/resource.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | inner: RefMut<'a, Box>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs/src/resource.rs:74:50 [INFO] [stdout] | [INFO] [stdout] 74 | resources: FxHashMap>>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs/src/resource.rs:136:69 [INFO] [stdout] | [INFO] [stdout] 136 | fn try_fetch_internal(&self, id: TypeId) -> Option<&RefCell>> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> ecs/src/lib.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | systems: Vec + 'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SystemRunner<'a> + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::join::Join` [INFO] [stdout] --> ecs/src/component/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::super::join::Join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::join::Join` [INFO] [stdout] --> ecs/src/component/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::super::join::Join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ecs/src/component/storage/builtin/vec.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut storage: VecStorage = VecStorage::new(); [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] --> ecs/src/entity.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut entity_storage = EntityStorage::new(); [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] --> ecs/src/entity.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut entity_storage = EntityStorage::new(); [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] --> ecs/src/entity.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut entity_storage = EntityStorage::new(); [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] --> ecs/src/entity.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut entity_storage = EntityStorage::new(); [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] --> ecs/src/entity.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut entity_storage = EntityStorage::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities` [INFO] [stdout] --> ecs/tests/component_registration.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn run(&mut self, (entities, mut components): Self::SystemData) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `components` [INFO] [stdout] --> ecs/tests/component_registration.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | fn run(&mut self, (entities, mut components): Self::SystemData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_components` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ecs/tests/component_registration.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | fn run(&mut self, (entities, mut components): Self::SystemData) { [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] --> ecs/tests/component_registration.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut world = World::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `join` exists for tuple `(Fetch<'_, EntityStorage>, Storage<'_, MyComponent, FetchMut<'_, MaskedStorage>>)`, but its trait bounds were not satisfied [INFO] [stdout] --> ecs/tests/join.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | for (entity, mut my_component) in (entities, components).join() { [INFO] [stdout] | ^^^^ method cannot be called on `(Fetch<'_, EntityStorage>, Storage<'_, MyComponent, FetchMut<'_, MaskedStorage>>)` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/ecs/src/resource.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Fetch<'a, T: 'a> { [INFO] [stdout] | --------------------------- doesn't satisfy `Fetch<'_, EntityStorage>: ecs::join::Join` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/ecs/src/component/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / pub struct Storage<'a, T, D> [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | T: Component, [INFO] [stdout] 31 | | { [INFO] [stdout] ... | [INFO] [stdout] 34 | | phantom: PhantomData, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- doesn't satisfy `_: ecs::join::Join` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Fetch<'_, EntityStorage>: ecs::join::Join` [INFO] [stdout] which is required by `(Fetch<'_, EntityStorage>, Storage<'_, MyComponent, FetchMut<'_, MaskedStorage>>): ecs::join::Join` [INFO] [stdout] `Storage<'_, MyComponent, FetchMut<'_, MaskedStorage>>: ecs::join::Join` [INFO] [stdout] which is required by `(Fetch<'_, EntityStorage>, Storage<'_, MyComponent, FetchMut<'_, MaskedStorage>>): ecs::join::Join` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ecs::join::Join` [INFO] [stdout] --> ecs/tests/join.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ecs::join::Join; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ecs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "434f4d2b55b93e1500c676285a8c4fbb75062f7d9c5280651391cbfd82b9dbab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "434f4d2b55b93e1500c676285a8c4fbb75062f7d9c5280651391cbfd82b9dbab", kill_on_drop: false }` [INFO] [stdout] 434f4d2b55b93e1500c676285a8c4fbb75062f7d9c5280651391cbfd82b9dbab