Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938440 - x11-terms/wezterm-20240203.110809-r1 - [gcc-15] error[E0282]: type annotations needed for Box<_>
Summary: x11-terms/wezterm-20240203.110809-r1 - [gcc-15] error[E0282]: type annotation...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-24 08:35 UTC by Toralf Förster
Modified: 2024-10-08 16:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.11 KB, text/plain)
2024-08-24 08:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,194.69 KB, text/plain)
2024-08-24 08:35 UTC, Toralf Förster
Details
environment (environment,238.79 KB, text/plain)
2024-08-24 08:35 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-08-24 08:35 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,47.23 KB, application/x-xz)
2024-08-24 08:35 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.39 KB, application/x-xz)
2024-08-24 08:35 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,53.47 KB, application/x-xz)
2024-08-24 08:35 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.73 KB, application/x-xz)
2024-08-24 08:35 UTC, Toralf Förster
Details
x11-terms:wezterm-20240203.110809-r1:20240824-062254.log.xz (x11-terms:wezterm-20240203.110809-r1:20240824-062254.log.xz,36.52 KB, application/x-xz)
2024-08-24 08:35 UTC, Toralf Förster
Details
build log (wezterm-20240203.110809-r1.log,623.33 KB, text/x-log)
2024-09-19 08:38 UTC, selckin
Details
emerge --info (emergeinfo.txt,8.62 KB, text/plain)
2024-09-19 08:38 UTC, selckin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-08-24 08:35:34 UTC
too long lines were shrinked:

     Running `/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/build/khronos_api-846ae809804865c7/build-script-build`
   Compiling time v0.3.31
     Running `rustc --crate-name time --edition=2021 /var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/cargo_home/gentoo/time-0.3.31/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 embe
     Running `/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/build/names-f8bf7140f96be54c/build-script-build`
     Running `/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/build/wayland-sys-43371e2046499d87/build-script-build`
     Running `/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/build/zstd-sys-89eefa0080b13dfc/build-script-build`
error[E0282]: type annotations needed for `Box<_>`
  --> /var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/cargo_home/gentoo/time-0.3.31/src/format_description/parse/mod.rs:83:9
   |

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20240820-162502

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 0ce936537dc4406bc19a4a8e74750b592e9e96bb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 24 02:48:51 2024 +0000

    2024-08-24 02:48:51 UTC

emerge -qpvO =x11-terms/wezterm-20240203.110809-r1
[ebuild  N    ] x11-terms/wezterm-20240203.110809-r1  USE="wayland -debug"
Comment 1 Toralf Förster gentoo-dev 2024-08-24 08:35:35 UTC
Created attachment 901097 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-24 08:35:37 UTC
Created attachment 901098 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-24 08:35:38 UTC
Created attachment 901099 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-24 08:35:39 UTC
Created attachment 901100 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-24 08:35:40 UTC
Created attachment 901101 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-24 08:35:41 UTC
Created attachment 901102 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-24 08:35:42 UTC
Created attachment 901103 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-24 08:35:43 UTC
Created attachment 901104 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-08-24 08:35:44 UTC
Created attachment 901105 [details]
x11-terms:wezterm-20240203.110809-r1:20240824-062254.log.xz
Comment 10 Xavier Fernández i Marín 2024-09-08 20:04:40 UTC
May it be related to this (https://github.com/time-rs/time/issues/693)? In that case adding "cargo update time" in the ebuild should solve it, right?
Comment 11 selckin 2024-09-19 08:38:06 UTC
Created attachment 903330 [details]
build log

error[E0282]: type annotations needed for `Box<_>`
  --> /var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/cargo_home/gentoo/time-0.3.31/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
   = note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`
Comment 12 selckin 2024-09-19 08:38:38 UTC
Created attachment 903331 [details]
emerge --info