bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Main branch fails to compile on Rust beta.

Open github-actions[bot] opened this issue 3 months ago • 13 comments

Weekly CI run has failed.

The offending run.

github-actions[bot] avatar Sep 22 '25 12:09 github-actions[bot]

the way rust prints lifetimes in type names has seemingly changed and bound lifetimes are now always rendered as '_

rust-lang/rust#145284

janis-bhm avatar Sep 22 '25 13:09 janis-bhm

This is the error I met while building the commit Release 0.16.0 in windows. I wonder if this is a known issue related to this page.

error: implicit autoref creates a reference to the dereference of a raw pointer
   --> crates\bevy_mikktspace\src\generated.rs:759:25
759 |         bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
    |                         ^^---^^^^^^^^^^^^^^^^
    |                           |
    |                           this raw pointer has type `*const SSubGroup`
    |
    = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
note: autoref is being applied to this expression, resulting in: `&Vec<i32>`
   --> crates\bevy_mikktspace\src\generated.rs:759:25
    |
759 |         bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
    |                         ^^^^^^^^^^^^^^^^^^
    = note: `#[deny(dangerous_implicit_autorefs)]` on by default
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
    |
759 |         bStillSame = if (&(*pg1).pTriMembers)[i] == (*pg2).pTriMembers[i] {
    |                         ++                  +

error: implicit autoref creates a reference to the dereference of a raw pointer
   --> crates\bevy_mikktspace\src\generated.rs:759:50
    |
759 |         bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
    |                                                  ^^---^^^^^^^^^^^^^^^^
    |                                                    |
    |                                                    this raw pointer has type `*const SSubGroup`
    |
    = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
note: autoref is being applied to this expression, resulting in: `&Vec<i32>`
   --> crates\bevy_mikktspace\src\generated.rs:759:50
    |
759 |         bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
    |                                                  ^^^^^^^^^^^^^^^^^^
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
    |
759 |         bStillSame = if (*pg1).pTriMembers[i] == (&(*pg2).pTriMembers)[i] {
    |                                                  ++                  +

error: could not compile `bevy_mikktspace` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

IronDumpling avatar Sep 24 '25 02:09 IronDumpling

that compiler error is because bevy_mikktspace doesn't compile with newer rust versions, so to build bevy 0.16 you need to use a rust version that departed from master around the beginning of May.

janis-bhm avatar Sep 24 '25 09:09 janis-bhm

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/18096209487

github-actions[bot] avatar Sep 29 '25 12:09 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/18280106905

github-actions[bot] avatar Oct 06 '25 12:10 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/18465048868

github-actions[bot] avatar Oct 13 '25 12:10 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/18651310528

github-actions[bot] avatar Oct 20 '25 12:10 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/18840193135

github-actions[bot] avatar Oct 27 '25 12:10 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/19033957342

github-actions[bot] avatar Nov 03 '25 12:11 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/19230878894

github-actions[bot] avatar Nov 10 '25 12:11 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/19428847833

github-actions[bot] avatar Nov 17 '25 12:11 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/19633549764

github-actions[bot] avatar Nov 24 '25 12:11 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/19821908017

github-actions[bot] avatar Dec 01 '25 12:12 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/20027363331

github-actions[bot] avatar Dec 08 '25 12:12 github-actions[bot]

Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/20231407317

github-actions[bot] avatar Dec 15 '25 12:12 github-actions[bot]