[INFO] fetching crate wutengine 0.0.5... [INFO] checking wutengine-0.0.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate wutengine 0.0.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate wutengine 0.0.5 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wutengine 0.0.5 [INFO] finished tweaking crates.io crate wutengine 0.0.5 [INFO] tweaked toml for crates.io crate wutengine 0.0.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 216 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding calloop v0.13.0 (available: v0.14.1) [INFO] [stderr] Adding calloop-wayland-source v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding cocoa v0.25.0 (available: v0.26.0) [INFO] [stderr] Adding cocoa-foundation v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding core-graphics v0.23.2 (available: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding gethostname v0.4.3 (available: v0.5.0) [INFO] [stderr] Adding glam v0.28.0 (available: v0.29.0) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding libredox v0.0.2 (available: v0.1.3) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (available: v0.5.6) [INFO] [stderr] Adding smol_str v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding strict-num v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d1eee579d14422dfa314a8ad13b5fd25b743d971bd60d12d9b1ea4791995849 [INFO] running `Command { std: "docker" "start" "-a" "6d1eee579d14422dfa314a8ad13b5fd25b743d971bd60d12d9b1ea4791995849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d1eee579d14422dfa314a8ad13b5fd25b743d971bd60d12d9b1ea4791995849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d1eee579d14422dfa314a8ad13b5fd25b743d971bd60d12d9b1ea4791995849", kill_on_drop: false }` [INFO] [stdout] 6d1eee579d14422dfa314a8ad13b5fd25b743d971bd60d12d9b1ea4791995849 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fed6bd48babc71605d5896833218920624679decce6d2c8feda8a29f183f752 [INFO] running `Command { std: "docker" "start" "-a" "7fed6bd48babc71605d5896833218920624679decce6d2c8feda8a29f183f752", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking glam v0.28.0 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling wutengine_opengl v0.0.5 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking gl-from-raw-window-handle v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Compiling wutengine_util_macro v0.0.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wayland-protocols v0.32.4 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Checking wutengine_core v0.0.5 [INFO] [stderr] Checking wutengine_graphics v0.0.5 [INFO] [stderr] Checking wutengine_macro v0.0.5 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.4 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.4 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking wutengine v0.0.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wutengine` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage/vec/test.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | a: rng.gen(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage/vec/test.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | b: rng.gen(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage/vec/test.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | c: rng.gen(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage/vec/test.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | d: rng.gen(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/legacy_storage/ptr_helpers.rs [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage/vec/test.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | e: rng.gen(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/renderer/mod.rs [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage/vec/test.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | f: rng.gen(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/runtime/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/legacy_storage/ptr_helpers.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | ($ptr:expr_2021, $align:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/legacy_storage/ptr_helpers.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | ($ptr:expr_2021, $align:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/legacy_storage/ptr_helpers.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 12 | ($ptr:expr_2021, $align:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/legacy_storage/ptr_helpers.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | ($ptr:expr_2021, $align:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shaders` [INFO] [stderr] --> src/renderer/mod.rs:34:71 [INFO] [stderr] | [INFO] [stderr] 34 | fn build(shaders: R) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shaders` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event_loop` [INFO] [stderr] --> src/runtime/mod.rs:164:33 [INFO] [stderr] | [INFO] [stderr] 164 | fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage/vec/test.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | g: rng.gen(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage/vec/test.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | h: rng.gen(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage/vec/test.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | i: rng.gen(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/legacy_storage/ptr_helpers.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ($ptr:expr, $align:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($ptr:expr_2021, $align:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/legacy_storage/ptr_helpers.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | ($ptr:expr, $align:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($ptr:expr, $align:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/legacy_storage/ptr_helpers.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | ($ptr:expr, $align:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 12 | ($ptr:expr_2021, $align:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/legacy_storage/ptr_helpers.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | ($ptr:expr, $align:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 12 | ($ptr:expr, $align:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_ptrs_for_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:148:45 [INFO] [stdout] | [INFO] [stdout] 148 | let (_, component, _) = self.get_ptrs_for_element(self.alloc.unwrap(), id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub unsafe fn get_multi(&self, entities: &[EntityId]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | (component as *const T).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_ptrs_for_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:182:45 [INFO] [stdout] | [INFO] [stdout] 182 | let (_, component, _) = self.get_ptrs_for_element(self.alloc.unwrap(), id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / pub unsafe fn get_mut_multi( [INFO] [stdout] 164 | | &mut self, [INFO] [stdout] 165 | | entities: &[EntityId], [INFO] [stdout] 166 | | ) -> Vec> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (component as *mut T).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | let base = mem.as_ptr().byte_add(self.element_size * i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / unsafe fn get_ptrs_for_element( [INFO] [stdout] 191 | | &self, [INFO] [stdout] 192 | | mem: NonNull, [INFO] [stdout] 193 | | i: usize, [INFO] [stdout] 194 | | ) -> (*mut (), *mut (), *mut ()) { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | let component_val_ptr = base.byte_add(self.component_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 197 | let entity_id_ptr = base.byte_add(self.entity_id_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | ptr::drop_in_place::(raw as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | unsafe fn dynamic_drop(raw: *mut ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_multi` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/mod.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | ComponentStorage::Array(storage) => storage.get_multi(entities), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn get_multi(&self, entities: &[EntityId]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_mut_multi` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/mod.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | ComponentStorage::Array(storage) => storage.get_mut_multi(entities), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / pub unsafe fn get_mut_multi( [INFO] [stdout] 58 | | &mut self, [INFO] [stdout] 59 | | entities: &[EntityId], [INFO] [stdout] 60 | | ) -> Vec> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shaders` [INFO] [stdout] --> src/renderer/mod.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | fn build(shaders: R) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shaders` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/runtime/mod.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let storage = storage_cell.as_ref().expect("Storage returned nullptr"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/runtime/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn get_component_for_entity(&self, entity: EntityId) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/runtime/mod.rs:164:33 [INFO] [stdout] | [INFO] [stdout] 164 | fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/builtins/components/name.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Name(String); [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Name` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `clear`, `merge_with`, `merge`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/command/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl Command { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn merge_with(&mut self, other: Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn merge(a: Self, b: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_component_for_entity` is never used [INFO] [stdout] --> src/runtime/mod.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 45 | impl Runtime { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 46 | unsafe fn get_component_for_entity(&self, entity: EntityId) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_ids` and `storages` are never read [INFO] [stdout] --> src/storage/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ArchetypeStorage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | entity_ids: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | storages: Box<[AnyVec]>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArchetypeStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `archetypes` is never read [INFO] [stdout] --> src/storage/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ComponentStorage { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 18 | archetypes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wutengine` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/legacy_storage/ptr_helpers.rs [INFO] [stderr] * src/renderer/mod.rs [INFO] [stderr] * src/runtime/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/legacy_storage/ptr_helpers.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | ($ptr:expr_2021, $align:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/legacy_storage/ptr_helpers.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | ($ptr:expr_2021, $align:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/legacy_storage/ptr_helpers.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 12 | ($ptr:expr_2021, $align:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/legacy_storage/ptr_helpers.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | ($ptr:expr_2021, $align:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shaders` [INFO] [stderr] --> src/renderer/mod.rs:34:71 [INFO] [stderr] | [INFO] [stderr] 34 | fn build(shaders: R) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shaders` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event_loop` [INFO] [stderr] --> src/runtime/mod.rs:164:33 [INFO] [stderr] | [INFO] [stderr] 164 | fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/legacy_storage/ptr_helpers.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ($ptr:expr, $align:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($ptr:expr_2021, $align:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/legacy_storage/ptr_helpers.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | ($ptr:expr, $align:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($ptr:expr, $align:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/legacy_storage/ptr_helpers.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | ($ptr:expr, $align:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 12 | ($ptr:expr_2021, $align:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/legacy_storage/ptr_helpers.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | ($ptr:expr, $align:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 12 | ($ptr:expr, $align:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_ptrs_for_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:148:45 [INFO] [stdout] | [INFO] [stdout] 148 | let (_, component, _) = self.get_ptrs_for_element(self.alloc.unwrap(), id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub unsafe fn get_multi(&self, entities: &[EntityId]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | (component as *const T).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_ptrs_for_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:182:45 [INFO] [stdout] | [INFO] [stdout] 182 | let (_, component, _) = self.get_ptrs_for_element(self.alloc.unwrap(), id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / pub unsafe fn get_mut_multi( [INFO] [stdout] 164 | | &mut self, [INFO] [stdout] 165 | | entities: &[EntityId], [INFO] [stdout] 166 | | ) -> Vec> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (component as *mut T).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | let base = mem.as_ptr().byte_add(self.element_size * i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / unsafe fn get_ptrs_for_element( [INFO] [stdout] 191 | | &self, [INFO] [stdout] 192 | | mem: NonNull, [INFO] [stdout] 193 | | i: usize, [INFO] [stdout] 194 | | ) -> (*mut (), *mut (), *mut ()) { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | let component_val_ptr = base.byte_add(self.component_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 197 | let entity_id_ptr = base.byte_add(self.entity_id_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | ptr::drop_in_place::(raw as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | unsafe fn dynamic_drop(raw: *mut ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_multi` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/mod.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | ComponentStorage::Array(storage) => storage.get_multi(entities), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn get_multi(&self, entities: &[EntityId]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_mut_multi` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/mod.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | ComponentStorage::Array(storage) => storage.get_mut_multi(entities), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / pub unsafe fn get_mut_multi( [INFO] [stdout] 58 | | &mut self, [INFO] [stdout] 59 | | entities: &[EntityId], [INFO] [stdout] 60 | | ) -> Vec> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shaders` [INFO] [stdout] --> src/renderer/mod.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | fn build(shaders: R) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shaders` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/runtime/mod.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let storage = storage_cell.as_ref().expect("Storage returned nullptr"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/runtime/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn get_component_for_entity(&self, entity: EntityId) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/runtime/mod.rs:164:33 [INFO] [stdout] | [INFO] [stdout] 164 | fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/builtins/components/name.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Name(String); [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Name` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `clear`, `merge_with`, `merge`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/command/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl Command { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn merge_with(&mut self, other: Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn merge(a: Self, b: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_component_for_entity` is never used [INFO] [stdout] --> src/runtime/mod.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 45 | impl Runtime { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 46 | unsafe fn get_component_for_entity(&self, entity: EntityId) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_ids` and `storages` are never read [INFO] [stdout] --> src/storage/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ArchetypeStorage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | entity_ids: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | storages: Box<[AnyVec]>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArchetypeStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `archetypes` is never read [INFO] [stdout] --> src/storage/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ComponentStorage { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 18 | archetypes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.43s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking wutengine v0.0.5 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage/vec/test.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | a: rng.gen(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 137 | a: rng.r#gen(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage/vec/test.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | b: rng.gen(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 138 | b: rng.r#gen(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage/vec/test.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | c: rng.gen(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 139 | c: rng.r#gen(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage/vec/test.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | d: rng.gen(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 140 | d: rng.r#gen(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage/vec/test.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | e: rng.gen(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 141 | e: rng.r#gen(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage/vec/test.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | f: rng.gen(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 142 | f: rng.r#gen(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage/vec/test.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | g: rng.gen(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 143 | g: rng.r#gen(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage/vec/test.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | h: rng.gen(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 144 | h: rng.r#gen(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage/vec/test.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | i: rng.gen(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 145 | i: rng.r#gen(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_ptrs_for_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:148:45 [INFO] [stdout] | [INFO] [stdout] 148 | let (_, component, _) = self.get_ptrs_for_element(self.alloc.unwrap(), id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub unsafe fn get_multi(&self, entities: &[EntityId]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | (component as *const T).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_ptrs_for_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:182:45 [INFO] [stdout] | [INFO] [stdout] 182 | let (_, component, _) = self.get_ptrs_for_element(self.alloc.unwrap(), id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / pub unsafe fn get_mut_multi( [INFO] [stdout] 164 | | &mut self, [INFO] [stdout] 165 | | entities: &[EntityId], [INFO] [stdout] 166 | | ) -> Vec> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (component as *mut T).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_ptrs_for_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:148:45 [INFO] [stdout] | [INFO] [stdout] 148 | let (_, component, _) = self.get_ptrs_for_element(self.alloc.unwrap(), id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub unsafe fn get_multi(&self, entities: &[EntityId]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | let base = mem.as_ptr().byte_add(self.element_size * i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / unsafe fn get_ptrs_for_element( [INFO] [stdout] 191 | | &self, [INFO] [stdout] 192 | | mem: NonNull, [INFO] [stdout] 193 | | i: usize, [INFO] [stdout] 194 | | ) -> (*mut (), *mut (), *mut ()) { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | let component_val_ptr = base.byte_add(self.component_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 197 | let entity_id_ptr = base.byte_add(self.entity_id_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | ptr::drop_in_place::(raw as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | unsafe fn dynamic_drop(raw: *mut ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | (component as *const T).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_multi` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/mod.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | ComponentStorage::Array(storage) => storage.get_multi(entities), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn get_multi(&self, entities: &[EntityId]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_mut_multi` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/mod.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | ComponentStorage::Array(storage) => storage.get_mut_multi(entities), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / pub unsafe fn get_mut_multi( [INFO] [stdout] 58 | | &mut self, [INFO] [stdout] 59 | | entities: &[EntityId], [INFO] [stdout] 60 | | ) -> Vec> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_ptrs_for_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:182:45 [INFO] [stdout] | [INFO] [stdout] 182 | let (_, component, _) = self.get_ptrs_for_element(self.alloc.unwrap(), id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / pub unsafe fn get_mut_multi( [INFO] [stdout] 164 | | &mut self, [INFO] [stdout] 165 | | entities: &[EntityId], [INFO] [stdout] 166 | | ) -> Vec> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (component as *mut T).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | let base = mem.as_ptr().byte_add(self.element_size * i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / unsafe fn get_ptrs_for_element( [INFO] [stdout] 191 | | &self, [INFO] [stdout] 192 | | mem: NonNull, [INFO] [stdout] 193 | | i: usize, [INFO] [stdout] 194 | | ) -> (*mut (), *mut (), *mut ()) { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | let component_val_ptr = base.byte_add(self.component_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::byte_add` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 197 | let entity_id_ptr = base.byte_add(self.entity_id_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shaders` [INFO] [stdout] --> src/renderer/mod.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | fn build(shaders: R) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shaders` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/array.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | ptr::drop_in_place::(raw as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/array.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | unsafe fn dynamic_drop(raw: *mut ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_multi` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/mod.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | ComponentStorage::Array(storage) => storage.get_multi(entities), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn get_multi(&self, entities: &[EntityId]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `legacy_storage::array::ComponentArray::get_mut_multi` is unsafe and requires unsafe block [INFO] [stdout] --> src/legacy_storage/mod.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | ComponentStorage::Array(storage) => storage.get_mut_multi(entities), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/legacy_storage/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / pub unsafe fn get_mut_multi( [INFO] [stdout] 58 | | &mut self, [INFO] [stdout] 59 | | entities: &[EntityId], [INFO] [stdout] 60 | | ) -> Vec> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shaders` [INFO] [stdout] --> src/renderer/mod.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | fn build(shaders: R) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shaders` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/runtime/mod.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let storage = storage_cell.as_ref().expect("Storage returned nullptr"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/runtime/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn get_component_for_entity(&self, entity: EntityId) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/runtime/mod.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let storage = storage_cell.as_ref().expect("Storage returned nullptr"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/runtime/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn get_component_for_entity(&self, entity: EntityId) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/runtime/mod.rs:164:33 [INFO] [stdout] | [INFO] [stdout] 164 | fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/runtime/mod.rs:164:33 [INFO] [stdout] | [INFO] [stdout] 164 | fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/builtins/components/name.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Name(String); [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Name` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `clear`, `merge_with`, `merge`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/command/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl Command { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn merge_with(&mut self, other: Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn merge(a: Self, b: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_component_for_entity` is never used [INFO] [stdout] --> src/runtime/mod.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 45 | impl Runtime { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 46 | unsafe fn get_component_for_entity(&self, entity: EntityId) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_ids` and `storages` are never read [INFO] [stdout] --> src/storage/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ArchetypeStorage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | entity_ids: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | storages: Box<[AnyVec]>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArchetypeStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `archetypes` is never read [INFO] [stdout] --> src/storage/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ComponentStorage { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 18 | archetypes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wutengine` (lib test) due to 10 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7fed6bd48babc71605d5896833218920624679decce6d2c8feda8a29f183f752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fed6bd48babc71605d5896833218920624679decce6d2c8feda8a29f183f752", kill_on_drop: false }` [INFO] [stdout] 7fed6bd48babc71605d5896833218920624679decce6d2c8feda8a29f183f752