Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failing with Rust 1.80.0 #320

Open
imincik opened this issue Aug 15, 2024 · 3 comments
Open

Build failing with Rust 1.80.0 #320

imincik opened this issue Aug 15, 2024 · 3 comments

Comments

@imincik
Copy link

imincik commented Aug 15, 2024

t-rex build is failing when building with Rust 1.80.0.

Build log:

   Compiling unicode-width v0.1.10
   Compiling precomputed-hash v0.1.1
   Compiling new_debug_unreachable v1.0.4
   Compiling string_cache v0.8.7
   Compiling globwalk v0.8.1
error[E0282]: type annotations needed for `Box<_>`
  --> /build/t-rex-0.15.0-alpha3-vendor.tar.gz/time/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 textwrap v0.11.0
   Compiling crossbeam-channel v0.5.8
   Compiling chrono-tz v0.6.1
   Compiling ansi_term v0.12.1
   Compiling vec_map v0.8.2
   Compiling strsim v0.8.0
   Compiling pbr v1.1.1
   Compiling elementtree v0.5.0
   Compiling askama_escape v0.10.3
   Compiling clap v2.34.0
   Compiling t-rex-webserver v0.9.9 (/build/source/t-rex-webserver)
   Compiling pathdiff v0.2.1
   Compiling http-range v0.1.5
For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error

See rust-lang/rust#127343 .

@pka
Copy link
Member

pka commented Aug 17, 2024

An update of time fixed the build. But since t-rex is now replaced by bbox-tile-server, there are no release plans. Is there a deprecation mechanism in NixOS, or should I help with packaging bbox? @sikmir ?

@imincik
Copy link
Author

imincik commented Aug 19, 2024

Is there a deprecation mechanism in NixOS

Yes, we can deprecate t-rex in nixpkgs. But it would be great to keep t-rex functional and give users some time to migrate.

@imincik
Copy link
Author

imincik commented Aug 19, 2024

should I help with packaging bbox?

bbox draft PR is here , but it fails to build (see NixOS/nixpkgs#335821 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants