-
Notifications
You must be signed in to change notification settings - Fork 163
Closed
Description
Building master (960e9e1) with a recent version of nightly (rustc 1.81.0-nightly (8337ba918 2024-06-12)) fails:
$ cargo +nightly install --git https://github.com/fuzzland/ityfuzz --locked
...
error[E0282]: type annotations needed for `Box<_>`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/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
|
help: consider giving `items` an explicit type, where the placeholders `_` are specified
|
83 | let items: Box<_> = format_items
| ++++++++
This appears to be due to the issue explained in time-rs/time#681 and resolved in time-rs/time#671
To resolve
-
Please update
time
in the Cargo.lock e.g.cargo update --package time
-
It looks like this wasn't caught in CI and workflows, suggesting that the Cargo.lock isn't being relied on there:
ityfuzz/.github/workflows/release.yml
Line 153 in 960e9e1
run: cargo build --release --bins --target ${{ matrix.job.target }} --features "cmp dataflow evm print_txn_corpus full_trace force_cache real_balance" --no-default-features
Please consider adding a--locked
or--frozen
to the build command, to ensure repeatable/reproducible builds.
publicqi and iamjacobjia
Metadata
Metadata
Assignees
Labels
No labels