Skip to content
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

doesn't build with latest nightly #15

Closed
berkus opened this issue Aug 18, 2024 · 4 comments
Closed

doesn't build with latest nightly #15

berkus opened this issue Aug 18, 2024 · 4 comments

Comments

@berkus
Copy link

berkus commented Aug 18, 2024

❯ rustc --version
rustc 1.82.0-nightly (506052d49 2024-08-16)

error: item does not constrain `__rtic_internal_led_driver_F::{opaque#0}`, but has it in its signature
 --> src/bin/app.rs:7:1
  |
7 | #[rtic::app(device = rp2040_hal::pac, dispatchers = [XIP_IRQ, CLOCKS_IRQ])]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: consider moving the opaque type's declaration and defining uses into a separate module
note: this opaque type is in the signature
 --> src/bin/app.rs:7:1
  |
7 | #[rtic::app(device = rp2040_hal::pac, dispatchers = [XIP_IRQ, CLOCKS_IRQ])]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info)

error: item does not constrain `__rtic_internal_voltage_translator_control_F::{opaque#0}`, but has it in its signature
 --> src/bin/app.rs:7:1
  |
7 | #[rtic::app(device = rp2040_hal::pac, dispatchers = [XIP_IRQ, CLOCKS_IRQ])]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: consider moving the opaque type's declaration and defining uses into a separate module
note: this opaque type is in the signature
 --> src/bin/app.rs:7:1
  |
7 | #[rtic::app(device = rp2040_hal::pac, dispatchers = [XIP_IRQ, CLOCKS_IRQ])]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info)

error: item does not constrain `__rtic_internal_log_pump_F::{opaque#0}`, but has it in its signature
 --> src/bin/app.rs:7:1
  |
7 | #[rtic::app(device = rp2040_hal::pac, dispatchers = [XIP_IRQ, CLOCKS_IRQ])]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: consider moving the opaque type's declaration and defining uses into a separate module
note: this opaque type is in the signature
 --> src/bin/app.rs:7:1
  |
7 | #[rtic::app(device = rp2040_hal::pac, dispatchers = [XIP_IRQ, CLOCKS_IRQ])]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `pico-probe` (bin "app") due to 3 previous errors
@jonathanherbstgrapple
Copy link
Contributor

If you're just trying to get a build going, like me, you can set the nightly version to what it was when the app was last built.

In rust-toolchain.toml change channel = "nightly" to channel = "nightly-2024-05-23"

@berkus
Copy link
Author

berkus commented Aug 22, 2024

@jonathanherbstgrapple that's exactly what I did to build, but it would be nice for it to be working with latest rustc :)

@korken89
Copy link
Collaborator

korken89 commented Oct 4, 2024

Sorry for the delay, we should move to stable now.
I just need to wrap my head around how rp2040-hal has changed how AnyPin works.

@berkus
Copy link
Author

berkus commented Oct 28, 2024

Now that #12 is merged, this can probably be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants