Andy-Python-Programmer / aero

Aero is a new modern, experimental, UNIX-like operating system following the monolithic kernel design. Supporting modern PC features such as long mode, 5-level paging, and SMP (multicore), to name a few.
https://aero.andypy.dev
GNU General Public License v3.0
1.17k stars 50 forks source link

CI tests silently failing, possibly due to a rustc nightly update #20

Closed 48cf closed 2 years ago

48cf commented 2 years ago

Parts of Aero are failing to build on rustc 1.59.0-nightly (23f69235a 2021-12-20) with a following ICE: https://gist.github.com/czapek1337/7a3d0c7fa3381195604947e9e1c809a0

I've had both kernel and userland fail to build now. The problem is on a clean build cargo doesn't report that ICE, or we just silently ignore it in aero.py, on subsequent runs it's reported correctly. Due to that our CI tests seem to fail silently. A temporary fix to that is to use the --release cargo flag, but we should definitely investigate as to why that happens and possibly report that as a compiler bug.

48cf commented 2 years ago

Update: it looks like commits between https://github.com/rust-lang/rust/commit/e95e084a14870a718c712936ab5a8f8cd0159485 (last recorded working nightly) and https://github.com/rust-lang/rust/commit/23f69235ad2eb9b44ac1a55eeaa3f9b484d9de4a (current nightly) contain a change that causes this behavior.