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

Bug: Panic when formatting files #1436

Open
brynary opened this issue Jan 16, 2025 · 0 comments
Open

Bug: Panic when formatting files #1436

brynary opened this issue Jan 16, 2025 · 0 comments

Comments

@brynary
Copy link
Member

brynary commented Jan 16, 2025

What happened?

I ran qlty check from a subdirectory of the repository, and it crashed:

I believe the issue relates to the fact that it was run in a subdir of the root. Trying again from the root worked OK.

➜  remix git:(bh-sync-billing) qlty check

 UNFORMATTED FILES: 1

✖ remix/.env.example

✔ Format these files? [Yes/no] · Y
thread '<unnamed>' panicked at qlty-analysis/src/workspace_entries/args_source.rs:38:35:
called `Result::unwrap()` on an `Err` value: WithPath { path: "remix/.env.example", err: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread '<unnamed>' panicked at qlty-check/src/planner/plugin.rs:120:56:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }

What did you expect to happen?

Success

Can you reproduce the problem?

Yes, consistently

CLI Version

qlty 0.472.0 macos-arm64 (e6ba9f1 2025-01-14)

Relevant log output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant