GithubHelp home page GithubHelp logo

Nightly CI is broken about esp-hal HOT 4 CLOSED

MabezDev avatar MabezDev commented on July 17, 2024
Nightly CI is broken

from esp-hal.

Comments (4)

bjoernQ avatar bjoernQ commented on July 17, 2024

Maybe it would be sufficient to only do Clippy checks using the latest nightly, or am I missing something?

from esp-hal.

danclive avatar danclive commented on July 17, 2024

About the recent failure of CI:

    Compiling examples v0.0.0 (/home/runner/work/esp-hal/esp-hal/examples)
error: concrete type differs from previous defining opaque type use
  --> src/bin/embassy_usb_serial_jtag.rs:27:1
   |
27 | #[embassy_executor::task]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `writer::Fut`, got `impl Future<Output = ()>`
   |
note: previous use here
  --> src/bin/embassy_usb_serial_jtag.rs:27:1

It seems to be related to the "nightly" features of embassy-executor.

embassy-executor = { version = "0.5.0", features = ["nightly"] }

If the nightly features are removed, the compilation can succeed. This may be due to the recent Rust Nightly having a destructive impact on embassy-executor-macros.

https://github.com/embassy-rs/embassy/blob/ea25112f7d1ce27a7216ce6c3aab983dc3a0d7c0/embassy-executor-macros/src/macros/task.rs#L93-L101

from esp-hal.

MabezDev avatar MabezDev commented on July 17, 2024

That is another option, we could use stable + task arenas instead of TAIT.

from esp-hal.

jessebraham avatar jessebraham commented on July 17, 2024

That is another option, we could use stable + task arenas instead of TAIT.

I guess this is our only real option. Shame, I can see this causing problems, but our hands are tied. It's not reasonable to only support one nightly release IMO.

from esp-hal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.