Closed NiseVoid closed 1 year ago
The relevant line of code that's hitting the error: https://github.com/bevyengine/bevy/blob/v0.10.1/crates/bevy_ecs/src/schedule/schedule.rs#L1582
As you can see, nothing too strange here, just a derive Error. But it comes from bevy_utils::thiserror::Error
, so there is no thiserror
in scope
Fixed in 1.0.43.
Hello, the new release of thiserror seems to have broken something. A game engine called bevy re-exports thiserror in a bevy_utils crate, when the code is then called in other places it fails to compile on the newest release because it calls
thiserror::__private
when the path it is available at would bebevy_utils::thiserror::_private
. This results in compilation errors, for example this CI run: https://github.com/Jondolf/bevy_xpbd/actions/runs/5481101314/jobs/9985014733#step:4:293 I'm not quite sure what the correct solution here is, but I think calling the macros from a re-export is a valid usecase that should work as intended