Comments (1)
I believe this is the same cause as #453 and a few other recent issues.
The failure is right after the line:
Parsing arti-bench v0.8.5 (current)
and that crate is a bin crate, with no lib target. By default, since semver-checking was started inside a workspace and not inside a particular crate's directory, cargo-semver-checks
checks everything in the workspace. That binary crate should have been skipped automatically since there's no library API to check in it, but due to a bug it's being checked anyway and the check trips that assertion.
Sorry about that. I've been a bit swamped lately and haven't gotten a chance to work on this at all recently. If you happen to have the interest and cycles, I'd appreciate help and would be happy to point you in the right direction!
If not, no worries! You should be able to work around this for now in a few ways: by passing --exclude arti-bench
, passing -p <crate-to-check>
explicitly, or by doing a cd
into a specific crate's directory and checking from there.
from cargo-semver-checks.
Related Issues (20)
- Cargo semver checks ignores my lockfile HOT 8
- Running scripts on systems with bash version older than v4 causes errors HOT 3
- Notice if a run is going to be a no-op before generating rustdoc JSON
- False-positive "enum variant added on exhaustive enum" HOT 2
- Verbose runs should show which features were enabled in the crate versions being tested HOT 4
- Unable to enable dependency's features needed to build the crate HOT 6
- Build failure repro command may include `--features` flag without any features
- Support flags like `--color=always` and `--color=never`
- Improve error message when no library targets are found HOT 1
- Consider switching to `anstyle` for our terminal styling and color needs HOT 7
- Check if trait items with defaults may need special handling to avoid false-positives HOT 5
- Make the `make_new_lint.sh` script avoid merge conflicts when registering the new lints
- Consider either testing that lint file names match their `id` fields, or removing the field entirely.
- Add "Media coverage" section to the README, with relevant talks, podcasts, blog posts, etc.
- Support [term] configuration in Cargo config.toml for color and logging HOT 3
- `RustdocCommand` progress (when `silence` is `false`) does not respect configured `stderr`
- Check lints related to trait implementations for false-positives if the trait impl is `#[doc(hidden)]`
- Configuration methods do not have consistent naming HOT 3
- Refine lints about field and method removals to account for `Deref/DerefMut`
- `cargo semver-checks` takes much longer after upgrading to version 0.30.0 from 0.24.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-semver-checks.