[INFO] cloning repository https://github.com/jrdnrs/ecs-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jrdnrs/ecs-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrdnrs%2Fecs-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrdnrs%2Fecs-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b92b104c71fb1188a4b0c06fe2a30c037a4c4ac [INFO] building jrdnrs/ecs-rs against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrdnrs%2Fecs-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jrdnrs/ecs-rs on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jrdnrs/ecs-rs [INFO] finished tweaking git repo https://github.com/jrdnrs/ecs-rs [INFO] tweaked toml for git repo https://github.com/jrdnrs/ecs-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jrdnrs/ecs-rs 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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 115bad6ea23ff6f8fa84cf0836aec97990811345973589d59b4f5d1b7f025f17 [INFO] running `Command { std: "docker" "start" "-a" "115bad6ea23ff6f8fa84cf0836aec97990811345973589d59b4f5d1b7f025f17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "115bad6ea23ff6f8fa84cf0836aec97990811345973589d59b4f5d1b7f025f17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "115bad6ea23ff6f8fa84cf0836aec97990811345973589d59b4f5d1b7f025f17", kill_on_drop: false }` [INFO] [stdout] 115bad6ea23ff6f8fa84cf0836aec97990811345973589d59b4f5d1b7f025f17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7070c2d7388c5ec14688c8a3c6cf108c7511c46ae9d3c177a3b16f13fe5c2ed0 [INFO] running `Command { std: "docker" "start" "-a" "7070c2d7388c5ec14688c8a3c6cf108c7511c46ae9d3c177a3b16f13fe5c2ed0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling collections v1.2.1 (https://github.com/jrdnrs/collections-rs#ebd1a221) [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ecs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ComponentBundle` [INFO] [stdout] --> src/archetype.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ComponentBundle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_manager` [INFO] [stdout] --> src/archetype.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | comp_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_manager` [INFO] [stdout] --> src/event.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn clear_events(&self, resource_manager: &ResourceManager) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/query/bundle.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | fn parameter_ids(component_manager: &ComponentManager) -> Self::Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `archetype` [INFO] [stdout] --> src/query/bundle.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | fn prepare_storage<'a>(archetype: &'a Archetype, id: &Self::Id) -> Self::Storage<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archetype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | fn prepare_storage<'a>(archetype: &'a Archetype, id: &Self::Id) -> Self::Storage<'a> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/query/bundle.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn fetch_item<'a>(storage: Self::Storage<'a>, index: usize) -> Self::Item<'a> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/query/bundle.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn fetch_item<'a>(storage: Self::Storage<'a>, index: usize) -> Self::Item<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:120:44 [INFO] [stdout] | [INFO] [stdout] 120 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:255:44 [INFO] [stdout] | [INFO] [stdout] 255 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_events` is never used [INFO] [stdout] --> src/event.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl EventManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn clear_events(&self, resource_manager: &ResourceManager) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/query/filter.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct And { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 138 | pub(crate) inner: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/query/filter.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Not { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 142 | pub(crate) inner: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_two_mut` is never used [INFO] [stdout] --> src/util.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_two_mut<'a, T>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.34s [INFO] running `Command { std: "docker" "inspect" "7070c2d7388c5ec14688c8a3c6cf108c7511c46ae9d3c177a3b16f13fe5c2ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7070c2d7388c5ec14688c8a3c6cf108c7511c46ae9d3c177a3b16f13fe5c2ed0", kill_on_drop: false }` [INFO] [stdout] 7070c2d7388c5ec14688c8a3c6cf108c7511c46ae9d3c177a3b16f13fe5c2ed0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f349af2a128277fbb0ea1bc5368690caa90d50a060882eafbe611c2a8a3b9ba [INFO] running `Command { std: "docker" "start" "-a" "3f349af2a128277fbb0ea1bc5368690caa90d50a060882eafbe611c2a8a3b9ba", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `ComponentBundle` [INFO] [stdout] --> src/archetype.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ComponentBundle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_manager` [INFO] [stdout] --> src/archetype.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | comp_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_manager` [INFO] [stdout] --> src/event.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn clear_events(&self, resource_manager: &ResourceManager) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/query/bundle.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | fn parameter_ids(component_manager: &ComponentManager) -> Self::Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `archetype` [INFO] [stdout] --> src/query/bundle.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | fn prepare_storage<'a>(archetype: &'a Archetype, id: &Self::Id) -> Self::Storage<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archetype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | fn prepare_storage<'a>(archetype: &'a Archetype, id: &Self::Id) -> Self::Storage<'a> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/query/bundle.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn fetch_item<'a>(storage: Self::Storage<'a>, index: usize) -> Self::Item<'a> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/query/bundle.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn fetch_item<'a>(storage: Self::Storage<'a>, index: usize) -> Self::Item<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:120:44 [INFO] [stdout] | [INFO] [stdout] 120 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:255:44 [INFO] [stdout] | [INFO] [stdout] 255 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_events` is never used [INFO] [stdout] --> src/event.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl EventManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn clear_events(&self, resource_manager: &ResourceManager) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/query/filter.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct And { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 138 | pub(crate) inner: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/query/filter.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Not { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 142 | pub(crate) inner: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ecs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_two_mut` is never used [INFO] [stdout] --> src/util.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_two_mut<'a, T>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComponentBundle` [INFO] [stdout] --> src/archetype.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ComponentBundle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/archetype.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_manager` [INFO] [stdout] --> src/archetype.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | comp_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_manager` [INFO] [stdout] --> src/event.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn clear_events(&self, resource_manager: &ResourceManager) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/query/query.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | for (entity, h) in query.iter(&mut world) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/query/query.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | for (s, h) in query.iter(&mut world) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/query/query.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | for (s, h) in query.iter(&mut world) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/query/bundle.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | fn parameter_ids(component_manager: &ComponentManager) -> Self::Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `archetype` [INFO] [stdout] --> src/query/bundle.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | fn prepare_storage<'a>(archetype: &'a Archetype, id: &Self::Id) -> Self::Storage<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archetype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | fn prepare_storage<'a>(archetype: &'a Archetype, id: &Self::Id) -> Self::Storage<'a> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/query/bundle.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn fetch_item<'a>(storage: Self::Storage<'a>, index: usize) -> Self::Item<'a> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/query/bundle.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn fetch_item<'a>(storage: Self::Storage<'a>, index: usize) -> Self::Item<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:120:44 [INFO] [stdout] | [INFO] [stdout] 120 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query/bundle.rs:255:44 [INFO] [stdout] | [INFO] [stdout] 255 | fn build_filter(filter: FilterBuilder, id: &Self::Id) -> FilterBuilder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/system/system.rs:271:25 [INFO] [stdout] | [INFO] [stdout] 271 | for (h, s) in iter { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_events` is never used [INFO] [stdout] --> src/event.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl EventManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn clear_events(&self, resource_manager: &ResourceManager) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/query/filter.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct And { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 138 | pub(crate) inner: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/query/filter.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Not { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 142 | pub(crate) inner: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_two_mut` is never used [INFO] [stdout] --> src/util.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_two_mut<'a, T>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "3f349af2a128277fbb0ea1bc5368690caa90d50a060882eafbe611c2a8a3b9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f349af2a128277fbb0ea1bc5368690caa90d50a060882eafbe611c2a8a3b9ba", kill_on_drop: false }` [INFO] [stdout] 3f349af2a128277fbb0ea1bc5368690caa90d50a060882eafbe611c2a8a3b9ba