[INFO] cloning repository https://github.com/SnoozeTime/spacegame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SnoozeTime/spacegame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnoozeTime%2Fspacegame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnoozeTime%2Fspacegame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c643b3c64119775cf9411bc5c23993fa0fe7c2f [INFO] checking SnoozeTime/spacegame against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnoozeTime%2Fspacegame" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 50% (183/361) Updating files: 51% (185/361) Updating files: 52% (188/361) Updating files: 53% (192/361) Updating files: 54% (195/361) Updating files: 55% (199/361) Updating files: 56% (203/361) Updating files: 57% (206/361) Updating files: 58% (210/361) Updating files: 59% (213/361) Updating files: 60% (217/361) Updating files: 61% (221/361) Updating files: 62% (224/361) Updating files: 63% (228/361) Updating files: 64% (232/361) Updating files: 65% (235/361) Updating files: 66% (239/361) Updating files: 67% (242/361) Updating files: 68% (246/361) Updating files: 69% (250/361) Updating files: 70% (253/361) Updating files: 71% (257/361) Updating files: 72% (260/361) Updating files: 73% (264/361) Updating files: 74% (268/361) Updating files: 75% (271/361) Updating files: 76% (275/361) Updating files: 77% (278/361) Updating files: 78% (282/361) Updating files: 79% (286/361) Updating files: 80% (289/361) Updating files: 81% (293/361) Updating files: 82% (297/361) Updating files: 83% (300/361) Updating files: 84% (304/361) Updating files: 85% (307/361) Updating files: 86% (311/361) Updating files: 87% (315/361) Updating files: 88% (318/361) Updating files: 89% (322/361) Updating files: 90% (325/361) Updating files: 91% (329/361) Updating files: 92% (333/361) Updating files: 93% (336/361) Updating files: 94% (340/361) Updating files: 95% (343/361) Updating files: 96% (347/361) Updating files: 97% (351/361) Updating files: 98% (354/361) Updating files: 99% (358/361) Updating files: 100% (361/361) Updating files: 100% (361/361), done. [INFO] started tweaking git repo https://github.com/SnoozeTime/spacegame [INFO] finished tweaking git repo https://github.com/SnoozeTime/spacegame [INFO] tweaked toml for git repo https://github.com/SnoozeTime/spacegame written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SnoozeTime/spacegame on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SnoozeTime/spacegame already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5800ec6c027e39b682e65c20fbbcf6eca1fdb589d6a96c6050728401bf0e767d [INFO] running `Command { std: "docker" "start" "-a" "5800ec6c027e39b682e65c20fbbcf6eca1fdb589d6a96c6050728401bf0e767d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5800ec6c027e39b682e65c20fbbcf6eca1fdb589d6a96c6050728401bf0e767d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5800ec6c027e39b682e65c20fbbcf6eca1fdb589d6a96c6050728401bf0e767d", kill_on_drop: false }` [INFO] [stdout] 5800ec6c027e39b682e65c20fbbcf6eca1fdb589d6a96c6050728401bf0e767d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9c95a99a54e14a73ee9c5d749dba4645c44fae7af5641dadf8ecacc2c782e48 [INFO] running `Command { std: "docker" "start" "-a" "e9c95a99a54e14a73ee9c5d749dba4645c44fae7af5641dadf8ecacc2c782e48", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking euclid v0.22.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling alsa-sys v0.3.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking lyon_geom v0.16.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking lyon_path v0.16.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.15.0 [INFO] [stderr] Checking sid v0.6.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling inventory v0.1.9 [INFO] [stderr] Compiling glam v0.11.2 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking inotify-sys v0.1.4 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking alsa v0.4.3 [INFO] [stderr] Checking inotify v0.8.3 [INFO] [stderr] Checking minimp3 v0.5.0 [INFO] [stderr] Checking lyon_tessellation v0.16.2 [INFO] [stderr] Checking lyon_algorithms v0.16.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking lyon v0.16.2 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking notify v5.0.0-pre.4 [INFO] [stderr] Checking hecs v0.3.1 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking glfw v0.41.0 [INFO] [stderr] Compiling luminance-derive v0.6.3 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling ctor v0.1.16 [INFO] [stderr] Compiling inventory-impl v0.1.9 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling typetag-impl v0.1.6 [INFO] [stderr] Checking luminance v0.43.1 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking rodio v0.13.0 [INFO] [stderr] Checking luminance-windowing v0.9.3 [INFO] [stderr] Checking luminance-gl v0.16.1 [INFO] [stderr] Checking luminance-glfw v0.14.4 [INFO] [stderr] Checking erased-serde v0.3.12 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking typetag v0.1.6 [INFO] [stderr] Checking spacegame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `does_start` is never read [INFO] [stdout] --> src/scene/main_menu.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MainMenu { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 28 | does_start: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MainMenu` has a derived impl for the trait `Clone`, 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/assets/mod.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn keys(&self) -> Keys, Asset> { [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] 321 | pub fn keys(&self) -> Keys<'_, Handle, Asset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/assets/mod.rs:384:20 [INFO] [stdout] | [INFO] [stdout] 384 | for res in &self.rx.try_recv() { [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] 384 - for res in &self.rx.try_recv() { [INFO] [stdout] 384 + while let Ok(res) = &self.rx.try_recv() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 384 - for res in &self.rx.try_recv() { [INFO] [stdout] 384 + if let Ok(res) = &self.rx.try_recv() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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/render/path/debug.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn drain(&mut self) -> std::vec::Drain<(Vec, Vec)> { [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] 20 | pub fn drain(&mut self) -> std::vec::Drain<'_, (Vec, Vec)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn fetch(&self) -> Option> { [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] 97 | pub fn fetch(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn fetch_mut(&self) -> Option> { [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] 113 | pub fn fetch_mut(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `does_start` is never read [INFO] [stdout] --> src/scene/main_menu.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MainMenu { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 28 | does_start: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MainMenu` has a derived impl for the trait `Clone`, 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/assets/mod.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn keys(&self) -> Keys, Asset> { [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] 321 | pub fn keys(&self) -> Keys<'_, Handle, Asset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/assets/mod.rs:384:20 [INFO] [stdout] | [INFO] [stdout] 384 | for res in &self.rx.try_recv() { [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] 384 - for res in &self.rx.try_recv() { [INFO] [stdout] 384 + while let Ok(res) = &self.rx.try_recv() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 384 - for res in &self.rx.try_recv() { [INFO] [stdout] 384 + if let Ok(res) = &self.rx.try_recv() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/assets/prefab.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Prefab_registry` [INFO] [stdout] 12 | pub trait Prefab: std::fmt::Debug { [INFO] [stdout] | ------ `Prefab` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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/render/path/debug.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn drain(&mut self) -> std::vec::Drain<(Vec, Vec)> { [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] 20 | pub fn drain(&mut self) -> std::vec::Drain<'_, (Vec, Vec)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn fetch(&self) -> Option> { [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] 97 | pub fn fetch(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn fetch_mut(&self) -> Option> { [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] 113 | pub fn fetch_mut(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.60s [INFO] running `Command { std: "docker" "inspect" "e9c95a99a54e14a73ee9c5d749dba4645c44fae7af5641dadf8ecacc2c782e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9c95a99a54e14a73ee9c5d749dba4645c44fae7af5641dadf8ecacc2c782e48", kill_on_drop: false }` [INFO] [stdout] e9c95a99a54e14a73ee9c5d749dba4645c44fae7af5641dadf8ecacc2c782e48