Main branch fails to compile on Rust beta.
the way rust prints lifetimes in type names has seemingly changed and bound lifetimes are now always rendered as '_
rust-lang/rust#145284
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...
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.
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/18096209487
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/18280106905
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/18465048868
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/18651310528
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/18840193135
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/19033957342
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/19230878894
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/19428847833
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/19633549764
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/19821908017
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/20027363331
Weekly pipeline still fails: https://github.com/bevyengine/bevy/actions/runs/20231407317