[INFO] fetching crate yuxii 0.0.3... [INFO] testing yuxii-0.0.3 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate yuxii 0.0.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate yuxii 0.0.3 [INFO] finished tweaking crates.io crate yuxii 0.0.3 [INFO] tweaked toml for crates.io crate yuxii 0.0.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yuxii 0.0.3 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matchers v0.2.0 [INFO] [stderr] Downloaded cfg_aliases v0.1.1 [INFO] [stderr] Downloaded erased-serde v0.4.8 [INFO] [stderr] Downloaded static_init_macro v1.0.4 [INFO] [stderr] Downloaded typetag-impl v0.2.21 [INFO] [stderr] Downloaded typeid v1.0.3 [INFO] [stderr] Downloaded typetag v0.2.21 [INFO] [stderr] Downloaded go-spawn v0.1.2 [INFO] [stderr] Downloaded yuxii_macros v0.1.1 [INFO] [stderr] Downloaded instant v0.1.13 [INFO] [stderr] Downloaded downcast-rs v1.2.1 [INFO] [stderr] Downloaded bevy_macro_utils v0.9.1 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded nu-ansi-term v0.50.1 [INFO] [stderr] Downloaded bevy_utils v0.9.1 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded bevy_ptr v0.9.1 [INFO] [stderr] Downloaded state v0.5.3 [INFO] [stderr] Downloaded easy_collections v0.3.2 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded erased-serde v0.3.31 [INFO] [stderr] Downloaded base64 v0.21.7 [INFO] [stderr] Downloaded ron v0.8.1 [INFO] [stderr] Downloaded tracing-subscriber v0.3.20 [INFO] [stderr] Downloaded bevy_reflect_derive v0.9.1 [INFO] [stderr] Downloaded static_init v1.0.4 [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded bevy_reflect v0.9.1 [INFO] [stderr] Downloaded windows v0.48.0 [INFO] [stderr] Downloaded idalloc v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 341117011f8863c36565dfa754a3534c8c3cf6a7b90cd69aba0a694bf54d3ef9 [INFO] running `Command { std: "docker" "start" "-a" "341117011f8863c36565dfa754a3534c8c3cf6a7b90cd69aba0a694bf54d3ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "341117011f8863c36565dfa754a3534c8c3cf6a7b90cd69aba0a694bf54d3ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "341117011f8863c36565dfa754a3534c8c3cf6a7b90cd69aba0a694bf54d3ef9", kill_on_drop: false }` [INFO] [stdout] 341117011f8863c36565dfa754a3534c8c3cf6a7b90cd69aba0a694bf54d3ef9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 568cc530e4b9330f1d26f1f7026032e5b3b043e0ef6d7da89d723d9b3fe82f1c [INFO] running `Command { std: "docker" "start" "-a" "568cc530e4b9330f1d26f1f7026032e5b3b043e0ef6d7da89d723d9b3fe82f1c", kill_on_drop: false }` [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling static_init v1.0.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling typetag v0.2.21 [INFO] [stderr] Compiling bevy_macro_utils v0.9.1 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling bevy_ptr v0.9.1 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling easy_collections v0.3.2 [INFO] [stderr] Compiling yuxii_macros v0.1.1 [INFO] [stderr] Compiling static_init_macro v1.0.4 [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 bit-set v0.5.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling bevy_reflect_derive v0.9.1 [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 thiserror v1.0.69 [INFO] [stderr] Compiling go-spawn v0.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling erased-serde v0.3.31 [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)]` (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 7.93s [INFO] running `Command { std: "docker" "inspect" "568cc530e4b9330f1d26f1f7026032e5b3b043e0ef6d7da89d723d9b3fe82f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "568cc530e4b9330f1d26f1f7026032e5b3b043e0ef6d7da89d723d9b3fe82f1c", kill_on_drop: false }` [INFO] [stdout] 568cc530e4b9330f1d26f1f7026032e5b3b043e0ef6d7da89d723d9b3fe82f1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c357cbe964a079567a167a02b48264be33a2edba2d9c9c5fb75e7088cf73f746 [INFO] running `Command { std: "docker" "start" "-a" "c357cbe964a079567a167a02b48264be33a2edba2d9c9c5fb75e7088cf73f746", 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] [stdout] warning: field `fullscreen` is never read [INFO] [stdout] --> src/default_res.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EngineConfig{ [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 18 | pub(crate) limit_fps: Option, // None - no limit; Option [INFO] [stdout] 19 | pub(crate) fullscreen: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused bitwise operation that must be used [INFO] [stdout] --> src/name.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component, Clone, Serialize, Deserialize ,Default, Debug)] [INFO] [stdout] | ^^^^^^^^^ the bitwise operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the derive macro `Component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn iter_mut(&mut self) -> IterMut<'_, Entity, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter(&self) -> Iter<'_, Entity, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entity.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 53 - for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] 53 + while let Some(entity) = lck.ent_hierarchie.get(&self){ [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 53 - for entity in lck.ent_hierarchie.get(&self){ [INFO] [stdout] 53 + if let Some(entity) = lck.ent_hierarchie.get(&self){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yuxii v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/lib.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub use node::{*, Node, Spawner}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/query.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 210 | / return match self { [INFO] [stdout] 211 | | FToken::Scope(scope) => scope.satisfied(entity), [INFO] [stdout] 212 | | FToken::Has { is_not, entities } => check(is_not, entities), [INFO] [stdout] 213 | | FToken::Added { is_not, entities } => check(is_not, entities), [INFO] [stdout] ... | [INFO] [stdout] 218 | | FToken::Or(_, _) => todo!(), [INFO] [stdout] 219 | | }; [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 222 | false [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableInterface` [INFO] [stdout] --> src/query.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{ComponentInterface, Entity, TableInterface}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/table.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn contains(&self, entity: &Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 41 | self.contains(entity) [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 0.58s [INFO] running `Command { std: "docker" "inspect" "c357cbe964a079567a167a02b48264be33a2edba2d9c9c5fb75e7088cf73f746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c357cbe964a079567a167a02b48264be33a2edba2d9c9c5fb75e7088cf73f746", kill_on_drop: false }` [INFO] [stdout] c357cbe964a079567a167a02b48264be33a2edba2d9c9c5fb75e7088cf73f746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9fc9ab7c9ca333984c3307daf33f355385da2107f79503cd71fd2d66c89f0c50 [INFO] running `Command { std: "docker" "start" "-a" "9fc9ab7c9ca333984c3307daf33f355385da2107f79503cd71fd2d66c89f0c50", 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.08s [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" "9fc9ab7c9ca333984c3307daf33f355385da2107f79503cd71fd2d66c89f0c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fc9ab7c9ca333984c3307daf33f355385da2107f79503cd71fd2d66c89f0c50", kill_on_drop: false }` [INFO] [stdout] 9fc9ab7c9ca333984c3307daf33f355385da2107f79503cd71fd2d66c89f0c50