[INFO] fetching crate yuxii 0.0.3... [INFO] testing yuxii-0.0.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate yuxii 0.0.3 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yuxii 0.0.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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 140 packages to latest compatible versions [INFO] [stderr] Adding bevy_reflect v0.9.1 (available: v0.16.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.6) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.16.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.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.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdb74a9e650721f73959a37aa3f882e34724d62202103feb53824cf6e670cb48 [INFO] running `Command { std: "docker" "start" "-a" "fdb74a9e650721f73959a37aa3f882e34724d62202103feb53824cf6e670cb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdb74a9e650721f73959a37aa3f882e34724d62202103feb53824cf6e670cb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb74a9e650721f73959a37aa3f882e34724d62202103feb53824cf6e670cb48", kill_on_drop: false }` [INFO] [stdout] fdb74a9e650721f73959a37aa3f882e34724d62202103feb53824cf6e670cb48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab5190538d36dfa51b129d7a824c8a0b80b7a28650bdac2f5b1768a9bd680bdc [INFO] running `Command { std: "docker" "start" "-a" "ab5190538d36dfa51b129d7a824c8a0b80b7a28650bdac2f5b1768a9bd680bdc", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling static_init_macro v1.0.4 [INFO] [stderr] Compiling static_init v1.0.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling bevy_ptr v0.9.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling easy_collections v0.3.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling idalloc v0.1.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling typetag-impl v0.2.20 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling toml v0.5.11 [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 yuxii_macros v0.1.1 [INFO] [stderr] Compiling bevy_reflect_derive v0.9.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling typetag v0.2.20 [INFO] [stderr] Compiling bevy_utils 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: 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)]` (part of `#[warn(unused)]`) 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 19.28s [INFO] running `Command { std: "docker" "inspect" "ab5190538d36dfa51b129d7a824c8a0b80b7a28650bdac2f5b1768a9bd680bdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5190538d36dfa51b129d7a824c8a0b80b7a28650bdac2f5b1768a9bd680bdc", kill_on_drop: false }` [INFO] [stdout] ab5190538d36dfa51b129d7a824c8a0b80b7a28650bdac2f5b1768a9bd680bdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12138ea3b83a4260635af57821fd703ca9c4352fe94ab3b50cdc382bd487cbe0 [INFO] running `Command { std: "docker" "start" "-a" "12138ea3b83a4260635af57821fd703ca9c4352fe94ab3b50cdc382bd487cbe0", 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: 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)]` (part of `#[warn(unused)]`) 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)]` (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] [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: 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)]` (part of `#[warn(unused)]`) 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.16s [INFO] running `Command { std: "docker" "inspect" "12138ea3b83a4260635af57821fd703ca9c4352fe94ab3b50cdc382bd487cbe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12138ea3b83a4260635af57821fd703ca9c4352fe94ab3b50cdc382bd487cbe0", kill_on_drop: false }` [INFO] [stdout] 12138ea3b83a4260635af57821fd703ca9c4352fe94ab3b50cdc382bd487cbe0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29f1e96785a474a306025aa61ab22935d03742b25290ef63d6f763a8f102e03e [INFO] running `Command { std: "docker" "start" "-a" "29f1e96785a474a306025aa61ab22935d03742b25290ef63d6f763a8f102e03e", 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: 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)]` (part of `#[warn(unused)]`) 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 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yuxii-a026fee6ef5169ba) [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" "29f1e96785a474a306025aa61ab22935d03742b25290ef63d6f763a8f102e03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f1e96785a474a306025aa61ab22935d03742b25290ef63d6f763a8f102e03e", kill_on_drop: false }` [INFO] [stdout] 29f1e96785a474a306025aa61ab22935d03742b25290ef63d6f763a8f102e03e