Created attachment 697140 [details] build.log error: panic message is not a string literal --> src/bootstrap/builder.rs:1493:24 | 1493 | panic!(out); | ^^^ | = note: `-D non-fmt-panic` implied by `-D warnings` = note: this is no longer accepted in Rust 2021 help: add a "{}" format string to Display the message | 1493 | panic!("{}", out); | ^^^^^ help: or use std::panic::panic_any instead | 1493 | std::panic::panic_any(out); | ^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error error: could not compile `bootstrap`
Created attachment 697143 [details] emerge --info
This seems to only happen when self-compiling rust 1.51 with rust 1.51; building 1.51 works with rust-1.50
That happens from time to time, I’ll check for patches or will limit version to previous. As alternative - install previous rust-bin or disable sysyem-bootstrap.
this will help https://github.com/rust-lang/rust/commit/31c93397bde772764cda3058e16f9cef61895090#diff-6e3c7e8b58a9a198adc885bced48fff2c5fd9a1ee126ccce52166476a536807f it does not change the compiler itself, just makes the bootsrtapper build with new rust. will add it soon.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0103a61da2ab319aa179ff4b6e6f638f2b7fa7c commit a0103a61da2ab319aa179ff4b6e6f638f2b7fa7c Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-04-05 04:25:44 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-04-05 04:26:15 +0000 dev-lang/rust: fix 1.51.0 bootstrap with same version Closes: https://bugs.gentoo.org/779970 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust/files/1.51.0-bootstrap-panic.patch | 43 ++++++++++++++++++++++++ dev-lang/rust/rust-1.51.0.ebuild | 1 + 2 files changed, 44 insertions(+)