aspect-build / aspect-build/rules_lint
[Bug]: `aspect format` fails to build in bazel-starter/shell
- Dominant language
- Starlark
- Stars
- 154
- Forks
- 125
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 20
Description
### What happened?
```
Building formatter...
ERROR: Build option --build_runfile_links has changed, analysis cache would have been discarded.
ERROR: Build did NOT complete successfully
Error: × Traceback (most recent call last):
│ File , in
│ * /home/tacascer/.cache/aspect/axl/deps/e06c9c97349442d9688393b9811474800687bc55a8955d647a9eb5e9eeede487/aspect_rules_lint/
│ format/format.axl:93, in impl
│ formatter = build_formatter(ctx)
│ * /home/tacascer/.cache/aspect/axl/deps/e06c9c97349442d9688393b9811474800687bc55a8955d647a9eb5e9eeede487/aspect_rules_lint/
│ format/format.axl:82, in build_formatter
│ fail("Building the formatter has failed.")
│ error: fail: Building the formatter has failed.
│ --> /home/tacascer/.cache/aspect/axl/deps/e06c9c97349442d9688393b9811474800687bc55a8955d647a9eb5e9eeede487/aspect_rules_lint/
│ format/format.axl:82:9
│ |
│ 82 | fail("Building the formatter has failed.")
│ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ |
│
```
### Version
Development (host) and target OS/architectures: x86 Linux / x86 Linux
Output of `bazel --version`: bazel 9.0.0
Version of the Aspect rules, or other relevant rules from your
`WORKSPACE` or `MODULE.bazel` file: whatever is run bazel-starters/shell
Language(s) and/or frameworks involved: whatever is run bazel-starters/shell
### How to reproduce
```shell
1. git clone git@github.com:bazel-starters/shell.git
2. direnv allow
3. aspect format
```
### Any other information?
_No response_
Contributor guide
Research direction
Reproduce the failure in bazel-starters/shell with `direnv allow` followed by `aspect format`, then inspect the formatter failure reported from `format/format.axl` in the stack trace. Done means the formatter builds successfully and `aspect format` completes on the stated x86 Linux setup.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100