[INFO] fetching crate yuxii 0.0.3... [INFO] testing yuxii-0.0.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate yuxii 0.0.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate yuxii 0.0.3 [INFO] finished tweaking crates.io crate yuxii 0.0.3 [INFO] tweaked toml for crates.io crate yuxii 0.0.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yuxii 0.0.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 131 packages to latest compatible versions [INFO] [stderr] Adding bevy_reflect v0.9.1 (available: v0.17.2) [INFO] [stderr] Adding colored v2.2.0 (available: v3.0.0) [INFO] [stderr] Adding easy_collections v0.3.2 (available: v0.4.0) [INFO] [stderr] Adding erased-serde v0.3.31 (available: v0.4.9) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.16.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.12.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding relative-path v1.9.3 (available: v2.0.1) [INFO] [stderr] Adding ron v0.8.1 (available: v0.12.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded matchers v0.2.0 [INFO] [stderr] Downloaded static_init v1.0.4 [INFO] [stderr] Downloaded windows-targets v0.48.5 [INFO] [stderr] Downloaded static_init_macro v1.0.4 [INFO] [stderr] Downloaded bevy_ptr v0.9.1 [INFO] [stderr] Downloaded yuxii_macros v0.1.1 [INFO] [stderr] Downloaded typeid v1.0.3 [INFO] [stderr] Downloaded erased-serde v0.4.9 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded tracing-log v0.2.0 [INFO] [stderr] Downloaded go-spawn v0.1.2 [INFO] [stderr] Downloaded bevy_macro_utils v0.9.1 [INFO] [stderr] Downloaded bevy_reflect v0.9.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.5 [INFO] [stderr] Downloaded downcast-rs v1.2.1 [INFO] [stderr] Downloaded easy_collections v0.3.2 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.5 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded typetag-impl v0.2.21 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.5 [INFO] [stderr] Downloaded typetag v0.2.21 [INFO] [stderr] Downloaded tracing-subscriber v0.3.20 [INFO] [stderr] Downloaded tokio v1.48.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.5 [INFO] [stderr] Downloaded nu-ansi-term v0.50.3 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.5 [INFO] [stderr] Downloaded ron v0.8.1 [INFO] [stderr] Downloaded bit-set v0.5.3 [INFO] [stderr] Downloaded state v0.5.3 [INFO] [stderr] Downloaded bevy_reflect_derive v0.9.1 [INFO] [stderr] Downloaded bevy_utils v0.9.1 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.5 [INFO] [stderr] Downloaded idalloc v0.1.1 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.5 [INFO] [stderr] Downloaded windows v0.48.0 [INFO] [stderr] Downloaded relative-path v1.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c565264c10511bacb2214d10bbe60e19679e11fa0f7542b0d2d42c865f8d2b5d [INFO] running `Command { std: "docker" "start" "-a" "c565264c10511bacb2214d10bbe60e19679e11fa0f7542b0d2d42c865f8d2b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c565264c10511bacb2214d10bbe60e19679e11fa0f7542b0d2d42c865f8d2b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c565264c10511bacb2214d10bbe60e19679e11fa0f7542b0d2d42c865f8d2b5d", kill_on_drop: false }` [INFO] [stdout] c565264c10511bacb2214d10bbe60e19679e11fa0f7542b0d2d42c865f8d2b5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 149759867d2e6ca3e1f81cefa2d3032284f79a646626cf1b27a3dfd04ed56e7b [INFO] running `Command { std: "docker" "start" "-a" "149759867d2e6ca3e1f81cefa2d3032284f79a646626cf1b27a3dfd04ed56e7b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling static_init v1.0.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling typetag v0.2.21 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling typetag-impl v0.2.21 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling static_init_macro v1.0.4 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling bevy_ptr v0.9.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling easy_collections v0.3.2 [INFO] [stderr] Compiling idalloc v0.1.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling go-spawn v0.1.2 [INFO] [stderr] Compiling bevy_utils v0.9.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling yuxii_macros v0.1.1 [INFO] [stderr] Compiling bevy_macro_utils v0.9.1 [INFO] [stderr] Compiling bevy_reflect_derive v0.9.1 [INFO] [stderr] Compiling bevy_reflect v0.9.1 [INFO] [stderr] Compiling yuxii v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/lib.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub use node::{*, Node, Spawner}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/query.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 210 | / return match self { [INFO] [stdout] 211 | | FToken::Scope(scope) => scope.satisfied(entity), [INFO] [stdout] 212 | | FToken::Has { is_not, entities } => check(is_not, entities), [INFO] [stdout] 213 | | FToken::Added { is_not, entities } => check(is_not, entities), [INFO] [stdout] ... | [INFO] [stdout] 218 | | FToken::Or(_, _) => todo!(), [INFO] [stdout] 219 | | }; [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 222 | false [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableInterface` [INFO] [stdout] --> src/query.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{ComponentInterface, Entity, TableInterface}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/table.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn contains(&self, entity: &Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 41 | self.contains(entity) [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fullscreen` is never read [INFO] [stdout] --> src/default_res.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EngineConfig{ [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 18 | pub(crate) limit_fps: Option, // None - no limit; Option [INFO] [stdout] 19 | pub(crate) fullscreen: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused bitwise operation that must be used [INFO] [stdout] --> src/name.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component, Clone, Serialize, Deserialize ,Default, Debug)] [INFO] [stdout] | ^^^^^^^^^ the bitwise operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the derive macro `Component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn iter_mut(&mut self) -> IterMut { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn iter_mut(&mut self) -> IterMut<'_, Entity, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter(&self) -> Iter { [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] 78 | pub fn iter(&self) -> Iter<'_, Entity, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entity.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 53 - for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] 53 + while let Some(entity) = lck.ent_hierarchie.get(&self){ [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 53 - for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] 53 + if let Some(entity) = lck.ent_hierarchie.get(&self){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.67s [INFO] running `Command { std: "docker" "inspect" "149759867d2e6ca3e1f81cefa2d3032284f79a646626cf1b27a3dfd04ed56e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149759867d2e6ca3e1f81cefa2d3032284f79a646626cf1b27a3dfd04ed56e7b", kill_on_drop: false }` [INFO] [stdout] 149759867d2e6ca3e1f81cefa2d3032284f79a646626cf1b27a3dfd04ed56e7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a02a669ef96193c299b44d9f237bb9e809bab3b8f3720667c4d124ecaf14970 [INFO] running `Command { std: "docker" "start" "-a" "1a02a669ef96193c299b44d9f237bb9e809bab3b8f3720667c4d124ecaf14970", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/lib.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub use node::{*, Node, Spawner}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/query.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 210 | / return match self { [INFO] [stdout] 211 | | FToken::Scope(scope) => scope.satisfied(entity), [INFO] [stdout] 212 | | FToken::Has { is_not, entities } => check(is_not, entities), [INFO] [stdout] 213 | | FToken::Added { is_not, entities } => check(is_not, entities), [INFO] [stdout] ... | [INFO] [stdout] 218 | | FToken::Or(_, _) => todo!(), [INFO] [stdout] 219 | | }; [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 222 | false [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableInterface` [INFO] [stdout] --> src/query.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{ComponentInterface, Entity, TableInterface}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/table.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn contains(&self, entity: &Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 41 | self.contains(entity) [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fullscreen` is never read [INFO] [stdout] --> src/default_res.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EngineConfig{ [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 18 | pub(crate) limit_fps: Option, // None - no limit; Option [INFO] [stdout] 19 | pub(crate) fullscreen: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused bitwise operation that must be used [INFO] [stdout] --> src/name.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component, Clone, Serialize, Deserialize ,Default, Debug)] [INFO] [stdout] | ^^^^^^^^^ the bitwise operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the derive macro `Component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn iter_mut(&mut self) -> IterMut { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn iter_mut(&mut self) -> IterMut<'_, Entity, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter(&self) -> Iter { [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] 78 | pub fn iter(&self) -> Iter<'_, Entity, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entity.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 53 - for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] 53 + while let Some(entity) = lck.ent_hierarchie.get(&self){ [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 53 - for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] 53 + if let Some(entity) = lck.ent_hierarchie.get(&self){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yuxii v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/lib.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub use node::{*, Node, Spawner}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/query.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 210 | / return match self { [INFO] [stdout] 211 | | FToken::Scope(scope) => scope.satisfied(entity), [INFO] [stdout] 212 | | FToken::Has { is_not, entities } => check(is_not, entities), [INFO] [stdout] 213 | | FToken::Added { is_not, entities } => check(is_not, entities), [INFO] [stdout] ... | [INFO] [stdout] 218 | | FToken::Or(_, _) => todo!(), [INFO] [stdout] 219 | | }; [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 222 | false [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableInterface` [INFO] [stdout] --> src/query.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{ComponentInterface, Entity, TableInterface}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/table.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn contains(&self, entity: &Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 41 | self.contains(entity) [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fullscreen` is never read [INFO] [stdout] --> src/default_res.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EngineConfig{ [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 18 | pub(crate) limit_fps: Option, // None - no limit; Option [INFO] [stdout] 19 | pub(crate) fullscreen: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused bitwise operation that must be used [INFO] [stdout] --> src/name.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component, Clone, Serialize, Deserialize ,Default, Debug)] [INFO] [stdout] | ^^^^^^^^^ the bitwise operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the derive macro `Component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn iter_mut(&mut self) -> IterMut { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn iter_mut(&mut self) -> IterMut<'_, Entity, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter(&self) -> Iter { [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] 78 | pub fn iter(&self) -> Iter<'_, Entity, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entity.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 53 - for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] 53 + while let Some(entity) = lck.ent_hierarchie.get(&self){ [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 53 - for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] 53 + if let Some(entity) = lck.ent_hierarchie.get(&self){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "1a02a669ef96193c299b44d9f237bb9e809bab3b8f3720667c4d124ecaf14970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a02a669ef96193c299b44d9f237bb9e809bab3b8f3720667c4d124ecaf14970", kill_on_drop: false }` [INFO] [stdout] 1a02a669ef96193c299b44d9f237bb9e809bab3b8f3720667c4d124ecaf14970 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 481593de8e33dc2e6fb5bfc4b223ccc4332cfe9d6a0742fb3fb0a7a4624b5d8f [INFO] running `Command { std: "docker" "start" "-a" "481593de8e33dc2e6fb5bfc4b223ccc4332cfe9d6a0742fb3fb0a7a4624b5d8f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `*` [INFO] [stderr] --> src/lib.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | pub use node::{*, Node, Spawner}; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/query.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 210 | / return match self { [INFO] [stderr] 211 | | FToken::Scope(scope) => scope.satisfied(entity), [INFO] [stderr] 212 | | FToken::Has { is_not, entities } => check(is_not, entities), [INFO] [stderr] 213 | | FToken::Added { is_not, entities } => check(is_not, entities), [INFO] [stderr] ... | [INFO] [stderr] 218 | | FToken::Or(_, _) => todo!(), [INFO] [stderr] 219 | | }; [INFO] [stderr] | |_____________- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 222 | false [INFO] [stderr] | ^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TableInterface` [INFO] [stderr] --> src/query.rs:6:41 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::{ComponentInterface, Entity, TableInterface}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> src/table.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | fn contains(&self, entity: &Entity) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 41 | self.contains(entity) [INFO] [stderr] | --------------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `fullscreen` is never read [INFO] [stderr] --> src/default_res.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct EngineConfig{ [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 18 | pub(crate) limit_fps: Option, // None - no limit; Option [INFO] [stderr] 19 | pub(crate) fullscreen: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EngineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused bitwise operation that must be used [INFO] [stderr] --> src/name.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Component, Clone, Serialize, Deserialize ,Default, Debug)] [INFO] [stderr] | ^^^^^^^^^ the bitwise operation produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the derive macro `Component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/table.rs:75:21 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn iter_mut(&mut self) -> IterMut { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 75 | pub fn iter_mut(&mut self) -> IterMut<'_, Entity, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/table.rs:78:17 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn iter(&self) -> Iter { [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] 78 | pub fn iter(&self) -> Iter<'_, Entity, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/entity.rs:53:23 [INFO] [stderr] | [INFO] [stderr] 53 | for entity in lck.ent_hierarchie.get(&self){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 53 - for entity in lck.ent_hierarchie.get(&self){ [INFO] [stderr] 53 + while let Some(entity) = lck.ent_hierarchie.get(&self){ [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 53 - for entity in lck.ent_hierarchie.get(&self){ [INFO] [stderr] 53 + if let Some(entity) = lck.ent_hierarchie.get(&self){ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `yuxii` (lib) generated 9 warnings (run `cargo fix --lib -p yuxii` to apply 3 suggestions) [INFO] [stderr] warning: `yuxii` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yuxii-38ce690ebc71c136) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests yuxii [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "481593de8e33dc2e6fb5bfc4b223ccc4332cfe9d6a0742fb3fb0a7a4624b5d8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "481593de8e33dc2e6fb5bfc4b223ccc4332cfe9d6a0742fb3fb0a7a4624b5d8f", kill_on_drop: false }` [INFO] [stdout] 481593de8e33dc2e6fb5bfc4b223ccc4332cfe9d6a0742fb3fb0a7a4624b5d8f