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

--fix with -Zthreads=8 on large workspace hangs #12667

Open
CinchBlue opened this issue Apr 11, 2024 · 1 comment
Open

--fix with -Zthreads=8 on large workspace hangs #12667

CinchBlue opened this issue Apr 11, 2024 · 1 comment
Labels
C-bug Category: Clippy is not doing the correct thing

Comments

@CinchBlue
Copy link

CinchBlue commented Apr 11, 2024

Summary

I was compiling recently on my 1.3k crate + dep repo that is 1 giant Rust workspace, and it would hang on some of these crates during our build process:

   Checking quinn-proto v0.10.6
    Checking cast v0.3.0
    Checking flapigen v0.6.0
    Checking walkdir v2.5.0
    Checking num-bigint v0.4.4
    Checking num-iter v0.1.44
    Checking num-rational v0.3.2
    Checking num-rational v0.4.1
    Checking p256 v0.11.1
    Checking num-bigint v0.2.6
    Checking criterion-plot v0.5.0
    Checking chrono-tz v0.8.6
    Checking simba v0.8.1
    Checking nix v0.28.0
    Checking coreaudio-sys v0.2.15
    Checking plotters v0.3.5
    Checking tinytemplate v1.2.1
    Checking anes v0.1.6
    Checking bytesize v1.3.0
    Checking pathdiff v0.2.1
    Checking pkg-config v0.3.30
    Checking ciborium-ll v0.2.2

It would stop progressing the clippy command (but the rest of the cargo test and cargo build targets are okay -- only cargo clippy has the issue).

Reproducer

<cannot reproduce, is private code>

Version

rustc 1.79.0-nightly (385fa9d84 2024-04-04)
binary: rustc
commit-hash: 385fa9d845dd326c6bbfd58c22244215e431948a
commit-date: 2024-04-04
host: aarch64-apple-darwin
release: 1.79.0-nightly
LLVM version: 18.1.2

Additional Labels

No response

@CinchBlue CinchBlue added the C-bug Category: Clippy is not doing the correct thing label Apr 11, 2024
@CinchBlue CinchBlue changed the title -Zthreads=8 on -Zthreads=8 compiling with parallel-frontend and large workspace hangs Apr 11, 2024
@CinchBlue CinchBlue changed the title -Zthreads=8 compiling with parallel-frontend and large workspace hangs --fix with -Zthreads=8 on large workspace hangs Apr 11, 2024
@blyxyas
Copy link
Member

blyxyas commented Apr 11, 2024

Could you check if cargo check --fix also has this issue? We rely on it and knowing this would reveal what part of the engine is failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Clippy is not doing the correct thing
Projects
None yet
Development

No branches or pull requests

2 participants