-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
semver-checks check-release detects non-existant changes in core-graphics crate #193
Comments
Since I don't have a macOS machine, would you mind also submitting the two generated rustdoc JSON files from your build target directory? I don't believe the project builds on non-macOS, so I am not able to run the |
Also, could you let me know what |
|
Still looking into this, but so far I can confirm there is at least one bug here: the check seems to be correctly matching on the method but the error message is incorrectly naming the type whose method changed arity, instead of the method itself. It's entirely possible there are more bugs here. I'll keep you posted. Thank you for the report and for your patience as I debug this. |
Second bug: I confirmed this is a false-positive report due to a logic error in the lint query. As currently written, it assumes that methods by name are unique on each To resolve, we'll need to reframe the check to look for "no method on the same |
Fix published in v0.13.1. The current commit of Thanks again for the report! |
Thanks! |
Steps to reproduce the bug with the above code
Check out /~https://github.com/servo/core-foundation-rs and run
cargo semver-checks check-release --verbose
in thecore-graphics
directory.Actual Behaviour
Expected Behaviour
No changes should be detected. I think this might have something to do with the
foreign_type!
macro.Generated System Information
Software version
cargo-semver-checks 0.13.0
Operating system
Mac OS X 10.15.6 (Darwin 19.6.0)
Command-line
cargo version
Compile time information
Additional Context
No response
The text was updated successfully, but these errors were encountered: