too long lines were shrinked: Running `/var/tmp/portage/app-crypt/sequoia-sq-0.27.0/work/sequoia-sq-v0.27.0/target/release/build/sequoia-openpgp-1442b3e0e13dc798/build-script-build` Running `/var/tmp/portage/app-crypt/sequoia-sq-0.27.0/work/sequoia-sq-v0.27.0/target/release/build/sequoia-openpgp-1442b3e0e13dc798/build-script-build` Running `rustc --crate-name sequoia_openpgp --edition=2018 openpgp/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C debug-assertions=off --cfg 'feature="bzip2"' --cfg 'fe Running `rustc --crate-name sequoia_openpgp --edition=2018 openpgp/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 embed-bitcode=no -C debuginfo=2 --cfg 'feature="bzip2"' --cfg 'feature="co error: unused return value of `Box::<T>::from_raw` that must be used --> openpgp/src/crypto/mem.rs:162:13 | ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-j4-20220926-000005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit 417c703d6c72825c5e8101c7b8e9345bdb944d41 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Sep 26 11:46:48 2022 +0000 2022-09-26 11:46:47 UTC emerge -qpvO app-crypt/sequoia-sq [ebuild N ] app-crypt/sequoia-sq-0.27.0 USE="-debug"
Created attachment 814276 [details] emerge-info.txt
Created attachment 814279 [details] app-crypt:sequoia-sq-0.27.0:20220926-125059.log.bz2
Created attachment 814282 [details] emerge-history.txt
Created attachment 814285 [details] environment
Created attachment 814288 [details] etc.portage.tar.bz2
Possibly related: https://github.com/rust-lang/rust/issues/99269
I hit this during a world rebuild when migrating to news hardware. Is this a warning that is escalated to an error? Maybe we could unset unused-must-use?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f81f088ac63f8a7d3ae786c30119f723e7d9c53 commit 3f81f088ac63f8a7d3ae786c30119f723e7d9c53 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2023-01-10 09:28:08 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2023-01-10 09:28:41 +0000 app-crypt/sequoia-sq: fix compilation with newer rustc Closes: https://bugs.gentoo.org/873085 Signed-off-by: Florian Schmaus <flow@gentoo.org> .../sequoia-sq-0.27.0-Explicitly-drop-the-Box.patch | 20 ++++++++++++++++++++ app-crypt/sequoia-sq/sequoia-sq-0.27.0.ebuild | 6 +++++- 2 files changed, 25 insertions(+), 1 deletion(-)