[INFO] fetching crate yuxii 0.0.3... [INFO] testing yuxii-0.0.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate yuxii 0.0.3 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yuxii 0.0.3 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 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 0bf22ccbabfecac02c4f0d78d6b213a2d4eb4b6f90ae7b25b290476308a9dcc3 [INFO] running `Command { std: "docker" "start" "-a" "0bf22ccbabfecac02c4f0d78d6b213a2d4eb4b6f90ae7b25b290476308a9dcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bf22ccbabfecac02c4f0d78d6b213a2d4eb4b6f90ae7b25b290476308a9dcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf22ccbabfecac02c4f0d78d6b213a2d4eb4b6f90ae7b25b290476308a9dcc3", kill_on_drop: false }` [INFO] [stdout] 0bf22ccbabfecac02c4f0d78d6b213a2d4eb4b6f90ae7b25b290476308a9dcc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 320f9c84c9fd8d81cea73e8db9d6d002dbbcfc473c630c117b16edb4c2c10424 [INFO] running `Command { std: "docker" "start" "-a" "320f9c84c9fd8d81cea73e8db9d6d002dbbcfc473c630c117b16edb4c2c10424", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling serde_core v1.0.228 [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 erased-serde v0.4.9 [INFO] [stderr] Compiling bit-vec v0.6.3 [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 memchr v2.7.6 [INFO] [stderr] Compiling typetag v0.2.21 [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 bit-set v0.5.3 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling bevy_ptr v0.9.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling easy_collections v0.3.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling idalloc v0.1.1 [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 bevy_utils v0.9.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling go-spawn v0.1.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bevy_macro_utils v0.9.1 [INFO] [stderr] Compiling yuxii_macros v0.1.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 10.27s [INFO] running `Command { std: "docker" "inspect" "320f9c84c9fd8d81cea73e8db9d6d002dbbcfc473c630c117b16edb4c2c10424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "320f9c84c9fd8d81cea73e8db9d6d002dbbcfc473c630c117b16edb4c2c10424", kill_on_drop: false }` [INFO] [stdout] 320f9c84c9fd8d81cea73e8db9d6d002dbbcfc473c630c117b16edb4c2c10424 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 679ae1cd38ee581594e339e8d208e80d95b6bb72ebad1adf66aa56346943e802 [INFO] running `Command { std: "docker" "start" "-a" "679ae1cd38ee581594e339e8d208e80d95b6bb72ebad1adf66aa56346943e802", 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] [stderr] Compiling yuxii v0.0.3 (/opt/rustwide/workdir) [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] [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 1.42s [INFO] running `Command { std: "docker" "inspect" "679ae1cd38ee581594e339e8d208e80d95b6bb72ebad1adf66aa56346943e802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679ae1cd38ee581594e339e8d208e80d95b6bb72ebad1adf66aa56346943e802", kill_on_drop: false }` [INFO] [stdout] 679ae1cd38ee581594e339e8d208e80d95b6bb72ebad1adf66aa56346943e802 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9dff00ef0fe943f25a7c0ce967bc3eb066691c76fd9bd5e4a73884c1e73d821c [INFO] running `Command { std: "docker" "start" "-a" "9dff00ef0fe943f25a7c0ce967bc3eb066691c76fd9bd5e4a73884c1e73d821c", 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.16s [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" "9dff00ef0fe943f25a7c0ce967bc3eb066691c76fd9bd5e4a73884c1e73d821c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dff00ef0fe943f25a7c0ce967bc3eb066691c76fd9bd5e4a73884c1e73d821c", kill_on_drop: false }` [INFO] [stdout] 9dff00ef0fe943f25a7c0ce967bc3eb066691c76fd9bd5e4a73884c1e73d821c