knurling-rs / defmt

Efficient, deferred formatting for logging on embedded systems
https://defmt.ferrous-systems.com/
Apache License 2.0
750 stars 69 forks source link

panic-probe unbuildable by nightly. #815

Open kareled opened 4 months ago

kareled commented 4 months ago

Hello, it looks like panic-probe stopped being able to be built by nightly rustc toolchain somewhat recently. Today I get following error on my project tree:

error: `{input}` is not a valid identifier
   --> C:\Users\me\.cargo\registry\src\index.crates.io-6f17d22bba15001f\panic-probe-0.3.1\src\lib.rs:104:9
    |
104 |         defmt::error!("{}", defmt::Display2Format(info));
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this error originates in the macro `defmt::error` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `panic-probe` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

I've tried to look around issues, but have not found similar one on quick glance hence reporting it. Thanks!