[INFO] fetching crate yuxii 0.0.3... [INFO] testing yuxii-0.0.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate yuxii 0.0.3 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yuxii 0.0.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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 143 packages to latest compatible versions [INFO] [stderr] Adding bevy_reflect v0.9.1 (available: v0.17.1) [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.8) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.16.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.4) [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.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9b2f59c43edc591c8a4f2f106c3f692f01c6593ad8c1ce8ec8b1775ce90ba84 [INFO] running `Command { std: "docker" "start" "-a" "e9b2f59c43edc591c8a4f2f106c3f692f01c6593ad8c1ce8ec8b1775ce90ba84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9b2f59c43edc591c8a4f2f106c3f692f01c6593ad8c1ce8ec8b1775ce90ba84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b2f59c43edc591c8a4f2f106c3f692f01c6593ad8c1ce8ec8b1775ce90ba84", kill_on_drop: false }` [INFO] [stdout] e9b2f59c43edc591c8a4f2f106c3f692f01c6593ad8c1ce8ec8b1775ce90ba84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59cb449f9fca76036b49a7c8f115090ca80d3c14fa1b3a98adcd19a1c01d87fb [INFO] running `Command { std: "docker" "start" "-a" "59cb449f9fca76036b49a7c8f115090ca80d3c14fa1b3a98adcd19a1c01d87fb", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling typetag v0.2.21 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling bevy_ptr v0.9.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling static_init v1.0.4 [INFO] [stderr] Compiling static_init_macro v1.0.4 [INFO] [stderr] Compiling easy_collections v0.3.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling idalloc v0.1.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling typetag-impl v0.2.21 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling yuxii_macros v0.1.1 [INFO] [stderr] Compiling bevy_macro_utils v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling go-spawn v0.1.2 [INFO] [stderr] Compiling bevy_reflect_derive v0.9.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling bevy_utils v0.9.1 [INFO] [stderr] Compiling indexmap v1.9.3 [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)]` 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)]` 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: value passed to `entity_prefix` is never read [INFO] [stdout] --> src/scene.rs:242:39 [INFO] [stdout] | [INFO] [stdout] 242 | fn format_bundle(spacing: String, mut entity_prefix: String, bundle: &dyn BundleMarker) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` 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)]` 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)]` 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 7.88s [INFO] running `Command { std: "docker" "inspect" "59cb449f9fca76036b49a7c8f115090ca80d3c14fa1b3a98adcd19a1c01d87fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59cb449f9fca76036b49a7c8f115090ca80d3c14fa1b3a98adcd19a1c01d87fb", kill_on_drop: false }` [INFO] [stdout] 59cb449f9fca76036b49a7c8f115090ca80d3c14fa1b3a98adcd19a1c01d87fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37be2fd9be8832b2fff91cda3936bc5af4a9a1d97f70ca260febab883a52bb0c [INFO] running `Command { std: "docker" "start" "-a" "37be2fd9be8832b2fff91cda3936bc5af4a9a1d97f70ca260febab883a52bb0c", 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)]` 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)]` 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: value passed to `entity_prefix` is never read [INFO] [stdout] --> src/scene.rs:242:39 [INFO] [stdout] | [INFO] [stdout] 242 | fn format_bundle(spacing: String, mut entity_prefix: String, bundle: &dyn BundleMarker) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yuxii v0.0.3 (/opt/rustwide/workdir) [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)]` 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)]` 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] [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)]` 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)]` 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: value passed to `entity_prefix` is never read [INFO] [stdout] --> src/scene.rs:242:39 [INFO] [stdout] | [INFO] [stdout] 242 | fn format_bundle(spacing: String, mut entity_prefix: String, bundle: &dyn BundleMarker) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` 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)]` 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)]` 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.08s [INFO] running `Command { std: "docker" "inspect" "37be2fd9be8832b2fff91cda3936bc5af4a9a1d97f70ca260febab883a52bb0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37be2fd9be8832b2fff91cda3936bc5af4a9a1d97f70ca260febab883a52bb0c", kill_on_drop: false }` [INFO] [stdout] 37be2fd9be8832b2fff91cda3936bc5af4a9a1d97f70ca260febab883a52bb0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a7c2e639a94e7cea693b1cac28d0125c3757d31e3b10297562d0665471905637 [INFO] running `Command { std: "docker" "start" "-a" "a7c2e639a94e7cea693b1cac28d0125c3757d31e3b10297562d0665471905637", 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)]` 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)]` 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: value passed to `entity_prefix` is never read [INFO] [stderr] --> src/scene.rs:242:39 [INFO] [stderr] | [INFO] [stderr] 242 | fn format_bundle(spacing: String, mut entity_prefix: String, bundle: &dyn BundleMarker) -> String{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` 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)]` 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)]` 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 10 warnings (run `cargo fix --lib -p yuxii` to apply 3 suggestions) [INFO] [stderr] warning: `yuxii` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yuxii-e0812fd85bc69899) [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" "a7c2e639a94e7cea693b1cac28d0125c3757d31e3b10297562d0665471905637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c2e639a94e7cea693b1cac28d0125c3757d31e3b10297562d0665471905637", kill_on_drop: false }` [INFO] [stdout] a7c2e639a94e7cea693b1cac28d0125c3757d31e3b10297562d0665471905637