[INFO] fetching crate zengine_ecs 0.1.2... [INFO] testing zengine_ecs-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate zengine_ecs 0.1.2 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zengine_ecs 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 552a14c07fab3ca25af77c53b8c649e4600c6b1bea4bcd29e147de4e584fd9a5 [INFO] running `Command { std: "docker" "start" "-a" "552a14c07fab3ca25af77c53b8c649e4600c6b1bea4bcd29e147de4e584fd9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "552a14c07fab3ca25af77c53b8c649e4600c6b1bea4bcd29e147de4e584fd9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552a14c07fab3ca25af77c53b8c649e4600c6b1bea4bcd29e147de4e584fd9a5", kill_on_drop: false }` [INFO] [stdout] 552a14c07fab3ca25af77c53b8c649e4600c6b1bea4bcd29e147de4e584fd9a5 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09835b72337969a25e690b78ce9a19cb5fa9c885c096acd241b5d05b5cd3b1e0 [INFO] running `Command { std: "docker" "start" "-a" "09835b72337969a25e690b78ce9a19cb5fa9c885c096acd241b5d05b5cd3b1e0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [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 7.75s [INFO] running `Command { std: "docker" "inspect" "09835b72337969a25e690b78ce9a19cb5fa9c885c096acd241b5d05b5cd3b1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09835b72337969a25e690b78ce9a19cb5fa9c885c096acd241b5d05b5cd3b1e0", kill_on_drop: false }` [INFO] [stdout] 09835b72337969a25e690b78ce9a19cb5fa9c885c096acd241b5d05b5cd3b1e0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc69d6f85f7331cc72b5feb3517d974d2a42b582ce3b2c35b1473be6873a8c58 [INFO] running `Command { std: "docker" "start" "-a" "dc69d6f85f7331cc72b5feb3517d974d2a42b582ce3b2c35b1473be6873a8c58", 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] [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] 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: 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 3.59s [INFO] running `Command { std: "docker" "inspect" "dc69d6f85f7331cc72b5feb3517d974d2a42b582ce3b2c35b1473be6873a8c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc69d6f85f7331cc72b5feb3517d974d2a42b582ce3b2c35b1473be6873a8c58", kill_on_drop: false }` [INFO] [stdout] dc69d6f85f7331cc72b5feb3517d974d2a42b582ce3b2c35b1473be6873a8c58 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] edf9c830078d3ec8b3b998fb7a66fffc5942c40a34f75eb5ed5cd9d04243ea78 [INFO] running `Command { std: "docker" "start" "-a" "edf9c830078d3ec8b3b998fb7a66fffc5942c40a34f75eb5ed5cd9d04243ea78", 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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zengine_ecs-8d228be0a6c62f9b) [INFO] [stdout] [INFO] [stdout] running 31 tests [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 ... ok [INFO] [stdout] test archetype::tests::migrate_component ... ok [INFO] [stdout] test entity::tests::generate_an_entity ... ok [INFO] [stdout] test archetype::tests::new_from_component ... ok [INFO] [stdout] test event::tests::produce_buffer_full_and_read_no_new_content ... ok [INFO] [stdout] test event::tests::publish_and_read_one_element_after_subscribe ... ok [INFO] [stdout] test event::tests::produce_cycling ... ok [INFO] [stdout] test query::tests::tuple_with_2_mutable_query ... ok [INFO] [stdout] test system::tests::test_executor ... ok [INFO] [stdout] test world::tests::add_component_and_replace_old_one ... ok [INFO] [stdout] test event::tests::publish_subscribe_and_read ... ok [INFO] [stdout] test world::tests::component_replace ... ok [INFO] [stdout] test world::tests::component_insert ... ok [INFO] [stdout] test event::tests::sequence_correctness ... ok [INFO] [stdout] test world::tests::insert_component_as_first ... ok [INFO] [stdout] test world::tests::insert_two_component_same_entity ... ok [INFO] [stdout] test world::tests::resources ... ok [INFO] [stdout] test world::tests::insert_multiple_entity_and_add_one_component ... ok [INFO] [stdout] test world::tests::despawn ... ok [INFO] [stdout] test query::tests::tuple_query ... ok [INFO] [stdout] test query::tests::simple_query ... ok [INFO] [stdout] test query::tests::optional_component_query ... ok [INFO] [stdout] test query::tests::tuple_with_mutable_query ... ok [INFO] [stdout] test event::tests::stream_with_lazy_subscriber ... 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::remove_component ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [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::Res (line 16) ... ok [INFO] [stdout] test src/entity.rs - entity::Entity (line 15) ... ok [INFO] [stdout] test src/system/system_parameter/res_parameter.rs - system::system_parameter::res_parameter::ResMut (line 72) ... ok [INFO] [stdout] test src/system/system_parameter/res_parameter.rs - system::system_parameter::res_parameter::UnsendableResMut (line 244) ... 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/local_parameter.rs - system::system_parameter::local_parameter::Local (line 13) ... ok [INFO] [stdout] test src/resource.rs - resource::Resource (line 18) ... ok [INFO] [stdout] test src/world.rs - world::World::query (line 460) ... ok [INFO] [stdout] test src/system/system_parameter/event_parameter.rs - system::system_parameter::event_parameter::EventPublisher (line 138) ... ok [INFO] [stdout] test src/system/system_parameter/event_parameter.rs - system::system_parameter::event_parameter::Event (line 80) ... ok [INFO] [stdout] test src/world.rs - world::World::query (line 484) ... ok [INFO] [stdout] test src/resource.rs - resource::UnsendableResource (line 55) ... ok [INFO] [stdout] test src/system/system_parameter/res_parameter.rs - system::system_parameter::res_parameter::UnsendableRes (line 185) ... ok [INFO] [stdout] test src/system/mod.rs - system (line 13) ... ok [INFO] [stdout] test src/query/mod.rs - query::Query (line 82) ... ok [INFO] [stdout] test src/system/system_parameter/command.rs - system::system_parameter::command::Commands (line 119) ... 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 1.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "edf9c830078d3ec8b3b998fb7a66fffc5942c40a34f75eb5ed5cd9d04243ea78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf9c830078d3ec8b3b998fb7a66fffc5942c40a34f75eb5ed5cd9d04243ea78", kill_on_drop: false }` [INFO] [stdout] edf9c830078d3ec8b3b998fb7a66fffc5942c40a34f75eb5ed5cd9d04243ea78