Closed KizzyCode closed 1 year ago
Context: It looks like that version was yanked about 4-5 hours ago.
will this be fixed soon?
@goldenMetteyya If you're asking because you're unable to install the app, there are two workarounds:
You can force the installation using the --locked
-switch (i.e. cargo install probe-run --locked
) – if this is a good idea or not depends on the reason why defmt-decoder
has been yanked (haven't looked into this).
You can install an older version (e.g. 0.3.6) using cargo install probe-run --version=0.3.6
I'm seeing the same problem. Heartened that others have already stumbled across the same issue.
I've tried a few different versions of probe-run but I now get
% cargo run
Finished dev [optimized + debuginfo] target(s) in 0.02s
Running `probe-run --chip RP2040 target/thumbv6m-none-eabi/debug/rp2040-project-template`
Error: defmt wire format version mismatch: firmware is using 4, `probe-run` supports 3
suggestion: `cargo install` a different version of `probe-run` that supports defmt 4
A stab in the dark: this is why something was yanked? I'm not working on anything important so not too worried.
Changing defmt line to defmt = "=0.3.2"
in Cargo.toml and using probe-run 0.3.4 works for me. For anybody else with the same issue you might need to do cargo clean
also.
➜ cargo install probe-run
Updating crates.io index
Installing probe-run v0.3.7
error: failed to compile `probe-run v0.3.7`, intermediate artifacts can be found at `/var/folders/7n/r69j66410wvffm42j24q6wnr0000gn/T/cargo-installfdkxiL`
Caused by:
failed to select a version for the requirement `defmt-decoder = "=0.3.5"`
candidate versions found which didn't match: 0.3.6, 0.3.4, 0.3.3, ...
location searched: crates.io index
required by package `probe-run v0.3.7`
Same reason?
Please refer to PR #395
Thanks for raising the issue & all others for providing usable workarounds.
A new version of probe-run
(version 0.3.8
) has been released now and should fix the dependency problem.
Describe the bug
probe-run
fails to build becausedefmt-decoder = "=0.3.5"
has been yanked.To Reproduce Run
cargo install probe-run --version=0.3.7
Expected and observed behavior Expected:
probe-run
is installed successfully. Observed:probe-run
cannot be installed.Example:
Operating System: macOS Ventura Version 13.3 (22E252)