[INFO] fetching crate zengine_ecs 0.1.2... [INFO] testing zengine_ecs-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate zengine_ecs 0.1.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate zengine_ecs 0.1.2 [INFO] finished tweaking crates.io crate zengine_ecs 0.1.2 [INFO] tweaked toml for crates.io crate zengine_ecs 0.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zengine_ecs 0.1.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zengine_macro v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76076e49eda11f8e993da63b154ea26eab609206e14241fd86605dc13e29fd2d [INFO] running `Command { std: "docker" "start" "-a" "76076e49eda11f8e993da63b154ea26eab609206e14241fd86605dc13e29fd2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76076e49eda11f8e993da63b154ea26eab609206e14241fd86605dc13e29fd2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76076e49eda11f8e993da63b154ea26eab609206e14241fd86605dc13e29fd2d", kill_on_drop: false }` [INFO] [stdout] 76076e49eda11f8e993da63b154ea26eab609206e14241fd86605dc13e29fd2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0efe9d3c5dd8ab3052d9578d1de6a94a34e5b02acb8be34038b2dc5238e42f24 [INFO] running `Command { std: "docker" "start" "-a" "0efe9d3c5dd8ab3052d9578d1de6a94a34e5b02acb8be34038b2dc5238e42f24", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling zengine_macro v0.1.2 [INFO] [stderr] Compiling zengine_ecs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SubscriptionKey` is never constructed [INFO] [stdout] --> src/event.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct SubscriptionKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | Replace(usize, usize), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 199 - Replace(usize, usize), [INFO] [stdout] 199 + Replace((), usize), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_subscription(&self, token: &SubscriptionToken) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | fn get_subscription(&self, token: &SubscriptionToken) -> RwLockWriteGuard<'_, Subscription> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:514:48 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn get_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 514 | pub fn get_resource(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:527:52 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_mut_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_mut_resource(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:562:69 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn get_unsendable_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 562 | pub fn get_unsendable_resource(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 577 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 577 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:621:46 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn get_event_handler(&self) -> Option>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 621 | pub fn get_event_handler(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 636 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 636 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.22s [INFO] running `Command { std: "docker" "inspect" "0efe9d3c5dd8ab3052d9578d1de6a94a34e5b02acb8be34038b2dc5238e42f24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0efe9d3c5dd8ab3052d9578d1de6a94a34e5b02acb8be34038b2dc5238e42f24", kill_on_drop: false }` [INFO] [stdout] 0efe9d3c5dd8ab3052d9578d1de6a94a34e5b02acb8be34038b2dc5238e42f24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e4f52231b32c69d2cd33b4193d3868ac1ad63ec2df25db70ae336b66a83b813 [INFO] running `Command { std: "docker" "start" "-a" "2e4f52231b32c69d2cd33b4193d3868ac1ad63ec2df25db70ae336b66a83b813", kill_on_drop: false }` [INFO] [stdout] warning: struct `SubscriptionKey` is never constructed [INFO] [stdout] --> src/event.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct SubscriptionKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | Replace(usize, usize), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 199 - Replace(usize, usize), [INFO] [stdout] 199 + Replace((), usize), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_subscription(&self, token: &SubscriptionToken) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | fn get_subscription(&self, token: &SubscriptionToken) -> RwLockWriteGuard<'_, Subscription> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:514:48 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn get_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 514 | pub fn get_resource(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:527:52 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_mut_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_mut_resource(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:562:69 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn get_unsendable_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 562 | pub fn get_unsendable_resource(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 577 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 577 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:621:46 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn get_event_handler(&self) -> Option>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 621 | pub fn get_event_handler(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zengine_ecs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 636 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 636 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubscriptionKey` is never constructed [INFO] [stdout] --> src/event.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct SubscriptionKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheTest` is never constructed [INFO] [stdout] --> src/system/mod.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | struct CacheTest { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | Replace(usize, usize), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 199 - Replace(usize, usize), [INFO] [stdout] 199 + Replace((), usize), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Component5` is never constructed [INFO] [stdout] --> src/world.rs:698:12 [INFO] [stdout] | [INFO] [stdout] 698 | struct Component5 {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_subscription(&self, token: &SubscriptionToken) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | fn get_subscription(&self, token: &SubscriptionToken) -> RwLockWriteGuard<'_, Subscription> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:514:48 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn get_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 514 | pub fn get_resource(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:527:52 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_mut_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_mut_resource(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:562:69 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn get_unsendable_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 562 | pub fn get_unsendable_resource(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 577 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 577 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:621:46 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn get_event_handler(&self) -> Option>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 621 | pub fn get_event_handler(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 636 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 636 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "2e4f52231b32c69d2cd33b4193d3868ac1ad63ec2df25db70ae336b66a83b813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e4f52231b32c69d2cd33b4193d3868ac1ad63ec2df25db70ae336b66a83b813", kill_on_drop: false }` [INFO] [stdout] 2e4f52231b32c69d2cd33b4193d3868ac1ad63ec2df25db70ae336b66a83b813 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd31c0e91755a085b985209d0e69cfc975e4da54b4b0583210b9c67b251f3e72 [INFO] running `Command { std: "docker" "start" "-a" "bd31c0e91755a085b985209d0e69cfc975e4da54b4b0583210b9c67b251f3e72", kill_on_drop: false }` [INFO] [stderr] warning: struct `SubscriptionKey` is never constructed [INFO] [stderr] --> src/event.rs:197:8 [INFO] [stderr] | [INFO] [stderr] 197 | struct SubscriptionKey { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/world.rs:199:25 [INFO] [stderr] | [INFO] [stderr] 199 | Replace(usize, usize), [INFO] [stderr] | ------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 199 - Replace(usize, usize), [INFO] [stderr] 199 + Replace((), usize), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/event.rs:143:25 [INFO] [stderr] | [INFO] [stderr] 143 | fn get_subscription(&self, token: &SubscriptionToken) -> RwLockWriteGuard { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 143 | fn get_subscription(&self, token: &SubscriptionToken) -> RwLockWriteGuard<'_, Subscription> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world.rs:514:48 [INFO] [stderr] | [INFO] [stderr] 514 | pub fn get_resource(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 514 | pub fn get_resource(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world.rs:527:52 [INFO] [stderr] | [INFO] [stderr] 527 | pub fn get_mut_resource(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 527 | pub fn get_mut_resource(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world.rs:562:69 [INFO] [stderr] | [INFO] [stderr] 562 | pub fn get_unsendable_resource(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 562 | pub fn get_unsendable_resource(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world.rs:576:9 [INFO] [stderr] | [INFO] [stderr] 576 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 577 | ) -> Option> { [INFO] [stderr] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 577 | ) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world.rs:621:46 [INFO] [stderr] | [INFO] [stderr] 621 | pub fn get_event_handler(&self) -> Option>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 621 | pub fn get_event_handler(&self) -> Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world.rs:635:9 [INFO] [stderr] | [INFO] [stderr] 635 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 636 | ) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 636 | ) -> Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: struct `CacheTest` is never constructed [INFO] [stderr] --> src/system/mod.rs:246:12 [INFO] [stderr] | [INFO] [stderr] 246 | struct CacheTest { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Component5` is never constructed [INFO] [stderr] --> src/world.rs:698:12 [INFO] [stderr] | [INFO] [stderr] 698 | struct Component5 {} [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `zengine_ecs` (lib) generated 9 warnings (run `cargo fix --lib -p zengine_ecs` to apply 7 suggestions) [INFO] [stderr] warning: `zengine_ecs` (lib test) generated 11 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zengine_ecs-5ff3d7674c00856e) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test archetype::tests::migrate_component ... ok [INFO] [stdout] test archetype::tests::new_from_component ... ok [INFO] [stdout] test entity::tests::generate_an_entity ... ok [INFO] [stdout] test event::tests::produce ... ok [INFO] [stdout] test event::tests::buffer_increase ... ok [INFO] [stdout] test event::tests::produce_and_read ... ok [INFO] [stdout] test event::tests::produce_and_read_no_new_content ... ok [INFO] [stdout] test event::tests::produce_buffer_full_and_read_no_new_content ... ok [INFO] [stdout] test event::tests::produce_cycling ... ok [INFO] [stdout] test event::tests::publish_and_read_one_element_after_subscribe ... ok [INFO] [stdout] test event::tests::publish_subscribe_and_read ... ok [INFO] [stdout] test event::tests::sequence_correctness ... ok [INFO] [stdout] test event::tests::stream_with_lazy_subscriber ... ok [INFO] [stdout] test query::tests::simple_query ... ok [INFO] [stdout] test query::tests::optional_component_query ... ok [INFO] [stdout] test query::tests::tuple_query ... ok [INFO] [stdout] test query::tests::tuple_with_mutable_query ... ok [INFO] [stdout] test world::tests::component_insert ... ok [INFO] [stdout] test query::tests::tuple_with_2_mutable_query ... ok [INFO] [stdout] test world::tests::add_component_and_replace_old_one ... ok [INFO] [stdout] test system::tests::test_executor ... ok [INFO] [stdout] test world::tests::insert_component_as_first ... ok [INFO] [stdout] test world::tests::insert_multiple_entity_and_add_one_component ... ok [INFO] [stdout] test world::tests::component_replace ... ok [INFO] [stdout] test world::tests::insert_two_component_same_entity ... ok [INFO] [stdout] test world::tests::resources ... ok [INFO] [stdout] test world::tests::multiple_component_insert ... ok [INFO] [stdout] test world::tests::spawn ... ok [INFO] [stdout] test world::tests::spawn_without_component ... ok [INFO] [stdout] test world::tests::despawn ... ok [INFO] [stdout] test world::tests::remove_component ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests zengine_ecs [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/query/mod.rs - query::Query (line 55) ... ignored [INFO] [stdout] test src/query/mod.rs - query::Query (line 62) ... ignored [INFO] [stdout] test src/query/mod.rs - query::Query (line 69) ... ignored [INFO] [stdout] test src/system/system_parameter/res_parameter.rs - system::system_parameter::res_parameter::UnsendableResMut (line 244) ... ok [INFO] [stdout] test src/query/mod.rs - query::Query (line 82) ... ok [INFO] [stdout] test src/system/mod.rs - system (line 13) ... ok [INFO] [stdout] test src/system/system_parameter/local_parameter.rs - system::system_parameter::local_parameter::Local (line 13) ... ok [INFO] [stdout] test src/resource.rs - resource::UnsendableResource (line 55) ... ok [INFO] [stdout] test src/system/system_parameter/command.rs - system::system_parameter::command::Commands (line 119) ... ok [INFO] [stdout] test src/system/system_parameter/res_parameter.rs - system::system_parameter::res_parameter::Res (line 16) ... ok [INFO] [stdout] test src/entity.rs - entity::Entity (line 15) ... ok [INFO] [stdout] test src/resource.rs - resource::Resource (line 18) ... ok [INFO] [stdout] test src/system/system_parameter/event_parameter.rs - system::system_parameter::event_parameter::Event (line 80) ... ok [INFO] [stdout] test src/system/system_parameter/event_parameter.rs - system::system_parameter::event_parameter::EventStream (line 14) ... ok [INFO] [stdout] test src/system/system_parameter/res_parameter.rs - system::system_parameter::res_parameter::UnsendableRes (line 185) ... ok [INFO] [stdout] test src/world.rs - world::World::query (line 460) ... ok [INFO] [stdout] test src/system/system_parameter/res_parameter.rs - system::system_parameter::res_parameter::ResMut (line 72) ... ok [INFO] [stdout] test src/world.rs - world::World::query (line 484) ... ok [INFO] [stdout] test src/system/system_parameter/event_parameter.rs - system::system_parameter::event_parameter::EventPublisher (line 138) ... ok [INFO] [stdout] test src/world.rs - world::World::spawn (line 85) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bd31c0e91755a085b985209d0e69cfc975e4da54b4b0583210b9c67b251f3e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd31c0e91755a085b985209d0e69cfc975e4da54b4b0583210b9c67b251f3e72", kill_on_drop: false }` [INFO] [stdout] bd31c0e91755a085b985209d0e69cfc975e4da54b4b0583210b9c67b251f3e72