[INFO] fetching crate zengine_ecs 0.1.2... [INFO] testing zengine_ecs-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate zengine_ecs 0.1.2 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zengine_ecs 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19cdc769726a5a901bef8a08140f53c1a510dd7acd345c7a55b704fd37430127 [INFO] running `Command { std: "docker" "start" "-a" "19cdc769726a5a901bef8a08140f53c1a510dd7acd345c7a55b704fd37430127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19cdc769726a5a901bef8a08140f53c1a510dd7acd345c7a55b704fd37430127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19cdc769726a5a901bef8a08140f53c1a510dd7acd345c7a55b704fd37430127", kill_on_drop: false }` [INFO] [stdout] 19cdc769726a5a901bef8a08140f53c1a510dd7acd345c7a55b704fd37430127 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba6192e52bf2b9aa0300319fcfda3f1fab3ff6c393adbfe2b9faea7b3d0c9af0 [INFO] running `Command { std: "docker" "start" "-a" "ba6192e52bf2b9aa0300319fcfda3f1fab3ff6c393adbfe2b9faea7b3d0c9af0", 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 6.82s [INFO] running `Command { std: "docker" "inspect" "ba6192e52bf2b9aa0300319fcfda3f1fab3ff6c393adbfe2b9faea7b3d0c9af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba6192e52bf2b9aa0300319fcfda3f1fab3ff6c393adbfe2b9faea7b3d0c9af0", kill_on_drop: false }` [INFO] [stdout] ba6192e52bf2b9aa0300319fcfda3f1fab3ff6c393adbfe2b9faea7b3d0c9af0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4aa231f6840cfcf936a9a93f7bb9575c8aeca95d7ce8c6b1b1cd08e9214cc995 [INFO] running `Command { std: "docker" "start" "-a" "4aa231f6840cfcf936a9a93f7bb9575c8aeca95d7ce8c6b1b1cd08e9214cc995", 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] [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: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] [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.30s [INFO] running `Command { std: "docker" "inspect" "4aa231f6840cfcf936a9a93f7bb9575c8aeca95d7ce8c6b1b1cd08e9214cc995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aa231f6840cfcf936a9a93f7bb9575c8aeca95d7ce8c6b1b1cd08e9214cc995", kill_on_drop: false }` [INFO] [stdout] 4aa231f6840cfcf936a9a93f7bb9575c8aeca95d7ce8c6b1b1cd08e9214cc995 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0848ef111f49b2fd158df0c2392e57d63da790f7b0cb5d6ad2133ff7f6c6737d [INFO] running `Command { std: "docker" "start" "-a" "0848ef111f49b2fd158df0c2392e57d63da790f7b0cb5d6ad2133ff7f6c6737d", 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.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zengine_ecs-9e8b29fadee5a9f3) [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::buffer_increase ... ok [INFO] [stdout] test event::tests::produce ... 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::publish_and_read_one_element_after_subscribe ... ok [INFO] [stdout] test event::tests::publish_subscribe_and_read ... ok [INFO] [stdout] test event::tests::produce_cycling ... ok [INFO] [stdout] test event::tests::sequence_correctness ... ok [INFO] [stdout] test event::tests::stream_with_lazy_subscriber ... ok [INFO] [stdout] test query::tests::optional_component_query ... ok [INFO] [stdout] test query::tests::simple_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::resources ... ok [INFO] [stdout] test world::tests::spawn ... ok [INFO] [stdout] test world::tests::spawn_without_component ... ok [INFO] [stdout] test world::tests::insert_two_component_same_entity ... ok [INFO] [stdout] test query::tests::tuple_with_2_mutable_query ... ok [INFO] [stdout] test world::tests::component_replace ... ok [INFO] [stdout] test world::tests::remove_component ... ok [INFO] [stdout] test world::tests::insert_component_as_first ... ok [INFO] [stdout] test world::tests::multiple_component_insert ... ok [INFO] [stdout] test system::tests::test_executor ... ok [INFO] [stdout] test world::tests::despawn ... ok [INFO] [stdout] test world::tests::insert_multiple_entity_and_add_one_component ... ok [INFO] [stdout] test world::tests::add_component_and_replace_old_one ... ok [INFO] [stderr] Doc-tests zengine_ecs [INFO] [stdout] test world::tests::component_insert ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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/resource.rs - resource::Resource (line 18) ... ok [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/system_parameter/res_parameter.rs - system::system_parameter::res_parameter::UnsendableRes (line 185) ... ok [INFO] [stdout] test src/system/system_parameter/res_parameter.rs - system::system_parameter::res_parameter::Res (line 16) ... 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::EventStream (line 14) ... ok [INFO] [stdout] test src/resource.rs - resource::UnsendableResource (line 55) ... ok [INFO] [stdout] test src/entity.rs - entity::Entity (line 15) ... 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/local_parameter.rs - system::system_parameter::local_parameter::Local (line 13) ... 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/command.rs - system::system_parameter::command::Commands (line 119) ... ok [INFO] [stdout] test src/world.rs - world::World::query (line 484) ... ok [INFO] [stdout] test src/system/mod.rs - system (line 13) ... ok [INFO] [stdout] test src/world.rs - world::World::query (line 460) ... 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.71s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0848ef111f49b2fd158df0c2392e57d63da790f7b0cb5d6ad2133ff7f6c6737d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0848ef111f49b2fd158df0c2392e57d63da790f7b0cb5d6ad2133ff7f6c6737d", kill_on_drop: false }` [INFO] [stdout] 0848ef111f49b2fd158df0c2392e57d63da790f7b0cb5d6ad2133ff7f6c6737d