too long lines were shrinked: Compiling sqlx v0.6.3 Running `rustc --crate-name sqlx --edition=2021 /var/tmp/portage/www-apps/nextcloud-notify_push-0.6.3/work/cargo_home/gentoo/sqlx-0.6.3/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 linke Compiling nextcloud-config-parser v0.8.0 Running `rustc --crate-name nextcloud_config_parser --edition=2021 /var/tmp/portage/www-apps/nextcloud-notify_push-0.6.3/work/cargo_home/gentoo/nextcloud-config-parser-0.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info Running `rustc --crate-name notify_push --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=87da64a97ac230fa -C extra-filename=-87da64a97ac230fa --o Running `rustc --crate-name notify_push --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=9613527311e891a5 -C extra-filename=-9613527311e891a5 --out-dir /var/tmp/portag 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 `notify_push` (bin "notify_push") ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_plasma_systemd-20230708-142608 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] 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] 2) OpenJDK 8.372_p07 [openjdk-8] *) Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17] 4) Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-8 [2] openjdk-17 [3] openjdk-bin-8 [4] openjdk-bin-17 system-vm php cli (if any): go version go1.20.5 linux/amd64 HEAD of ::gentoo commit 0c6d698008a7270950079043f584b9476c474e7e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Jul 12 00:01:55 2023 +0000 2023-07-12 00:01:55 UTC emerge -qpvO www-apps/nextcloud-notify_push [ebuild N ] www-apps/nextcloud-notify_push-0.6.3 USE="-debug"
Created attachment 865420 [details] emerge-info.txt
Created attachment 865421 [details] emerge-history.txt
Created attachment 865422 [details] environment
Created attachment 865423 [details] etc.clang.tar.xz
Created attachment 865424 [details] etc.portage.tar.xz
Created attachment 865425 [details] temp.tar.xz
Created attachment 865426 [details] www-apps:nextcloud-notify_push-0.6.3:20230712-011038.log.xz
I have the same issue. rust 1.71.1
(In reply to Austin Morgan from comment #8) > I have the same issue. rust 1.71.1 I think I'm missing something here. I can't reproduce this bug with either dev-lang/rust-bin-1.71.1 or dev-lang/rust-bin-1.70.0-r3 Does this bug still exist? Upstream bug: https://github.com/nextcloud/notify_push/issues/344 but no reaction there, at this time
I can confirm this on [ebuild R ] dev-lang/rust-1.71.1:stable/1.71::gentoo USE="lto (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) (-miri) (-nightly) (-parallel-compiler) (-profiler) -rust-analyzer -rust-src -rustfmt (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm" CPU_FLAGS_X86="sse2" LLVM_TARGETS="AArch64 AMDGPU ARM BPF NVPTX WebAssembly (X86) -AVR -Hexagon -Lanai -LoongArch -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -VE -XCore" 0 KiB void llvm::InstructionPrecedenceTracking::validate(const llvm::BasicBlock*) const: Assertion `It->second == nullptr && "Block is marked as having special instructions but in fact it has " "none!"' failed. error: could not compile `notify_push` (bin "notify_push") Caused by: process didn't exit successfully: `rustc --crate-name notify_push --edition=2021 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=a5ae5305e421d79e -C extra-filename=-a5ae5305e421d79e --out-dir /var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps -L dependency=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps --extern ahash=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libahash-a392f608f7defb76.rlib --extern dashmap=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libdashmap-c94394b1577b9162.rlib --extern derivative=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libderivative-caf11e67ec3c8d3b.so --extern dotenv=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libdotenv-21e2e2aa0a7ebb74.rlib --extern flexi_logger=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libflexi_logger-a0da3673c62f30d6.rlib --extern futures=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libfutures-7dae696379fb6356.rlib --extern log=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/liblog-c09982cab0ddc0ae.rlib --extern miette=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libmiette-fef2dc5c4b52e5ca.rlib --extern nextcloud_config_parser=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libnextcloud_config_parser-e9d99c5ec53616c0.rlib --extern notify_push=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libnotify_push-fbddcb6ff674e6ac.rlib --extern once_cell=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libonce_cell-357a5ad99d552c9d.rlib --extern parse_display=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libparse_display-aa149c13679800c4.rlib --extern percent_encoding=/var/tmp/portage/www-apps/nextcloud-notify_push-0.6.5/work/notify_push-0.6.5/target/release/deps/libpercent_encoding-ce8e86df4a818f6c.rlib --extern rand=/var/tmp/portage/www-apps/nextcloud-notify_push
Thank you, now I know what I have been missing all this time. Error seems to be reproducable with dev-lang/rust but NOT with dev-lang/rust-bin
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