Closed waywardmonkeys closed 1 month ago
This happened in my multi-crate PR because that leaves examples
at the top level so they're now more correctly compiled independently, I think. But now I'm having other CI troubles in that PR.
Well the thing is that the following fails locally for me:
git checkout 94c5d78214b0a2c50d0c3e11d700a0e38080e7b9
cargo hack clippy -p tiny_skia_render --locked --optional-deps --each-feature
Which is what the merge queue CI allegedly did.
Well, on a related topic maybe, I was getting a warning about the unused StyleData
when building locally since before the release, yet it apparently never failed in CI.
Yeah, I had a bunch of issues with CI checks not matching local checks with my PRs. I'm not entirely convinced by "cargo hack", although manually writing out feature combinations isn't great either.
Manually maintaining the package + feature matrix is untenable. Cargo hack has served us well. I have found some issues, but its maintainer is very responsive and accepted my patches. So if you find any issues with cargo hack, definitely let me know.
As for this issue right here, it has nothing to do with cargo hack.
Turns out that this unused_qualifications
lint requires 1.78 and the Parley CI is still configured to run 1.77. So no weirdness, just a tiny bit stale config.
This is a bit of a head scratcher.
The merge queue CI did
which seems to correctly already have this lint. However it didn't trigger during the clippy run. 😕