[INFO] fetching crate rapier2d 0.22.0... [INFO] checking rapier2d-0.22.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rapier2d 0.22.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rapier2d 0.22.0 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 rapier2d 0.22.0 [INFO] finished tweaking crates.io crate rapier2d 0.22.0 [INFO] tweaked toml for crates.io crate rapier2d 0.22.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding bit-vec v0.7.0 (available: v0.8.0) [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] fc2e4cf06642322c172add25c59d1d0d33bca1ceebb8b0dc11a79a9362e22c01 [INFO] running `Command { std: "docker" "start" "-a" "fc2e4cf06642322c172add25c59d1d0d33bca1ceebb8b0dc11a79a9362e22c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc2e4cf06642322c172add25c59d1d0d33bca1ceebb8b0dc11a79a9362e22c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2e4cf06642322c172add25c59d1d0d33bca1ceebb8b0dc11a79a9362e22c01", kill_on_drop: false }` [INFO] [stdout] fc2e4cf06642322c172add25c59d1d0d33bca1ceebb8b0dc11a79a9362e22c01 [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] a398b65bbbdd6aaab7aef1888303f83f3040a0ed865fb8fe1c09ded997108b55 [INFO] running `Command { std: "docker" "start" "-a" "a398b65bbbdd6aaab7aef1888303f83f3040a0ed865fb8fe1c09ded997108b55", 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 libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking robust v1.1.0 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking ordered-float v4.3.0 [INFO] [stderr] Checking spade v2.12.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking parry2d v0.17.1 [INFO] [stderr] Checking rapier2d v0.22.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 `rapier2d` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/dynamics/joint/generic_joint.rs [INFO] [stderr] * src/lib.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/lib.rs:73:6 [INFO] [stderr] | [INFO] [stderr] 73 | ($t: 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/lib.rs:84:6 [INFO] [stderr] | [INFO] [stderr] 84 | ($t: 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/lib.rs:107:6 [INFO] [stderr] | [INFO] [stderr] 107 | ($val: 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/lib.rs:110:6 [INFO] [stderr] | [INFO] [stderr] 110 | ($val: expr_2021, $ret: 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/lib.rs:110:23 [INFO] [stderr] | [INFO] [stderr] 110 | ($val: expr_2021, $ret: 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/dynamics/joint/generic_joint.rs:522:58 [INFO] [stderr] | [INFO] [stderr] 522 | ($as_joint: ident, $as_joint_mut: ident, $Joint: ty, $axes: 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: aborting due to 6 previous errors [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/data/coarena.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(gen, _)| *gen) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/data/coarena.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(gen, _)| *gen) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/dynamics/joint/multibody_joint/multibody_joint_set.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | let gen = self.rb2mb.get_gen(i)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/dynamics/joint/multibody_joint/multibody_joint_set.rs:372:59 [INFO] [stdout] | [INFO] [stdout] 372 | MultibodyJointHandle(Index::from_raw_parts(i, gen)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | ($t: 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] 73 | ($t: 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/lib.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | ($t: 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] 84 | ($t: 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/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | ($val: 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] 107 | ($val: 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/lib.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | ($val: expr, $ret: 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] 110 | ($val: expr_2021, $ret: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | ($val: expr, $ret: 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] 110 | ($val: expr, $ret: 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/dynamics/joint/generic_joint.rs:522:65 [INFO] [stdout] | [INFO] [stdout] 522 | ($as_joint: ident, $as_joint_mut: ident, $Joint: ty, $axes: 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] 522 | ($as_joint: ident, $as_joint_mut: ident, $Joint: ty, $axes: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamics/solver/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | buffer.as_mut_ptr().write_bytes(u8::MAX, len); [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/dynamics/solver/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn reset_buffer(buffer: &mut Vec, len: usize) { [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::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamics/solver/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | buffer.set_len(len); [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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/data/graph.rs:469:19 [INFO] [stdout] | [INFO] [stdout] 469 | while let Some(edge) = self.edges.get(edix.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/data/graph.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/data/pubsub.rs:113:50 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn read(&self, sub: &Subscription) -> 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/data/pubsub.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn read(&self, sub: &Subscription) -> impl Iterator { [INFO] [stdout] | ^ [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 113 | pub fn read(&self, sub: &Subscription) -> impl Iterator + use<'_, T> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamics/ccd/ccd_solver.rs:196:36 [INFO] [stdout] | [INFO] [stdout] 196 | ... if let Some(toi) = TOIEntry::try_from_colliders( [INFO] [stdout] | __________________________^ [INFO] [stdout] 197 | | ... self.query_pipeline.query_dispatcher(), [INFO] [stdout] | | ------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 198 | | ... *ch1, [INFO] [stdout] 199 | | ... *ch2, [INFO] [stdout] ... | [INFO] [stdout] 208 | | ... smallest_dist, [INFO] [stdout] 209 | | ... ) { [INFO] [stdout] | |_______________________^ [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/dynamics/ccd/ccd_solver.rs:211:33 [INFO] [stdout] | [INFO] [stdout] 211 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match TOIEntry::try_from_colliders( [INFO] [stdout] 197 | self.query_pipeline.query_dispatcher(), [INFO] [stdout] ... [INFO] [stdout] 208 | smallest_dist, [INFO] [stdout] 209 ~ ) { Some(toi) => { [INFO] [stdout] 210 | min_toi = min_toi.min(toi.toi); [INFO] [stdout] 211 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamics/ccd/ccd_solver.rs:312:36 [INFO] [stdout] | [INFO] [stdout] 312 | ... if let Some(toi) = TOIEntry::try_from_colliders( [INFO] [stdout] | __________________________^ [INFO] [stdout] 313 | | ... self.query_pipeline.query_dispatcher(), [INFO] [stdout] | | ------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 314 | | ... *ch1, [INFO] [stdout] 315 | | ... *ch2, [INFO] [stdout] ... | [INFO] [stdout] 326 | | ... smallest_dist, [INFO] [stdout] 327 | | ... ) { [INFO] [stdout] | |_______________________^ [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/dynamics/ccd/ccd_solver.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 312 ~ match TOIEntry::try_from_colliders( [INFO] [stdout] 313 | self.query_pipeline.query_dispatcher(), [INFO] [stdout] ... [INFO] [stdout] 326 | smallest_dist, [INFO] [stdout] 327 ~ ) { Some(toi) => { [INFO] [stdout] 328 | if toi.toi > dt { [INFO] [stdout] ... [INFO] [stdout] 333 | } [INFO] [stdout] 334 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/broad_phase_multi_sap/broad_phase_multi_sap.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | let layer_id = if let Some(proxy) = self.proxies.get_mut(*proxy_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/geometry/broad_phase_multi_sap/broad_phase_multi_sap.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | } 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] 389 ~ let layer_id = match self.proxies.get_mut(*proxy_index) { Some(proxy) => { [INFO] [stdout] 390 | let mut layer_id = proxy.layer_id; [INFO] [stdout] ... [INFO] [stdout] 411 | layer_id [INFO] [stdout] 412 ~ } _ => { [INFO] [stdout] 413 | let layer_depth = super::layer_containing_aabb(&aabb); [INFO] [stdout] ... [INFO] [stdout] 420 | layer_id [INFO] [stdout] 421 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/broad_phase_multi_sap/sap_layer.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(mut region) = proxies[*region_id].data.take_region() { [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/geometry/broad_phase_multi_sap/sap_layer.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ match proxies[*region_id].data.take_region() { Some(mut region) => { [INFO] [stdout] 312 | // Update the region. [INFO] [stdout] ... [INFO] [stdout] 324 | proxies[*region_id].data.set_region(region); [INFO] [stdout] 325 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/broad_phase_multi_sap/sap_region.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(old) = pool.pop() { [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/geometry/broad_phase_multi_sap/sap_region.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 78 ~ match pool.pop() { Some(old) => { [INFO] [stdout] 79 | Self::recycle(bounds, old) [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | Box::new(Self::new(bounds)) [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/interaction_graph.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | if let (Some(e), Some(endpoints)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 138 | | (self.graph.edge_weight(id), self.graph.edge_endpoints(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/geometry/interaction_graph.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | } 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] 137 ~ match (self.graph.edge_weight(id), self.graph.edge_endpoints(id)) [INFO] [stdout] 138 ~ { (Some(e), Some(endpoints)) => { [INFO] [stdout] 139 | Some((self.graph[endpoints.0], self.graph[endpoints.1], e)) [INFO] [stdout] 140 ~ } _ => { [INFO] [stdout] 141 | None [INFO] [stdout] 142 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/narrow_phase.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | if let Some(replacement) = self.contact_graph.remove_node(contact_graph_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/geometry/narrow_phase.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 402 ~ match self.contact_graph.remove_node(contact_graph_id) { Some(replacement) => { [INFO] [stdout] 403 | if let Some(replacement) = self.graph_indices.get_mut(replacement.0) { [INFO] [stdout] ... [INFO] [stdout] 411 | } [INFO] [stdout] 412 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/narrow_phase.rs:563:24 [INFO] [stdout] | [INFO] [stdout] 563 | if let Some(mut ctct) = contact_pair { [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/geometry/narrow_phase.rs:581:21 [INFO] [stdout] | [INFO] [stdout] 581 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 563 ~ match contact_pair { Some(mut ctct) => { [INFO] [stdout] 564 | if ctct.has_any_active_contact { [INFO] [stdout] ... [INFO] [stdout] 580 | } [INFO] [stdout] 581 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/collider_set.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(prev_parent) = &mut coll.parent { [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/geometry/collider_set.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | } 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] 108 ~ match &mut coll.parent { Some(prev_parent) => { [INFO] [stdout] 109 | prev_parent.handle = parent_handle; [INFO] [stdout] 110 ~ } _ => { [INFO] [stdout] 111 | coll.parent = Some(ColliderParent { [INFO] [stdout] ... [INFO] [stdout] 114 | }); [INFO] [stdout] 115 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pipeline/query_pipeline/mod.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | if let Some(hit) = co [INFO] [stdout] | _________________________^ - [INFO] [stdout] | | ________________________________________| [INFO] [stdout] 446 | || .shape [INFO] [stdout] | ||______________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 447 | | .cast_ray_and_get_normal(&co.pos, ray, max_toi, solid) [INFO] [stdout] | |_______________________________________________________________________________^ [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/pipeline/query_pipeline/mod.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ match co [INFO] [stdout] 446 | .shape [INFO] [stdout] 447 | .cast_ray_and_get_normal(&co.pos, ray, max_toi, solid) [INFO] [stdout] 448 ~ { Some(hit) => { [INFO] [stdout] 449 | return callback(*handle, hit); [INFO] [stdout] 450 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/data/coarena.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(gen, _)| *gen) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/data/coarena.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(gen, _)| *gen) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/dynamics/joint/multibody_joint/multibody_joint_set.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | let gen = self.rb2mb.get_gen(i)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/dynamics/joint/multibody_joint/multibody_joint_set.rs:372:59 [INFO] [stdout] | [INFO] [stdout] 372 | MultibodyJointHandle(Index::from_raw_parts(i, gen)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | ($t: 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] 73 | ($t: 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/lib.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | ($t: 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] 84 | ($t: 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/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | ($val: 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] 107 | ($val: 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/lib.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | ($val: expr, $ret: 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] 110 | ($val: expr_2021, $ret: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | ($val: expr, $ret: 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] 110 | ($val: expr, $ret: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rapier2d` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/dynamics/joint/generic_joint.rs:522:65 [INFO] [stdout] | [INFO] [stdout] 522 | ($as_joint: ident, $as_joint_mut: ident, $Joint: ty, $axes: 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] 522 | ($as_joint: ident, $as_joint_mut: ident, $Joint: ty, $axes: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamics/solver/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | buffer.as_mut_ptr().write_bytes(u8::MAX, len); [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/dynamics/solver/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn reset_buffer(buffer: &mut Vec, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamics/solver/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | buffer.set_len(len); [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] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/data/graph.rs:469:19 [INFO] [stdout] | [INFO] [stdout] 469 | while let Some(edge) = self.edges.get(edix.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/data/graph.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/dynamics/joint/generic_joint.rs [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/data/pubsub.rs:113:50 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn read(&self, sub: &Subscription) -> 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/data/pubsub.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn read(&self, sub: &Subscription) -> impl Iterator { [INFO] [stdout] | ^ [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 113 | pub fn read(&self, sub: &Subscription) -> impl Iterator + use<'_, T> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/lib.rs [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamics/ccd/ccd_solver.rs:196:36 [INFO] [stdout] | [INFO] [stdout] 196 | ... if let Some(toi) = TOIEntry::try_from_colliders( [INFO] [stdout] | __________________________^ [INFO] [stdout] 197 | | ... self.query_pipeline.query_dispatcher(), [INFO] [stdout] | | ------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 198 | | ... *ch1, [INFO] [stdout] 199 | | ... *ch2, [INFO] [stdout] ... | [INFO] [stdout] 208 | | ... smallest_dist, [INFO] [stdout] 209 | | ... ) { [INFO] [stdout] | |_______________________^ [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/dynamics/ccd/ccd_solver.rs:211:33 [INFO] [stdout] | [INFO] [stdout] 211 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match TOIEntry::try_from_colliders( [INFO] [stdout] 197 | self.query_pipeline.query_dispatcher(), [INFO] [stdout] ... [INFO] [stdout] 208 | smallest_dist, [INFO] [stdout] 209 ~ ) { Some(toi) => { [INFO] [stdout] 210 | min_toi = min_toi.min(toi.toi); [INFO] [stdout] 211 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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/lib.rs:73:6 [INFO] [stderr] | [INFO] [stderr] 73 | ($t: 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/lib.rs:84:6 [INFO] [stderr] | [INFO] [stderr] 84 | ($t: 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/lib.rs:107:6 [INFO] [stderr] | [INFO] [stderr] 107 | ($val: 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/lib.rs:110:6 [INFO] [stderr] | [INFO] [stderr] 110 | ($val: expr_2021, $ret: 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/lib.rs:110:23 [INFO] [stderr] | [INFO] [stderr] 110 | ($val: expr_2021, $ret: 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/dynamics/joint/generic_joint.rs:522:58 [INFO] [stderr] | [INFO] [stderr] 522 | ($as_joint: ident, $as_joint_mut: ident, $Joint: ty, $axes: 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: aborting due to 6 previous errors [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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamics/ccd/ccd_solver.rs:312:36 [INFO] [stdout] | [INFO] [stdout] 312 | ... if let Some(toi) = TOIEntry::try_from_colliders( [INFO] [stdout] | __________________________^ [INFO] [stdout] 313 | | ... self.query_pipeline.query_dispatcher(), [INFO] [stdout] | | ------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 314 | | ... *ch1, [INFO] [stdout] 315 | | ... *ch2, [INFO] [stdout] ... | [INFO] [stdout] 326 | | ... smallest_dist, [INFO] [stdout] 327 | | ... ) { [INFO] [stdout] | |_______________________^ [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/dynamics/ccd/ccd_solver.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 312 ~ match TOIEntry::try_from_colliders( [INFO] [stdout] 313 | self.query_pipeline.query_dispatcher(), [INFO] [stdout] ... [INFO] [stdout] 326 | smallest_dist, [INFO] [stdout] 327 ~ ) { Some(toi) => { [INFO] [stdout] 328 | if toi.toi > dt { [INFO] [stdout] ... [INFO] [stdout] 333 | } [INFO] [stdout] 334 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/broad_phase_multi_sap/broad_phase_multi_sap.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | let layer_id = if let Some(proxy) = self.proxies.get_mut(*proxy_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/geometry/broad_phase_multi_sap/broad_phase_multi_sap.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | } 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] 389 ~ let layer_id = match self.proxies.get_mut(*proxy_index) { Some(proxy) => { [INFO] [stdout] 390 | let mut layer_id = proxy.layer_id; [INFO] [stdout] ... [INFO] [stdout] 411 | layer_id [INFO] [stdout] 412 ~ } _ => { [INFO] [stdout] 413 | let layer_depth = super::layer_containing_aabb(&aabb); [INFO] [stdout] ... [INFO] [stdout] 420 | layer_id [INFO] [stdout] 421 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/broad_phase_multi_sap/sap_layer.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(mut region) = proxies[*region_id].data.take_region() { [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/geometry/broad_phase_multi_sap/sap_layer.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ match proxies[*region_id].data.take_region() { Some(mut region) => { [INFO] [stdout] 312 | // Update the region. [INFO] [stdout] ... [INFO] [stdout] 324 | proxies[*region_id].data.set_region(region); [INFO] [stdout] 325 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/broad_phase_multi_sap/sap_region.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(old) = pool.pop() { [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/geometry/broad_phase_multi_sap/sap_region.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 78 ~ match pool.pop() { Some(old) => { [INFO] [stdout] 79 | Self::recycle(bounds, old) [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | Box::new(Self::new(bounds)) [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/interaction_graph.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | if let (Some(e), Some(endpoints)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 138 | | (self.graph.edge_weight(id), self.graph.edge_endpoints(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/geometry/interaction_graph.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | } 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] 137 ~ match (self.graph.edge_weight(id), self.graph.edge_endpoints(id)) [INFO] [stdout] 138 ~ { (Some(e), Some(endpoints)) => { [INFO] [stdout] 139 | Some((self.graph[endpoints.0], self.graph[endpoints.1], e)) [INFO] [stdout] 140 ~ } _ => { [INFO] [stdout] 141 | None [INFO] [stdout] 142 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/narrow_phase.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | if let Some(replacement) = self.contact_graph.remove_node(contact_graph_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/geometry/narrow_phase.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 402 ~ match self.contact_graph.remove_node(contact_graph_id) { Some(replacement) => { [INFO] [stdout] 403 | if let Some(replacement) = self.graph_indices.get_mut(replacement.0) { [INFO] [stdout] ... [INFO] [stdout] 411 | } [INFO] [stdout] 412 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/narrow_phase.rs:563:24 [INFO] [stdout] | [INFO] [stdout] 563 | if let Some(mut ctct) = contact_pair { [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/geometry/narrow_phase.rs:581:21 [INFO] [stdout] | [INFO] [stdout] 581 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 563 ~ match contact_pair { Some(mut ctct) => { [INFO] [stdout] 564 | if ctct.has_any_active_contact { [INFO] [stdout] ... [INFO] [stdout] 580 | } [INFO] [stdout] 581 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.85s [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/geometry/collider_set.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(prev_parent) = &mut coll.parent { [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/geometry/collider_set.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | } 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] 108 ~ match &mut coll.parent { Some(prev_parent) => { [INFO] [stdout] 109 | prev_parent.handle = parent_handle; [INFO] [stdout] 110 ~ } _ => { [INFO] [stdout] 111 | coll.parent = Some(ColliderParent { [INFO] [stdout] ... [INFO] [stdout] 114 | }); [INFO] [stdout] 115 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pipeline/query_pipeline/mod.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | if let Some(hit) = co [INFO] [stdout] | _________________________^ - [INFO] [stdout] | | ________________________________________| [INFO] [stdout] 446 | || .shape [INFO] [stdout] | ||______________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 447 | | .cast_ray_and_get_normal(&co.pos, ray, max_toi, solid) [INFO] [stdout] | |_______________________________________________________________________________^ [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/pipeline/query_pipeline/mod.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ match co [INFO] [stdout] 446 | .shape [INFO] [stdout] 447 | .cast_ray_and_get_normal(&co.pos, ray, max_toi, solid) [INFO] [stdout] 448 ~ { Some(hit) => { [INFO] [stdout] 449 | return callback(*handle, hit); [INFO] [stdout] 450 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rapier2d v0.22.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/data/coarena.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(gen, _)| *gen) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(r#gen, _)| *gen) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/data/coarena.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(gen, _)| *gen) [INFO] [stdout] | ---------- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(gen, _)| { *gen}) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/data/coarena.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(gen, _)| *gen) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(r#gen, _)| *gen) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/data/coarena.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(gen, _)| *gen) [INFO] [stdout] | ---------- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 34 | self.data.get(index as usize).map(|(gen, _)| { *gen}) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/dynamics/joint/multibody_joint/multibody_joint_set.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | let gen = self.rb2mb.get_gen(i)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 367 | let r#gen = self.rb2mb.get_gen(i)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/dynamics/joint/multibody_joint/multibody_joint_set.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | let gen = self.rb2mb.get_gen(i)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 367 | let r#gen = self.rb2mb.get_gen(i)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/dynamics/joint/multibody_joint/multibody_joint_set.rs:372:59 [INFO] [stdout] | [INFO] [stdout] 372 | MultibodyJointHandle(Index::from_raw_parts(i, gen)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/dynamics/joint/multibody_joint/multibody_joint_set.rs:372:59 [INFO] [stdout] | [INFO] [stdout] 372 | MultibodyJointHandle(Index::from_raw_parts(i, gen)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamics/solver/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | buffer.as_mut_ptr().write_bytes(u8::MAX, len); [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/dynamics/solver/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn reset_buffer(buffer: &mut Vec, len: usize) { [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::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamics/solver/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | buffer.set_len(len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamics/solver/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | buffer.as_mut_ptr().write_bytes(u8::MAX, len); [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/dynamics/solver/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn reset_buffer(buffer: &mut Vec, len: usize) { [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::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamics/solver/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | buffer.set_len(len); [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] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 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 `rapier2d` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rapier2d` (lib test) due to 5 previous errors; 2 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" "a398b65bbbdd6aaab7aef1888303f83f3040a0ed865fb8fe1c09ded997108b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a398b65bbbdd6aaab7aef1888303f83f3040a0ed865fb8fe1c09ded997108b55", kill_on_drop: false }` [INFO] [stdout] a398b65bbbdd6aaab7aef1888303f83f3040a0ed865fb8fe1c09ded997108b55