Skip to content

Error when installing 2.1.0 for ESP8266 support #690

@andreas-mausch

Description

@andreas-mausch

I try to use cargo espflash to flash my ESP8266.
I understand the recent version does not support the ESP8266, but the 2.x versions should (see here: #519)

My setup:
cargo 1.81.0
rustc 1.81.0

Error:

$ cargo install [email protected] --locked
[...]
   Compiling minimal-lexical v0.2.1
error[E0282]: type annotations needed for `Box<_>`
  --> /home/neonew/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.29/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`

Do you have an idea how to fix that? Downgrading my rustc?
Last commit to minimal-lexical was 2 years ago.

I can use the binary version (cargo binstall [email protected]), but still I'd prefer to build it myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions