Skip to content

missing type anotations #257

@Guelakais

Description

@Guelakais

while trying to compile rip, the following happens:

this derivation will be built:
  /nix/store/c4a7i57pzynxnam7hbs7hq8mg6ynm09m-rip-0.8.1.drv
building '/nix/store/c4a7i57pzynxnam7hbs7hq8mg6ynm09m-rip-0.8.1.drv'...
error: Cannot build '/nix/store/c4a7i57pzynxnam7hbs7hq8mg6ynm09m-rip-0.8.1.drv'.
       Reason: builder failed with exit code 101.
       Output paths:
         /nix/store/6b2ml295qisxyfygr39z1xblymvmj39d-rip-0.8.1
       Last 25 log lines:
       >    Compiling hyper v0.14.28
       >    Compiling tap v1.0.1
       >    Compiling lazy_static v1.4.0
       >    Compiling parking_lot_core v0.9.9
       >    Compiling base64ct v1.6.0
       >    Compiling wyz v0.5.1
       >    Compiling password-hash v0.4.2
       >    Compiling anstream v0.6.11
       >    Compiling time v0.3.34
       >    Compiling miette v5.10.0
       > error[E0282]: type annotations needed for `Box<_>`
       >   --> /build/rip-0.8.1-vendor/time-0.3.34/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`
       >
       >    Compiling toml_edit v0.22.4
       > 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...
       For full logs, run:
         nix log /nix/store/c4a7i57pzynxnam7hbs7hq8mg6ynm09m-rip-0.8.1.drv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions