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

throw (cargo) error on version mismatch #190

Merged
merged 1 commit into from
Oct 15, 2020
Merged

throw (cargo) error on version mismatch #190

merged 1 commit into from
Oct 15, 2020

Conversation

Lotterleben
Copy link
Contributor

resolves #187 , throws

error: failed to select a version for `defmt`.
    ... required by package `my-app v0.1.0 (/Users/lottesteenbrink/ferrous/knurling/my-app)`
    ... which is depended on by `testsuite v0.1.0 (/Users/lottesteenbrink/ferrous/knurling/my-app/testsuite)`
versions that meet the requirements `=0.1.0` are: 0.1.0

the package `defmt` links to the native library `defmt`, but it conflicts with a previous package which links to `defmt` as well:
package `defmt v0.24.0 (/Users/lottesteenbrink/ferrous/knurling/defm_versionbreak)`
    ... which is depended on by `testsuite v0.1.0 (/Users/lottesteenbrink/ferrous/knurling/my-app/testsuite)`

failed to select a version for `defmt` which could resolve this conflict
The terminal process "/bin/zsh '-c', 'cargo test --package testsuite --test test'" failed to launch (exit code: 101).

@Lotterleben Lotterleben requested a review from japaric October 14, 2020 15:03
Copy link
Member

@japaric japaric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@japaric japaric merged commit 0758c7b into main Oct 15, 2020
@Lotterleben Lotterleben deleted the version-mismatch branch October 16, 2020 08:43
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

Successfully merging this pull request may close these issues.

throw (cargo) error on version mismatch
2 participants