[INFO] cloning repository https://github.com/Rylans-Game/ecs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rylans-Game/ecs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRylans-Game%2Fecs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRylans-Game%2Fecs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2044568bebf697f7ba7cb540c0e60b1a18946cd [INFO] checking Rylans-Game/ecs/e2044568bebf697f7ba7cb540c0e60b1a18946cd against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRylans-Game%2Fecs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rylans-Game/ecs 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 git repo https://github.com/Rylans-Game/ecs [INFO] finished tweaking git repo https://github.com/Rylans-Game/ecs [INFO] tweaked toml for git repo https://github.com/Rylans-Game/ecs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Rylans-Game/ecs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 972def8feeb1a7a0b11d15e8c583fa02931d171f41c5d92f3ddbed3a3bc6ee6e [INFO] running `Command { std: "docker" "start" "-a" "972def8feeb1a7a0b11d15e8c583fa02931d171f41c5d92f3ddbed3a3bc6ee6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "972def8feeb1a7a0b11d15e8c583fa02931d171f41c5d92f3ddbed3a3bc6ee6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "972def8feeb1a7a0b11d15e8c583fa02931d171f41c5d92f3ddbed3a3bc6ee6e", kill_on_drop: false }` [INFO] [stdout] 972def8feeb1a7a0b11d15e8c583fa02931d171f41c5d92f3ddbed3a3bc6ee6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b5fcb6ec01edb2ac068733a80b6c273a0b68fbf858a4e80c765675b4e1e3f76b [INFO] running `Command { std: "docker" "start" "-a" "b5fcb6ec01edb2ac068733a80b6c273a0b68fbf858a4e80c765675b4e1e3f76b", 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 autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking hashbrown v0.14.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking stdext v0.3.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking rylans-ecs v0.1.0 (/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 `rylans_ecs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/archetypes.rs [INFO] [stderr] * src/commands.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/handle.rs [INFO] [stderr] * src/params.rs [INFO] [stderr] * src/ptr.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/error.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | ($message:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | ($expression: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/archetypes.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | /// Fast lookup for inserting Archetypes into Tables. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 30 | archetypes: BTreeMap::new(), [INFO] [stderr] | --------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/archetypes.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | / /// Command Queue. Commands can be submitted and stored [INFO] [stderr] 33 | | /// here before being processed. [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 34 | commands: Commands::null(), [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/ecs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/archetypes.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | / /// Stores the tables, which stores the components [INFO] [stderr] 37 | | /// for a specific archetype. [INFO] [stderr] | |__________________________________________^ [INFO] [stderr] 38 | tables: Vec::new(), [INFO] [stderr] | ------------------ rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/archetypes.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | / /// Cache for storing archetypes that are parents [INFO] [stderr] 41 | | /// of Queries. Updated whenever a new table is allocated. [INFO] [stderr] | |_______________________________________________________________________^ [INFO] [stderr] 42 | cache: QueryCache::new(), [INFO] [stderr] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/handle.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | unsafe { &mut ID } [INFO] [stderr] | ^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 12 | unsafe { addr_of_mut!(ID) } [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/ptr.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | unsafe { &self.val as *const T as *mut T } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ecs` [INFO] [stderr] --> src/params.rs:42:38 [INFO] [stderr] | [INFO] [stderr] 42 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ecs` [INFO] [stderr] --> src/params.rs:80:38 [INFO] [stderr] | [INFO] [stderr] 80 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ecs` [INFO] [stderr] --> src/commands.rs:162:38 [INFO] [stderr] | [INFO] [stderr] 162 | fn access(_: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/params.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/params.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use super::handle::{Resource, Component}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::error::Trace` [INFO] [stdout] --> src/systems.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::error::Trace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | ($message:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 22 | ($message:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | ($expression: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($expression: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::anon::Anon` [INFO] [stdout] --> src/query.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::anon::Anon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/archetypes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `anyhow` [INFO] [stdout] --> src/archetypes.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Result, anyhow}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NO_DROP` [INFO] [stdout] --> src/archetypes.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use super::table::{DO_DROP, NO_DROP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | /// Fast lookup for inserting Archetypes into Tables. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | archetypes: BTreeMap::new(), [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Command Queue. Commands can be submitted and stored [INFO] [stdout] 35 | | /// here before being processed. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 36 | commands: Commands::null(), [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Stores the tables, which stores the components [INFO] [stdout] 39 | | /// for a specific archetype. [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] 40 | tables: Vec::new(), [INFO] [stdout] | ------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | / /// Cache for storing archetypes that are parents [INFO] [stdout] 43 | | /// of Queries. Updated whenever a new table is allocated. [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] 44 | cache: QueryCache::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NO_DROP` [INFO] [stdout] --> src/commands.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use super::table::{DO_DROP, NO_DROP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/handle.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { &mut ID } [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { addr_of_mut!(ID) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ptr.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { &self.val as *const T as *mut T } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/params.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/params.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/anon.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | new_data = alloc(new_layout); [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/anon.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe fn grow_if_full(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/anon.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 191 | new_data = realloc(self.inner.as_ptr(), new_layout, new_capacity * self.layout.size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/commands.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | fn access(_: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ecs` is never read [INFO] [stdout] --> src/query.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Query { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | ecs: Ptr, [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/resources.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(res) = self.resources[*R::handle() as usize].downcast_ref::>() { [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/resources.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } else { [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] 31 ~ match self.resources[*R::handle() as usize].downcast_ref::>() { Some(res) => { [INFO] [stdout] 32 | Trace::Ok(ResRef(res.get())) [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | start_trace!(format!("Handle for resource {} was invalid!", R::name())); [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resources.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(res) = self.resources[*R::handle() as usize].downcast_ref::>() { [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/resources.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | } 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] 43 ~ match self.resources[*R::handle() as usize].downcast_ref::>() { Some(res) => { [INFO] [stdout] 44 | Trace::Ok(ResMut(res.get())) [INFO] [stdout] 45 ~ } _ => { [INFO] [stdout] 46 | start_trace!(format!("Handle for resource {} was invalid!", R::name())); [INFO] [stdout] 47 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetypes.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(iter) = self.tables[*index].collect::() { [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/archetypes.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 124 ~ match self.tables[*index].collect::() { Some(iter) => { [INFO] [stdout] 125 | chain.push(iter); [INFO] [stdout] 126 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetypes.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | if let Some(iter) = self.tables[*index].collect_indices(*index) { [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/archetypes.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 136 ~ match self.tables[*index].collect_indices(*index) { Some(iter) => { [INFO] [stdout] 137 | chain.push(iter); [INFO] [stdout] 138 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetypes.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some((_, indices)) = self.cache.get(&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/archetypes.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | } 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] 180 ~ match self.cache.get(&key) { Some((_, indices)) => { [INFO] [stdout] 181 | Trace::Ok(indices) [INFO] [stdout] 182 ~ } _ => { [INFO] [stdout] 183 | start_trace!(format!("Tried to search the Query Cache for a Query that does not exist!")) [INFO] [stdout] 184 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetypes.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | if let Some((exists, _)) = self.cache.get(&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/archetypes.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | } 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] 188 ~ match self.cache.get(&key) { Some((exists, _)) => { [INFO] [stdout] 189 | for id in ids.iter() { [INFO] [stdout] ... [INFO] [stdout] 197 | } [INFO] [stdout] 198 ~ } _ => { [INFO] [stdout] 199 | self.cache.insert(key, (ids, IndexSet::new())); [INFO] [stdout] 200 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/table.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(row) = rows.get_mut(&anon.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/table.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | } 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] 33 ~ match rows.get_mut(&anon.id()) { Some(row) => { [INFO] [stdout] 34 | row.push(anon); [INFO] [stdout] 35 ~ } _ => { [INFO] [stdout] 36 | panic!("Invalid Package! ID Not Found!") [INFO] [stdout] 37 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/table.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(row) = self.rows.get_mut(&anon.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/table.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | } 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] 51 ~ match self.rows.get_mut(&anon.id()) { Some(row) => { [INFO] [stdout] 52 | row.push(anon); [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | panic!("Attempted to spawn invalid component!") [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/table.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some(row) = self.rows.get(C::handle()) { [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/table.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | } 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] 92 ~ match self.rows.get(C::handle()) { Some(row) => { [INFO] [stdout] 93 | return Some(row.iter_as::()) [INFO] [stdout] 94 ~ } _ => { [INFO] [stdout] 95 | panic!("Attempted to collect component from archetype in which it does not exist") [INFO] [stdout] 96 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(_) = self.spawn.insert(key, vec![package]) { [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/commands.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 52 ~ match self.spawn.insert(key, vec![package]) { Some(_) => { [INFO] [stdout] 53 | panic!("Attempted to insert the same key twice!") [INFO] [stdout] 54 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(_) = self.destroy.insert(index.table, vec![(index.col, DO_DROP)]) { [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/commands.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 62 ~ match self.destroy.insert(index.table, vec![(index.col, DO_DROP)]) { Some(_) => { [INFO] [stdout] 63 | panic!("Attempted to insert the same key twice! (how did you even do this?)"); [INFO] [stdout] 64 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(_) = self.destroy.insert(index.table, vec![(index.col, DO_DROP)]) { [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/commands.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match self.destroy.insert(index.table, vec![(index.col, DO_DROP)]) { Some(_) => { [INFO] [stdout] 80 | panic!("Attempted to insert the same key twice! (how did you even do this?)"); [INFO] [stdout] 81 ~ } _ => {}} [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 `rylans_ecs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/archetypes.rs [INFO] [stderr] * src/commands.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/handle.rs [INFO] [stderr] * src/params.rs [INFO] [stderr] * src/ptr.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/error.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | ($message:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | ($expression: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/archetypes.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | /// Fast lookup for inserting Archetypes into Tables. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 30 | archetypes: BTreeMap::new(), [INFO] [stderr] | --------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/archetypes.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | / /// Command Queue. Commands can be submitted and stored [INFO] [stderr] 33 | | /// here before being processed. [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 34 | commands: Commands::null(), [INFO] [stderr] | -------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/archetypes.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | / /// Stores the tables, which stores the components [INFO] [stderr] 37 | | /// for a specific archetype. [INFO] [stderr] | |__________________________________________^ [INFO] [stderr] 38 | tables: Vec::new(), [INFO] [stderr] | ------------------ rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/archetypes.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | / /// Cache for storing archetypes that are parents [INFO] [stderr] 41 | | /// of Queries. Updated whenever a new table is allocated. [INFO] [stderr] | |_______________________________________________________________________^ [INFO] [stderr] 42 | cache: QueryCache::new(), [INFO] [stderr] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/handle.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | unsafe { &mut ID } [INFO] [stderr] | ^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 12 | unsafe { addr_of_mut!(ID) } [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/ptr.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | unsafe { &self.val as *const T as *mut T } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ecs` [INFO] [stderr] --> src/params.rs:42:38 [INFO] [stderr] | [INFO] [stderr] 42 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ecs` [INFO] [stderr] --> src/params.rs:80:38 [INFO] [stderr] | [INFO] [stderr] 80 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ecs` [INFO] [stderr] --> src/commands.rs:162:38 [INFO] [stderr] | [INFO] [stderr] 162 | fn access(_: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/ecs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/params.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/params.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use super::handle::{Resource, Component}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::error::Trace` [INFO] [stdout] --> src/systems.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::error::Trace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | ($message:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 22 | ($message:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | ($expression: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($expression: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::anon::Anon` [INFO] [stdout] --> src/query.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::anon::Anon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/archetypes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `anyhow` [INFO] [stdout] --> src/archetypes.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Result, anyhow}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NO_DROP` [INFO] [stdout] --> src/archetypes.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use super::table::{DO_DROP, NO_DROP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | /// Fast lookup for inserting Archetypes into Tables. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | archetypes: BTreeMap::new(), [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Command Queue. Commands can be submitted and stored [INFO] [stdout] 35 | | /// here before being processed. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 36 | commands: Commands::null(), [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Stores the tables, which stores the components [INFO] [stdout] 39 | | /// for a specific archetype. [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] 40 | tables: Vec::new(), [INFO] [stdout] | ------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | / /// Cache for storing archetypes that are parents [INFO] [stdout] 43 | | /// of Queries. Updated whenever a new table is allocated. [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] 44 | cache: QueryCache::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NO_DROP` [INFO] [stdout] --> src/commands.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use super::table::{DO_DROP, NO_DROP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/handle.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { &mut ID } [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { addr_of_mut!(ID) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ptr.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { &self.val as *const T as *mut T } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/params.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/params.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/anon.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | new_data = alloc(new_layout); [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/anon.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe fn grow_if_full(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/anon.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 191 | new_data = realloc(self.inner.as_ptr(), new_layout, new_capacity * self.layout.size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/commands.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | fn access(_: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ecs` is never read [INFO] [stdout] --> src/query.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Query { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | ecs: Ptr, [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/resources.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(res) = self.resources[*R::handle() as usize].downcast_ref::>() { [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/resources.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } else { [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] 31 ~ match self.resources[*R::handle() as usize].downcast_ref::>() { Some(res) => { [INFO] [stdout] 32 | Trace::Ok(ResRef(res.get())) [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | start_trace!(format!("Handle for resource {} was invalid!", R::name())); [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resources.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(res) = self.resources[*R::handle() as usize].downcast_ref::>() { [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/resources.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | } 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] 43 ~ match self.resources[*R::handle() as usize].downcast_ref::>() { Some(res) => { [INFO] [stdout] 44 | Trace::Ok(ResMut(res.get())) [INFO] [stdout] 45 ~ } _ => { [INFO] [stdout] 46 | start_trace!(format!("Handle for resource {} was invalid!", R::name())); [INFO] [stdout] 47 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetypes.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(iter) = self.tables[*index].collect::() { [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/archetypes.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 124 ~ match self.tables[*index].collect::() { Some(iter) => { [INFO] [stdout] 125 | chain.push(iter); [INFO] [stdout] 126 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetypes.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | if let Some(iter) = self.tables[*index].collect_indices(*index) { [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/archetypes.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 136 ~ match self.tables[*index].collect_indices(*index) { Some(iter) => { [INFO] [stdout] 137 | chain.push(iter); [INFO] [stdout] 138 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetypes.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some((_, indices)) = self.cache.get(&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/archetypes.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | } 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] 180 ~ match self.cache.get(&key) { Some((_, indices)) => { [INFO] [stdout] 181 | Trace::Ok(indices) [INFO] [stdout] 182 ~ } _ => { [INFO] [stdout] 183 | start_trace!(format!("Tried to search the Query Cache for a Query that does not exist!")) [INFO] [stdout] 184 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/archetypes.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | if let Some((exists, _)) = self.cache.get(&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/archetypes.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | } 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] 188 ~ match self.cache.get(&key) { Some((exists, _)) => { [INFO] [stdout] 189 | for id in ids.iter() { [INFO] [stdout] ... [INFO] [stdout] 197 | } [INFO] [stdout] 198 ~ } _ => { [INFO] [stdout] 199 | self.cache.insert(key, (ids, IndexSet::new())); [INFO] [stdout] 200 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/table.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(row) = rows.get_mut(&anon.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/table.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | } 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] 33 ~ match rows.get_mut(&anon.id()) { Some(row) => { [INFO] [stdout] 34 | row.push(anon); [INFO] [stdout] 35 ~ } _ => { [INFO] [stdout] 36 | panic!("Invalid Package! ID Not Found!") [INFO] [stdout] 37 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/table.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(row) = self.rows.get_mut(&anon.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/table.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | } 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] 51 ~ match self.rows.get_mut(&anon.id()) { Some(row) => { [INFO] [stdout] 52 | row.push(anon); [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | panic!("Attempted to spawn invalid component!") [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/table.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some(row) = self.rows.get(C::handle()) { [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/table.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | } 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] 92 ~ match self.rows.get(C::handle()) { Some(row) => { [INFO] [stdout] 93 | return Some(row.iter_as::()) [INFO] [stdout] 94 ~ } _ => { [INFO] [stdout] 95 | panic!("Attempted to collect component from archetype in which it does not exist") [INFO] [stdout] 96 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(_) = self.spawn.insert(key, vec![package]) { [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/commands.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 52 ~ match self.spawn.insert(key, vec![package]) { Some(_) => { [INFO] [stdout] 53 | panic!("Attempted to insert the same key twice!") [INFO] [stdout] 54 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(_) = self.destroy.insert(index.table, vec![(index.col, DO_DROP)]) { [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/commands.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 62 ~ match self.destroy.insert(index.table, vec![(index.col, DO_DROP)]) { Some(_) => { [INFO] [stdout] 63 | panic!("Attempted to insert the same key twice! (how did you even do this?)"); [INFO] [stdout] 64 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(_) = self.destroy.insert(index.table, vec![(index.col, DO_DROP)]) { [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/commands.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match self.destroy.insert(index.table, vec![(index.col, DO_DROP)]) { Some(_) => { [INFO] [stdout] 80 | panic!("Attempted to insert the same key twice! (how did you even do this?)"); [INFO] [stdout] 81 ~ } _ => {}} [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rylans-ecs v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/ecs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/params.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/params.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use super::handle::{Resource, Component}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::error::Trace` [INFO] [stdout] --> src/systems.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::error::Trace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::anon::Anon` [INFO] [stdout] --> src/query.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::anon::Anon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/ecs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/params.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/params.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use super::handle::{Resource, Component}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/archetypes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `anyhow` [INFO] [stdout] --> src/archetypes.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Result, anyhow}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NO_DROP` [INFO] [stdout] --> src/archetypes.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use super::table::{DO_DROP, NO_DROP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::error::Trace` [INFO] [stdout] --> src/systems.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::error::Trace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | /// Fast lookup for inserting Archetypes into Tables. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | archetypes: BTreeMap::new(), [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Command Queue. Commands can be submitted and stored [INFO] [stdout] 35 | | /// here before being processed. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 36 | commands: Commands::null(), [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::anon::Anon` [INFO] [stdout] --> src/query.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::anon::Anon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Stores the tables, which stores the components [INFO] [stdout] 39 | | /// for a specific archetype. [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] 40 | tables: Vec::new(), [INFO] [stdout] | ------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | / /// Cache for storing archetypes that are parents [INFO] [stdout] 43 | | /// of Queries. Updated whenever a new table is allocated. [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] 44 | cache: QueryCache::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NO_DROP` [INFO] [stdout] --> src/commands.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use super::table::{DO_DROP, NO_DROP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/archetypes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `anyhow` [INFO] [stdout] --> src/archetypes.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Result, anyhow}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NO_DROP` [INFO] [stdout] --> src/archetypes.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use super::table::{DO_DROP, NO_DROP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | /// Fast lookup for inserting Archetypes into Tables. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | archetypes: BTreeMap::new(), [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Command Queue. Commands can be submitted and stored [INFO] [stdout] 35 | | /// here before being processed. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 36 | commands: Commands::null(), [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Stores the tables, which stores the components [INFO] [stdout] 39 | | /// for a specific archetype. [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] 40 | tables: Vec::new(), [INFO] [stdout] | ------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/archetypes.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | / /// Cache for storing archetypes that are parents [INFO] [stdout] 43 | | /// of Queries. Updated whenever a new table is allocated. [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] 44 | cache: QueryCache::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NO_DROP` [INFO] [stdout] --> src/commands.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use super::table::{DO_DROP, NO_DROP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/handle.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { &mut ID } [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { addr_of_mut!(ID) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/handle.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { &mut ID } [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { addr_of_mut!(ID) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ptr.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { &self.val as *const T as *mut T } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ptr.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { &self.val as *const T as *mut T } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/params.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/params.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/params.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/params.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | fn access(v: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/anon.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | new_data = alloc(new_layout); [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/anon.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe fn grow_if_full(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/anon.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | new_data = alloc(new_layout); [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/anon.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe fn grow_if_full(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/anon.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 191 | new_data = realloc(self.inner.as_ptr(), new_layout, new_capacity * self.layout.size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/anon.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 191 | new_data = realloc(self.inner.as_ptr(), new_layout, new_capacity * self.layout.size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/commands.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | fn access(_: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/commands.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | fn access(_: &mut Vec, ecs: Ptr) -> Trace<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0796. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0796. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rylans-ecs` (lib) due to 2 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rylans-ecs` (lib test) due to 2 previous errors; 19 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" "b5fcb6ec01edb2ac068733a80b6c273a0b68fbf858a4e80c765675b4e1e3f76b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5fcb6ec01edb2ac068733a80b6c273a0b68fbf858a4e80c765675b4e1e3f76b", kill_on_drop: false }` [INFO] [stdout] b5fcb6ec01edb2ac068733a80b6c273a0b68fbf858a4e80c765675b4e1e3f76b