helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
33.09k stars 2.46k forks source link

Bump time from broken version (0.3.23) #11065

Closed RossSmyth closed 3 months ago

RossSmyth commented 3 months ago

Current lock file has time version 0.3.23 in it. But this version is broken (possibly only on nightly, but I compile everything with nightly):

 Installing helix-term v24.3.0 (C:\Users\Ross\AppData\Local\helix\helix-term)
    Updating crates.io index
   Compiling bstr v1.8.0
   Compiling thiserror-impl v1.0.61
   Compiling serde_derive v1.0.203
   Compiling time v0.3.23
   Compiling regex-cursor v0.1.4
   Compiling which v6.0.1
   Compiling windows_x86_64_msvc v0.48.0
   Compiling tokio-macros v2.3.0
   Compiling regex v1.10.5
   Compiling smartstring v1.0.1
   Compiling slotmap v1.0.7
   Compiling unicode-general-category v0.6.0
   Compiling regex-syntax v0.8.2
   Compiling bytes v1.4.0
   Compiling shell-words v1.1.0
   Compiling ryu v1.0.13
   Compiling cov-mark v1.1.0
   Compiling unicode-segmentation v1.11.0
   Compiling arc-swap v1.7.1
   Compiling slab v0.4.8
   Compiling rayon v1.7.0
   Compiling tree-sitter v0.22.6
error[E0282]: type annotations needed for `Box<_>`
  --> C:\Users\Ross\.cargo\registry\src\index.crates.io-6f17d22bba15001f\time-0.3.23\src\format_description\parse\mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

   Compiling num-traits v0.2.15
   Compiling nucleo-matcher v0.2.0
   Compiling gix-utils v0.1.12
   Compiling globset v0.4.14
   Compiling helix-loader v24.3.0 (C:\Users\Ross\AppData\Local\helix\helix-loader)
   Compiling helix-stdx v24.3.0 (C:\Users\Ross\AppData\Local\helix\helix-stdx)
   Compiling threadpool v1.8.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...

So I just ran "cargo update time" time-rs/time#681