[INFO] fetching crate ambient_ecs 0.2.1... [INFO] checking ambient_ecs-0.2.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ambient_ecs 0.2.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate ambient_ecs 0.2.1 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 ambient_ecs 0.2.1 [INFO] finished tweaking crates.io crate ambient_ecs 0.2.1 [INFO] tweaked toml for crates.io crate ambient_ecs 0.2.1 written to /workspace/builds/worker-7-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 359 packages to latest compatible versions [INFO] [stderr] Adding ambient_asset_cache v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding ambient_cb v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding ambient_color v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding ambient_friendly_id v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding ambient_math v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding ambient_schema v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding ambient_shared_types v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding ambient_std v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding ambient_sys v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding android-activity v0.4.3 (available: v0.6.0) [INFO] [stderr] Adding as-any v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding ash v0.37.3+1.3.251 (available: v0.38.0+1.3.281) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-sys v0.1.0-beta.1 (available: v0.1.0-beta.2) [INFO] [stderr] Adding block2 v0.2.0-alpha.6 (available: v0.2.0) [INFO] [stderr] Adding calloop v0.10.6 (available: v0.14.1) [INFO] [stderr] Adding cfg_aliases v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding core-graphics v0.22.3 (available: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding d3d12 v0.6.0 (available: v22.0.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding erased-serde v0.3.31 (available: v0.4.5) [INFO] [stderr] Adding flume v0.10.14 (available: v0.11.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding glam v0.22.0 (available: v0.29.0) [INFO] [stderr] Adding gloo v0.8.1 (available: v0.11.0) [INFO] [stderr] Adding gloo-console v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding gloo-dialogs v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding gloo-events v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding gloo-file v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding gloo-history v0.1.5 (available: v0.2.2) [INFO] [stderr] Adding gloo-net v0.3.1 (available: v0.6.0) [INFO] [stderr] Adding gloo-render v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding gloo-storage v0.2.2 (available: v0.3.0) [INFO] [stderr] Adding gloo-timers v0.2.6 (available: v0.3.0) [INFO] [stderr] Adding gloo-utils v0.1.7 (available: v0.2.0) [INFO] [stderr] Adding gloo-worker v0.2.1 (available: v0.5.0) [INFO] [stderr] Adding glow v0.12.3 (available: v0.14.1) [INFO] [stderr] Adding gpu-alloc v0.5.4 (available: v0.6.0) [INFO] [stderr] Adding gpu-alloc-types v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding gpu-allocator v0.22.0 (available: v0.27.0) [INFO] [stderr] Adding gpu-descriptor v0.2.4 (available: v0.3.0) [INFO] [stderr] Adding gpu-descriptor-types v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hashlink v0.8.4 (available: v0.9.1) [INFO] [stderr] Adding hassle-rs v0.10.0 (available: v0.11.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (available: v0.27.3) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding khronos-egl v4.1.0 (available: v6.0.0) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.5) [INFO] [stderr] Adding libredox v0.0.2 (available: v0.1.3) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding memmap2 v0.5.10 (available: v0.9.5) [INFO] [stderr] Adding memoffset v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding metal v0.24.0 (available: v0.29.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (available: v0.8.0) [INFO] [stderr] Adding mio v0.8.11 (available: v1.0.2) [INFO] [stderr] Adding naga v0.12.3 (available: v22.1.0) [INFO] [stderr] Adding ndk v0.7.0 (available: v0.9.0) [INFO] [stderr] Adding ndk-sys v0.4.1+23.1.7779620 (available: v0.6.0+11769913) [INFO] [stderr] Adding nix v0.24.3 (available: v0.29.0) [INFO] [stderr] Adding nix v0.25.1 (available: v0.29.0) [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.3) [INFO] [stderr] Adding num_enum v0.6.1 (available: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.5.11 (available: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.6.1 (available: v0.7.3) [INFO] [stderr] Adding objc-sys v0.2.0-beta.2 (available: v0.2.0-beta.3) [INFO] [stderr] Adding objc2 v0.3.0-beta.3.patch-leaks.3 (available: v0.3.0-beta.5) [INFO] [stderr] Adding objc2-encode v2.0.0-pre.2 (available: v2.0.0) [INFO] [stderr] Adding ordered-float v3.9.2 (available: v4.3.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding puffin v0.14.3 (available: v0.19.1) [INFO] [stderr] Adding raw-window-handle v0.5.2 (available: v0.6.2) [INFO] [stderr] Adding redox_syscall v0.3.5 (available: v0.5.6) [INFO] [stderr] Adding redox_syscall v0.4.1 (available: v0.5.6) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding rustls v0.21.12 (available: v0.23.13) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.102.8) [INFO] [stderr] Adding sctk-adwaita v0.5.4 (available: v0.10.1) [INFO] [stderr] Adding sentry-anyhow v0.27.0 (available: v0.34.0) [INFO] [stderr] Adding sentry-backtrace v0.27.0 (available: v0.34.0) [INFO] [stderr] Adding sentry-core v0.27.0 (available: v0.34.0) [INFO] [stderr] Adding sentry-types v0.27.0 (available: v0.34.0) [INFO] [stderr] Adding serde-wasm-bindgen v0.5.0 (available: v0.6.5) [INFO] [stderr] Adding smithay-client-toolkit v0.16.1 (available: v0.19.2) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding spirv v0.2.0+1.5.4 (available: v0.3.0+sdk-1.3.268.0) [INFO] [stderr] Adding strict-num v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding strum v0.24.1 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding tiny-skia v0.8.4 (available: v0.11.4) [INFO] [stderr] Adding tiny-skia-path v0.8.4 (available: v0.11.4) [INFO] [stderr] Adding tokio-rustls v0.24.1 (available: v0.26.0) [INFO] [stderr] Adding toml v0.7.8 (available: v0.8.19) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wayland-client v0.29.5 (available: v0.31.6) [INFO] [stderr] Adding wayland-cursor v0.29.5 (available: v0.31.6) [INFO] [stderr] Adding wayland-protocols v0.29.5 (available: v0.32.4) [INFO] [stderr] Adding wayland-scanner v0.29.5 (available: v0.31.5) [INFO] [stderr] Adding wayland-sys v0.29.5 (available: v0.31.5) [INFO] [stderr] Adding webpki-roots v0.25.4 (available: v0.26.6) [INFO] [stderr] Adding wgpu v0.16.3 (available: v22.1.0) [INFO] [stderr] Adding wgpu-core v0.16.1 (available: v22.1.0) [INFO] [stderr] Adding wgpu-hal v0.16.2 (available: v22.0.0) [INFO] [stderr] Adding wgpu-types v0.16.1 (available: v22.0.0) [INFO] [stderr] Adding windows v0.44.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.48.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] [stderr] Adding winit v0.28.7 (available: v0.30.5) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] [stderr] Adding yaml-rust-davvid v0.5.2 (available: v0.6.4) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec54ad46e0d04047e17e406c5829ec64129cd5a4e9136efa4ce1040047c0d9c9 [INFO] running `Command { std: "docker" "start" "-a" "ec54ad46e0d04047e17e406c5829ec64129cd5a4e9136efa4ce1040047c0d9c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec54ad46e0d04047e17e406c5829ec64129cd5a4e9136efa4ce1040047c0d9c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec54ad46e0d04047e17e406c5829ec64129cd5a4e9136efa4ce1040047c0d9c9", kill_on_drop: false }` [INFO] [stdout] ec54ad46e0d04047e17e406c5829ec64129cd5a4e9136efa4ce1040047c0d9c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76aa3ca6afdb817b75c75df17a544fe7f1d28bd67f3e354ee3059c5aaba976a5 [INFO] running `Command { std: "docker" "start" "-a" "76aa3ca6afdb817b75c75df17a544fe7f1d28bd67f3e354ee3059c5aaba976a5", 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 libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking fdeflate v0.3.5 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking glam v0.22.0 [INFO] [stderr] Checking sentry-types v0.27.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking sentry-core v0.27.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking ambient_sys v0.2.1 [INFO] [stderr] Compiling ambient_project v0.2.1 [INFO] [stderr] Checking sentry-backtrace v0.27.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking puffin v0.14.3 [INFO] [stderr] Compiling ambient_profiling_procmacros v1.0.9 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking as-any v0.2.1 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ambient_asset_cache v0.2.1 [INFO] [stderr] Checking ambient_profiling v1.0.9 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling ambient_project_macro_common v0.2.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking sentry-anyhow v0.27.0 [INFO] [stderr] Checking ambient_math v0.2.1 [INFO] [stderr] Checking ambient_color v0.2.1 [INFO] [stderr] Checking relative-path v1.9.3 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ambient_friendly_id v0.2.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling ambient_schema v0.2.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking ambient_cb v0.2.1 [INFO] [stderr] Checking yaml-rust-davvid v0.5.2 [INFO] [stderr] Checking ambient_project_rt v0.2.1 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Compiling ambient_project_macro v0.2.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking ambient_shared_types v0.2.1 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking ambient_std v0.2.1 [INFO] [stderr] Checking ambient_ecs v0.2.1 (/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 `ambient_ecs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/component.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/component.rs:322:62 [INFO] [stderr] | [INFO] [stderr] 322 | ($ns: literal, { $($(#[$outer:meta])* $(@[$($attr: ty$([ $params: expr_2021 ])?),*])? $vis: vis $name:ident: $ty:ty,)*}) => { [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: aborting due to 1 previous error [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/location.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | pub gen: i32, [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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/location.rs:182:40 [INFO] [stdout] | [INFO] [stdout] 182 | Self { archetype: 0, index: 0, gen: -2 } [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/component.rs:322:71 [INFO] [stdout] | [INFO] [stdout] 322 | ($ns: literal, { $($(#[$outer:meta])* $(@[$($attr: ty$([ $params: expr ])?),*])? $vis: vis $name:ident: $ty:ty,)*}) => { [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] 322 | ($ns: literal, { $($(#[$outer:meta])* $(@[$($attr: ty$([ $params: expr_2021 ])?),*])? $vis: vis $name:ident: $ty:ty,)*}) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component_ser::*` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use component_ser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | mem::transmute::<&'static ComponentVTable, &'static ComponentVTable<()>>(self) [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/component_entry.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub const unsafe fn erase(&'static self) -> &'static ComponentVTable<()> { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:309:10 [INFO] [stdout] | [INFO] [stdout] 309 | &*(self as *const ComponentHolder<()> as *const ComponentHolder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/component_entry.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | unsafe fn cast(&self) -> &ComponentHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | &mut *(self as *mut ComponentHolder<()> as *mut ComponentHolder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/component_entry.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | unsafe fn cast_mut(&mut self) -> &mut ComponentHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExComponentValue` is never used [INFO] [stdout] --> src/component_traits.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ExComponentValue: ComponentValue + Serialize + DeserializeOwned + Clone + std::fmt::Debug {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:526:16 [INFO] [stdout] | [INFO] [stdout] 526 | if let Some(component) = data.iter().find(|c| c.has_attribute::()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 526 ~ match data.iter().find(|c| c.has_attribute::()) { Some(component) => { [INFO] [stdout] 527 | return Err(ECSError::AddedResourceToEntity { [INFO] [stdout] ... [INFO] [stdout] 530 | }); [INFO] [stdout] 531 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:904:16 [INFO] [stdout] | [INFO] [stdout] 904 | if let Err(err) = command.apply(world) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:906:13 [INFO] [stdout] | [INFO] [stdout] 906 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 904 ~ match command.apply(world) { Err(err) => { [INFO] [stdout] 905 | log::warn!("soft_apply error: {:?}", err); [INFO] [stdout] 906 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetype.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | if let Some(component) = self.components.get(component.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/archetype.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match self.components.get(component.index() as _) { Some(component) => { [INFO] [stdout] 268 | Some(unsafe { &**component.data.0.get() }) [INFO] [stdout] 269 ~ } _ => { [INFO] [stdout] 270 | None [INFO] [stdout] 271 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetype.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 294 | if let Some(component) = self.components.get_mut(component.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/archetype.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 294 ~ match self.components.get_mut(component.index() as _) { Some(component) => { [INFO] [stdout] 295 | Some(&mut *component) [INFO] [stdout] 296 ~ } _ => { [INFO] [stdout] 297 | None [INFO] [stdout] 298 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetype.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | if let Some(arch_comp) = &self.components.get(component.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/archetype.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 317 ~ match &self.components.get(component.index() as _) { Some(arch_comp) => { [INFO] [stdout] 318 | arch_comp.on_write(entity_id, entity_ix, version); [INFO] [stdout] ... [INFO] [stdout] 322 | .map(|x| &mut x.data[entity_ix]) [INFO] [stdout] 323 ~ } _ => { [INFO] [stdout] 324 | None [INFO] [stdout] 325 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetype.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | if let Some(arch_comp) = &self.components.get(entry.index() as usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/archetype.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 336 ~ match &self.components.get(entry.index() as usize) { Some(arch_comp) => { [INFO] [stdout] 337 | arch_comp.on_write(entity_id, entity_ix, version); [INFO] [stdout] ... [INFO] [stdout] 340 | true [INFO] [stdout] 341 ~ } _ => { [INFO] [stdout] 342 | false [INFO] [stdout] 343 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/component.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | if let Some(v) = self.attribute::() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/component.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 253 ~ match self.attribute::() { Some(v) => { [INFO] [stdout] 254 | v.as_debug(value) [INFO] [stdout] 255 ~ } _ => { [INFO] [stdout] 256 | &NoDebug [INFO] [stdout] 257 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/component_registry.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | / define_external_component_attribute_flags![ [INFO] [stdout] 102 | | (debuggable, Debuggable), [INFO] [stdout] 103 | | (networked, Networked), [INFO] [stdout] 104 | | (resource, Resource), [INFO] [stdout] 105 | | (store, Store), [INFO] [stdout] 106 | | (maybe_resource, MaybeResource) [INFO] [stdout] 107 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/component_registry.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 101 | / define_external_component_attribute_flags![ [INFO] [stdout] 102 | | (debuggable, Debuggable), [INFO] [stdout] 103 | | (networked, Networked), [INFO] [stdout] 104 | | (resource, Resource), [INFO] [stdout] 105 | | (store, Store), [INFO] [stdout] 106 | | (maybe_resource, MaybeResource) [INFO] [stdout] 107 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `define_external_component_attribute_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 71 | pub fn iter(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/entity.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if let Some(entry) = self.content.get(component.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/entity.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 34 ~ match self.content.get(component.index() as _) { Some(entry) => { [INFO] [stdout] 35 | Some(entry.downcast_ref::()) [INFO] [stdout] 36 ~ } _ => { [INFO] [stdout] 37 | None [INFO] [stdout] 38 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/entity.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(entry) = self.content.get_mut(component.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/entity.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 45 ~ match self.content.get_mut(component.index() as _) { Some(entry) => { [INFO] [stdout] 46 | Some(entry.downcast_mut::()) [INFO] [stdout] 47 ~ } _ => { [INFO] [stdout] 48 | None [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/entity.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(ser) = entry.attribute::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/entity.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match entry.attribute::() { Some(ser) => { [INFO] [stdout] 221 | let value = ser.serialize(entry); [INFO] [stdout] 222 | map.serialize_entry(&entry.desc().path(), &value).expect("Bincode does not support #[serde(flatten)]"); [INFO] [stdout] 223 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/entity.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | while let Some(key) = map.next_key::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/entity.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/entity.rs:290:23 [INFO] [stdout] | [INFO] [stdout] 290 | while let Some((key, value)) = map.next_entry::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/entity.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/index.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(key) = self.ids_to_keys.remove(&id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/index.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match self.ids_to_keys.remove(&id) { Some(key) => { [INFO] [stdout] 76 | self.index.remove(&key) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | false [INFO] [stdout] 79 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/index.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | if let Some(key) = key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/index.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 244 ~ match key { Some(key) => { [INFO] [stdout] 245 | index.insert(key) [INFO] [stdout] 246 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:56:60 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter_archetypes<'a>(&self, world: &'a World) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter_archetypes<'a>(&self, world: &'a World) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter_archetypes<'a>(&self, world: &'a World) -> impl Iterator + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 62 | ) -> impl Iterator + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:68:58 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/query.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 472 | if let Some(arch_comp) = arch.components.get(comp.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/query.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 476 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 472 ~ match arch.components.get(comp.index() as _) { Some(arch_comp) => { [INFO] [stdout] 473 | let events = &*arch_comp.changes.borrow(); [INFO] [stdout] 474 | let read = state.change_readers.get(arch.id, comp.index() as _); [INFO] [stdout] 475 | read.move_to_end(events); [INFO] [stdout] 476 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/query.rs:488:20 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(arch_comp) = arch.components.get(comp.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/query.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 488 ~ match arch.components.get(comp.index() as _) { Some(arch_comp) => { [INFO] [stdout] 489 | let read = state.change_readers.get(arch.id, comp.index() as _); [INFO] [stdout] ... [INFO] [stdout] 500 | } [INFO] [stdout] 501 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>::Data)> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:806:10 [INFO] [stdout] | [INFO] [stdout] 806 | ) -> impl Iterator>::Data)> + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 806 | ) -> impl Iterator>::Data)> + 'a + use<'a, R> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>::DataCloned)> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:816:10 [INFO] [stdout] | [INFO] [stdout] 816 | ) -> impl Iterator>::DataCloned)> + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:813:9 [INFO] [stdout] | [INFO] [stdout] 813 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 816 | ) -> impl Iterator>::DataCloned)> + 'a + use<'a, R> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>::DataMut, >::Data)> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:983:10 [INFO] [stdout] | [INFO] [stdout] 983 | ) -> impl Iterator< [INFO] [stdout] | __________^ [INFO] [stdout] 984 | | Item = ( [INFO] [stdout] 985 | | EntityId, [INFO] [stdout] 986 | | >::DataMut, [INFO] [stdout] 987 | | >::Data, [INFO] [stdout] 988 | | ), [INFO] [stdout] 989 | | > + 'a { [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 989 | > + 'a + use<'a, RW, R> { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serialization.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(ser) = comp.attribute::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/serialization.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 33 ~ match comp.attribute::() { Some(ser) => { [INFO] [stdout] 34 | let value = self.world.get_entry(self.id, comp).unwrap(); [INFO] [stdout] 35 | entity.serialize_entry(&comp.path(), ser.serialize(&value))?; [INFO] [stdout] 36 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serialization.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | while let Some((id, entity)) = map.next_entry::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/serialization.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serialization.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | while let Some((id, entity)) = map.next_entry::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/serialization.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/stream.rs:225:57 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn all_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/stream.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn all_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 225 | pub fn all_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 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 `ambient_ecs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/component.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/component.rs:322:62 [INFO] [stderr] | [INFO] [stderr] 322 | ($ns: literal, { $($(#[$outer:meta])* $(@[$($attr: ty$([ $params: expr_2021 ])?),*])? $vis: vis $name:ident: $ty:ty,)*}) => { [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: aborting due to 1 previous error [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/location.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | pub gen: i32, [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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/location.rs:182:40 [INFO] [stdout] | [INFO] [stdout] 182 | Self { archetype: 0, index: 0, gen: -2 } [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/component.rs:322:71 [INFO] [stdout] | [INFO] [stdout] 322 | ($ns: literal, { $($(#[$outer:meta])* $(@[$($attr: ty$([ $params: expr ])?),*])? $vis: vis $name:ident: $ty:ty,)*}) => { [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] 322 | ($ns: literal, { $($(#[$outer:meta])* $(@[$($attr: ty$([ $params: expr_2021 ])?),*])? $vis: vis $name:ident: $ty:ty,)*}) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component_ser::*` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use component_ser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | mem::transmute::<&'static ComponentVTable, &'static ComponentVTable<()>>(self) [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/component_entry.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub const unsafe fn erase(&'static self) -> &'static ComponentVTable<()> { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:309:10 [INFO] [stdout] | [INFO] [stdout] 309 | &*(self as *const ComponentHolder<()> as *const ComponentHolder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/component_entry.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | unsafe fn cast(&self) -> &ComponentHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | &mut *(self as *mut ComponentHolder<()> as *mut ComponentHolder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/component_entry.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | unsafe fn cast_mut(&mut self) -> &mut ComponentHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExComponentValue` is never used [INFO] [stdout] --> src/component_traits.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ExComponentValue: ComponentValue + Serialize + DeserializeOwned + Clone + std::fmt::Debug {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:526:16 [INFO] [stdout] | [INFO] [stdout] 526 | if let Some(component) = data.iter().find(|c| c.has_attribute::()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 526 ~ match data.iter().find(|c| c.has_attribute::()) { Some(component) => { [INFO] [stdout] 527 | return Err(ECSError::AddedResourceToEntity { [INFO] [stdout] ... [INFO] [stdout] 530 | }); [INFO] [stdout] 531 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:904:16 [INFO] [stdout] | [INFO] [stdout] 904 | if let Err(err) = command.apply(world) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:906:13 [INFO] [stdout] | [INFO] [stdout] 906 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 904 ~ match command.apply(world) { Err(err) => { [INFO] [stdout] 905 | log::warn!("soft_apply error: {:?}", err); [INFO] [stdout] 906 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetype.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | if let Some(component) = self.components.get(component.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/archetype.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match self.components.get(component.index() as _) { Some(component) => { [INFO] [stdout] 268 | Some(unsafe { &**component.data.0.get() }) [INFO] [stdout] 269 ~ } _ => { [INFO] [stdout] 270 | None [INFO] [stdout] 271 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetype.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 294 | if let Some(component) = self.components.get_mut(component.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/archetype.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 294 ~ match self.components.get_mut(component.index() as _) { Some(component) => { [INFO] [stdout] 295 | Some(&mut *component) [INFO] [stdout] 296 ~ } _ => { [INFO] [stdout] 297 | None [INFO] [stdout] 298 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetype.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | if let Some(arch_comp) = &self.components.get(component.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/archetype.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 317 ~ match &self.components.get(component.index() as _) { Some(arch_comp) => { [INFO] [stdout] 318 | arch_comp.on_write(entity_id, entity_ix, version); [INFO] [stdout] ... [INFO] [stdout] 322 | .map(|x| &mut x.data[entity_ix]) [INFO] [stdout] 323 ~ } _ => { [INFO] [stdout] 324 | None [INFO] [stdout] 325 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetype.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | if let Some(arch_comp) = &self.components.get(entry.index() as usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/archetype.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 336 ~ match &self.components.get(entry.index() as usize) { Some(arch_comp) => { [INFO] [stdout] 337 | arch_comp.on_write(entity_id, entity_ix, version); [INFO] [stdout] ... [INFO] [stdout] 340 | true [INFO] [stdout] 341 ~ } _ => { [INFO] [stdout] 342 | false [INFO] [stdout] 343 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/component.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | if let Some(v) = self.attribute::() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/component.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 253 ~ match self.attribute::() { Some(v) => { [INFO] [stdout] 254 | v.as_debug(value) [INFO] [stdout] 255 ~ } _ => { [INFO] [stdout] 256 | &NoDebug [INFO] [stdout] 257 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/component_registry.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | / define_external_component_attribute_flags![ [INFO] [stdout] 102 | | (debuggable, Debuggable), [INFO] [stdout] 103 | | (networked, Networked), [INFO] [stdout] 104 | | (resource, Resource), [INFO] [stdout] 105 | | (store, Store), [INFO] [stdout] 106 | | (maybe_resource, MaybeResource) [INFO] [stdout] 107 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/component_registry.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 101 | / define_external_component_attribute_flags![ [INFO] [stdout] 102 | | (debuggable, Debuggable), [INFO] [stdout] 103 | | (networked, Networked), [INFO] [stdout] 104 | | (resource, Resource), [INFO] [stdout] 105 | | (store, Store), [INFO] [stdout] 106 | | (maybe_resource, MaybeResource) [INFO] [stdout] 107 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `define_external_component_attribute_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 71 | pub fn iter(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/entity.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if let Some(entry) = self.content.get(component.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/entity.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 34 ~ match self.content.get(component.index() as _) { Some(entry) => { [INFO] [stdout] 35 | Some(entry.downcast_ref::()) [INFO] [stdout] 36 ~ } _ => { [INFO] [stdout] 37 | None [INFO] [stdout] 38 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/entity.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(entry) = self.content.get_mut(component.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/entity.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 45 ~ match self.content.get_mut(component.index() as _) { Some(entry) => { [INFO] [stdout] 46 | Some(entry.downcast_mut::()) [INFO] [stdout] 47 ~ } _ => { [INFO] [stdout] 48 | None [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/entity.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(ser) = entry.attribute::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/entity.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match entry.attribute::() { Some(ser) => { [INFO] [stdout] 221 | let value = ser.serialize(entry); [INFO] [stdout] 222 | map.serialize_entry(&entry.desc().path(), &value).expect("Bincode does not support #[serde(flatten)]"); [INFO] [stdout] 223 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/entity.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | while let Some(key) = map.next_key::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/entity.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/entity.rs:290:23 [INFO] [stdout] | [INFO] [stdout] 290 | while let Some((key, value)) = map.next_entry::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/entity.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/index.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(key) = self.ids_to_keys.remove(&id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/index.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match self.ids_to_keys.remove(&id) { Some(key) => { [INFO] [stdout] 76 | self.index.remove(&key) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | false [INFO] [stdout] 79 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/index.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | if let Some(key) = key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/index.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 244 ~ match key { Some(key) => { [INFO] [stdout] 245 | index.insert(key) [INFO] [stdout] 246 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:56:60 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter_archetypes<'a>(&self, world: &'a World) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter_archetypes<'a>(&self, world: &'a World) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter_archetypes<'a>(&self, world: &'a World) -> impl Iterator + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 62 | ) -> impl Iterator + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:68:58 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/query.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 472 | if let Some(arch_comp) = arch.components.get(comp.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/query.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 476 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 472 ~ match arch.components.get(comp.index() as _) { Some(arch_comp) => { [INFO] [stdout] 473 | let events = &*arch_comp.changes.borrow(); [INFO] [stdout] 474 | let read = state.change_readers.get(arch.id, comp.index() as _); [INFO] [stdout] 475 | read.move_to_end(events); [INFO] [stdout] 476 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/query.rs:488:20 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(arch_comp) = arch.components.get(comp.index() as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/query.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 488 ~ match arch.components.get(comp.index() as _) { Some(arch_comp) => { [INFO] [stdout] 489 | let read = state.change_readers.get(arch.id, comp.index() as _); [INFO] [stdout] ... [INFO] [stdout] 500 | } [INFO] [stdout] 501 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>::Data)> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:806:10 [INFO] [stdout] | [INFO] [stdout] 806 | ) -> impl Iterator>::Data)> + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 806 | ) -> impl Iterator>::Data)> + 'a + use<'a, R> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>::DataCloned)> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:816:10 [INFO] [stdout] | [INFO] [stdout] 816 | ) -> impl Iterator>::DataCloned)> + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:813:9 [INFO] [stdout] | [INFO] [stdout] 813 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 816 | ) -> impl Iterator>::DataCloned)> + 'a + use<'a, R> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>::DataMut, >::Data)> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/query.rs:983:10 [INFO] [stdout] | [INFO] [stdout] 983 | ) -> impl Iterator< [INFO] [stdout] | __________^ [INFO] [stdout] 984 | | Item = ( [INFO] [stdout] 985 | | EntityId, [INFO] [stdout] 986 | | >::DataMut, [INFO] [stdout] 987 | | >::Data, [INFO] [stdout] 988 | | ), [INFO] [stdout] 989 | | > + 'a { [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/query.rs:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 989 | > + 'a + use<'a, RW, R> { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serialization.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(ser) = comp.attribute::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/serialization.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 33 ~ match comp.attribute::() { Some(ser) => { [INFO] [stdout] 34 | let value = self.world.get_entry(self.id, comp).unwrap(); [INFO] [stdout] 35 | entity.serialize_entry(&comp.path(), ser.serialize(&value))?; [INFO] [stdout] 36 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serialization.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | while let Some((id, entity)) = map.next_entry::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/serialization.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serialization.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | while let Some((id, entity)) = map.next_entry::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/serialization.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/stream.rs:225:57 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn all_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/stream.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn all_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 225 | pub fn all_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/ecs_change_detection.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/streaming.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/ecs.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/index.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.06s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ambient_ecs v0.2.1 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/location.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct EntityLocation { [INFO] [stdout] | -------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 178 | pub gen: i32, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 178 | pub r#gen: i32, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/location.rs:182:40 [INFO] [stdout] | [INFO] [stdout] 182 | Self { archetype: 0, index: 0, gen: -2 } [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 182 | Self { archetype: 0, index: 0, r#gen: -2 } [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/location.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct EntityLocation { [INFO] [stdout] | -------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 178 | pub gen: i32, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 178 | pub r#gen: i32, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/location.rs:182:40 [INFO] [stdout] | [INFO] [stdout] 182 | Self { archetype: 0, index: 0, gen: -2 } [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 182 | Self { archetype: 0, index: 0, r#gen: -2 } [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component_ser::*` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use component_ser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component_ser::*` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use component_ser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/query.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | -- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` defined here [INFO] [stdout] 69 | / self.iter_by_archetypes(&world.archetypes).flat_map(|arch| { [INFO] [stdout] 70 | | arch.entity_indices_to_ids [INFO] [stdout] 71 | | .iter() [INFO] [stdout] 72 | | .map(move |&id| EntityAccessor::World { id }) [INFO] [stdout] 73 | | }) [INFO] [stdout] | |__________^ method was supposed to return data with lifetime `'a` but it is returning data with lifetime `'1` [INFO] [stdout] | [INFO] [stdout] help: consider reusing a named lifetime parameter and update trait if needed [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter_entities<'a>(&'a self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 69 | self.iter_by_archetypes(&world.archetypes).flat_map(move |arch| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/query.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter_entities<'a>(&self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | -- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` defined here [INFO] [stdout] 69 | / self.iter_by_archetypes(&world.archetypes).flat_map(|arch| { [INFO] [stdout] 70 | | arch.entity_indices_to_ids [INFO] [stdout] 71 | | .iter() [INFO] [stdout] 72 | | .map(move |&id| EntityAccessor::World { id }) [INFO] [stdout] 73 | | }) [INFO] [stdout] | |__________^ method was supposed to return data with lifetime `'a` but it is returning data with lifetime `'1` [INFO] [stdout] | [INFO] [stdout] help: consider reusing a named lifetime parameter and update trait if needed [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter_entities<'a>(&'a self, world: &'a World) -> impl Iterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 69 | self.iter_by_archetypes(&world.archetypes).flat_map(move |arch| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | mem::transmute::<&'static ComponentVTable, &'static ComponentVTable<()>>(self) [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/component_entry.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub const unsafe fn erase(&'static self) -> &'static ComponentVTable<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:309:10 [INFO] [stdout] | [INFO] [stdout] 309 | &*(self as *const ComponentHolder<()> as *const ComponentHolder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/component_entry.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | unsafe fn cast(&self) -> &ComponentHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | &mut *(self as *mut ComponentHolder<()> as *mut ComponentHolder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/component_entry.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | unsafe fn cast_mut(&mut self) -> &mut ComponentHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | mem::transmute::<&'static ComponentVTable, &'static ComponentVTable<()>>(self) [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/component_entry.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub const unsafe fn erase(&'static self) -> &'static ComponentVTable<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:309:10 [INFO] [stdout] | [INFO] [stdout] 309 | &*(self as *const ComponentHolder<()> as *const ComponentHolder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/component_entry.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | unsafe fn cast(&self) -> &ComponentHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/component_entry.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | &mut *(self as *mut ComponentHolder<()> as *mut ComponentHolder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/component_entry.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | unsafe fn cast_mut(&mut self) -> &mut ComponentHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 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 `ambient_ecs` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 4 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 `ambient_ecs` (lib test) due to 4 previous errors; 4 warnings emitted [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" "76aa3ca6afdb817b75c75df17a544fe7f1d28bd67f3e354ee3059c5aaba976a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76aa3ca6afdb817b75c75df17a544fe7f1d28bd67f3e354ee3059c5aaba976a5", kill_on_drop: false }` [INFO] [stdout] 76aa3ca6afdb817b75c75df17a544fe7f1d28bd67f3e354ee3059c5aaba976a5