too long lines were shrinked: Running `rustc --crate-name libsqlite3_sys /var/tmp/portage/app-shells/mcfly-0.5.13/work/cargo_home/gentoo/libsqlite3-sys-0.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugi Compiling rusqlite v0.15.0 Running `rustc --crate-name rusqlite /var/tmp/portage/app-shells/mcfly-0.5.13/work/cargo_home/gentoo/rusqlite-0.15.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --cfg Compiling mcfly v0.5.13 (/var/tmp/portage/app-shells/mcfly-0.5.13/work/mcfly-0.5.13) Running `rustc --crate-name mcfly --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C metadata=960c1986e866fec3 -C extra-filename=-960c1986e866fec3 --out-dir Running `rustc --crate-name mcfly --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C metadata=26f709bfef60761e -C extra-filename=-26f709bfef60761e --out-dir /var/tmp/portage/app- rustc: /var/tmp/portage/dev-lang/rust-1.70.0/work/rustc-1.70.0-src/src/llvm-project/llvm/lib/Analysis/InstructionPrecedenceTracking.cpp:97: void llvm::InstructionPrecedenceTracking::validate(const llvm::BasicBlock*) const: Assertion `It->second == nullptr && "Block is marked as having special instru error: could not compile `mcfly` (bin "mcfly") ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd_merged_usr-20230709-084015 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.6 Python 3.11.4 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-1.70.0 * The following VMs are available for generation-2: 1) OpenJDK 17.0.7_p7 [openjdk-17] *) Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-17 [2] openjdk-bin-8 [3] openjdk-bin-17 system-vm php cli (if any): go version go1.20.5 linux/amd64 HEAD of ::gentoo commit b122693c16a8bc3892a079d2270faf1c276ad818 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Jul 12 07:46:54 2023 +0000 2023-07-12 07:46:53 UTC emerge -qpvO app-shells/mcfly [ebuild N ] app-shells/mcfly-0.5.13 USE="-debug"
Created attachment 865427 [details] emerge-info.txt
Created attachment 865428 [details] app-shells:mcfly-0.5.13:20230712-084519.log
Created attachment 865429 [details] emerge-history.txt
Created attachment 865430 [details] environment
Created attachment 865431 [details] etc.clang.tar.xz
Created attachment 865432 [details] etc.portage.tar.xz
Created attachment 865433 [details] temp.tar.xz
after much testing (based on gentoo/stage3:amd64-desktop-systemd docker image), I found the following: dev-lang/rust-bin-1.69.0-r1: compiles fine dev-lang/rust-bin-1.71.0: compiles fine dev-lang/rust-bin-1.72.0: compiles fine dev-lang/rust-bin-1.73.0: compiles fine dev-lang/rust-1.71.1 + sys-devel/llvm:16: doesn't compile dev-lang/rust-1.73.0 + sys-devel/llvm:17: compiles fine dev-lang/rust-1.74.1 + sys-devel/llvm:17: compiles fine I conclude that this error is probable something about sys-devel/llvm:16 and/or dev-lang/rust-1.71.1 Workaround would be to either use dev-lang/rust-bin or use unstable sys-devel/llvm + dev-lang/rust This bug should therefor "fix itself" as soon as sys-devel/llvm:17 and >=dev-lang/rust-1.73.0 is marked stable Thanks to @pastalian on #gentoo-proxy-maint for pointing me towards llvm