rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.03k stars 12.68k forks source link

Rust compiler crashes on the https://github.com/Aurailus/Myxer project version 1.2.1 on the powerpc64le architecture #120583

Open yurivict opened 8 months ago

yurivict commented 8 months ago
error: internal compiler error: compiler/rustc_middle/src/ty/typeck_results.rs:494:9: node HirId(DefId(0:1768 ~ glib[3ee5]::signal::connect_raw).10) (expr ``) cannot be placed in TypeckResults with hir_owner DefId(0:2 ~ glib[3ee5]::std)

thread 'rustc' panicked at /wrkdirs/usr/ports/lang/rust/work/rustc-1.74.1-src/compiler/rustc_errors/src/lib.rs:1651:9:
Box<dyn Any>
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.74.1 (a28077b28 2023-12-04) (built from a source tarball) running on powerpc64le-unknown-freebsd

note: compiler flags: --crate-type lib -C opt-level=2 -C panic=abort -C linker-plugin-lto -C codegen-units=1 -C linker=cc -C link-arg=-fstack-protector-strong

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [lint_mod] linting module `signal`
#1 [analysis] running analysis passes on this crate
end of query stack

See the log.

rust-1.75.0

yurivict commented 8 months ago

Same on the https://github.com/marin-m/SongRec project version 0.3.3.

See the log.

yurivict commented 8 months ago

Same on the https://github.com/jD91mZM2/termplay project version 2.0.6. See the log.