rust-lang / crater

Run experiments across parts of the Rust ecosystem!
https://crater.rust-lang.org
627 stars 88 forks source link

Build broken on `1.81.0-nightly (cf2df68d1 2024-07-01)` and `1.79.0 (129f3b996 2024-06-10)` (stable) #730

Open frereit opened 1 month ago

frereit commented 1 month ago

Crater currently fails to build on 1.81.0-nightly (cf2df68d1 2024-07-01) and 1.79.0 (129f3b996 2024-06-10) (stable) due to an outdated time dependency:

   Compiling time v0.3.30
error[E0282]: type annotations needed for `Box<_>`
  --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

   Compiling memoffset v0.9.0
   Compiling adler v1.0.2
   Compiling log v0.4.20
   Compiling bitflags v2.4.1
   Compiling miniz_oxide v0.7.1
For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

cargo update -p time fixes the issue.