-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
error[E0282]: type annotations needed for Box<_>
#693
Comments
Updating |
Can confirm! Had the exact same situation and solution. |
* Resolve `clippy::doc-lazy-continuation` errors * Keep never-constructed logger interceptor * Fix `target_pointer_width` usage * Allow unexpected `doc_auto_cfg` flag * Ignore interior mutability of `Resource` * Fix typo * Upgrade `time@0.3.28` to `time@0.3.36` See time-rs/time#693 * Fix `unused_variables` and `unused_imports` errors for `shared-memory` * Resolve more `clippy::doc-lazy-continuation` errors * Update zenoh/src/net/routing/interceptor/mod.rs --------- Co-authored-by: Luca Cominardi <luca.cominardi@gmail.com>
* Allow unexpected `doc_auto_cfg` flag * Keep never-constructed logger interceptor * Ignore interior mutability of `Resource` * Fix typo * Resolve `clippy::doc-lazy-continuation` errors * Upgrade `time@0.3.28` to `time@0.3.36` See time-rs/time#693
## Problem - Compilation fails in CI because of and old `time` crate (see time-rs/time#693) - OBS uses different crate versions than in Git ## Solution - Update the crates using `cargo update` - Disable automatic update in the OBS service file
This avoids CI failures like this https://gitlab.torproject.org/nickm/arti/-/jobs/617654 arising from situations like this cargo-audit install fails with rust 1.80 rustsec/rustsec#1217 error[E0282]: type annotations needed for Box<_> time-rs/time#693 IMO we should pin many of the other images too but I suspect that may be controversial. I'm hoping that pinning this one to get CI working is uncontroversial (perhaps only on a temporary basis). The other way to solve this would be to remove --locked which IMO is going in the wrong direction, by exposing us to more rather than fewer uncontrolled inputs from our upstreams.
seeing some time related failure ``` error[E0282]: type annotations needed for `Box<_>` --> /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.22/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 | ++++++++ ``` has been addressed with 0.3.36, time-rs/time#693 Signed-off-by: Rui Chen <rui@chenrui.dev>
Fixes the issue described at time-rs/time#693 that currently stops leptonic from building.
CI fails due to breakage in `rustc 1.80`, see time-rs/time#693
Otherwise build fails on newer Rust with > error[E0282]: type annotations needed for Box<_> See time-rs/time#693.
I have the similar issues when build a tauri app on macos. It's strange that the tauri app build successfully on linux and macos, but not on macos. I also noticed that it seems See https://github.com/liudonghua123/pxt-microbit-app/actions/runs/10517054766/job/29140512953. |
After updating Rust to version 1.8.0, the following error appears:
The text was updated successfully, but these errors were encountered: