Summary
I've been trying to run Clippy on https://github.com/rust-lang/triagebot, but it looks like cargo clippy gets stuck trying to build one of its internal crates, github_graphql. cargo build works just fine though.
Here are some of the things I've tried:
cargo clean, a lot
cargo clippy --exclude=github_graphql --workspace
- extract
github_graphql to a separate Cargo project -- again, build works, clippy doesn't
Maybe it chokes on the build script? It is a bit involved: it generates queries based on a GraphQL schema, which could mean a lot of macro-derived code.
Also, my laptop isn't the most powerful out there, so maybe that's the actual bottleneck. Though it is usually able to compile even larger projects, eventually.
Reproducer
I tried this:
git clone git@github.com:rust-lang/triagebot.git
cd triagebot
cargo clippy
I expected to see this happen:
Lints from all the packages or the workspace
Instead, this happened:
Lints only from parser, and then just this:
Building [=======================> ] 375/383: github-graphql
Version
rustc 1.89.0 (29483883e 2025-08-04) (built from a source tarball)
binary: rustc
commit-hash: 29483883eed69d5fb4db01964cdf2af4d86e9cb2
commit-date: 2025-08-04
host: x86_64-unknown-linux-gnu
release: 1.89.0
LLVM version: 20.1.8
Additional Labels
No response
Summary
I've been trying to run Clippy on https://github.com/rust-lang/triagebot, but it looks like
cargo clippygets stuck trying to build one of its internal crates,github_graphql.cargo buildworks just fine though.Here are some of the things I've tried:
cargo clean, a lotcargo clippy --exclude=github_graphql --workspacegithub_graphqlto a separate Cargo project -- again,buildworks,clippydoesn'tMaybe it chokes on the build script? It is a bit involved: it generates queries based on a GraphQL schema, which could mean a lot of macro-derived code.
Also, my laptop isn't the most powerful out there, so maybe that's the actual bottleneck. Though it is usually able to compile even larger projects, eventually.
Reproducer
I tried this:
git clone git@github.com:rust-lang/triagebot.git cd triagebot cargo clippyI expected to see this happen:
Lints from all the packages or the workspace
Instead, this happened:
Lints only from
parser, and then just this:Version
Additional Labels
No response