Hi!
If I run cargo aur -d on my project TornaxO7/vibe, then I'm getting the following error message:
bash
:: Error: TOML parse error at line 1, column 1
|
1 | [workspace]
| ^
missing field `package`
I tried to add a [workspace.package] in the root Cargo.toml but I was still getting this error. Do you have any tips on why I'm getting this error message?
Originally created by @TornaxO7 on GitHub (Nov 26, 2025).
Original GitHub issue: https://github.com/fosskers/cargo-aur/issues/38
Hi!
If I run `cargo aur -d` on my project [TornaxO7/vibe](https://github.com/TornaxO7/vibe), then I'm getting the following error message:
```
bash
:: Error: TOML parse error at line 1, column 1
|
1 | [workspace]
| ^
missing field `package`
```
I tried to add a `[workspace.package]` in the root `Cargo.toml` but I was still getting this error. Do you have any tips on why I'm getting this error message?
It probably wants you to run cargo aur within the subdirectory of the package you're building, not at the workspace level.
@fosskers commented on GitHub (Jan 13, 2026):
Please forgive the delay.
It probably wants you to run `cargo aur` within the subdirectory of the package you're building, not at the workspace level.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @TornaxO7 on GitHub (Nov 26, 2025).
Original GitHub issue: https://github.com/fosskers/cargo-aur/issues/38
Hi!
If I run
cargo aur -don my project TornaxO7/vibe, then I'm getting the following error message:I tried to add a
[workspace.package]in the rootCargo.tomlbut I was still getting this error. Do you have any tips on why I'm getting this error message?@fosskers commented on GitHub (Jan 13, 2026):
Please forgive the delay.
It probably wants you to run
cargo aurwithin the subdirectory of the package you're building, not at the workspace level.@TornaxO7 commented on GitHub (Jan 14, 2026):
No worries.
I'm not using it anymore though so I'll close this.
missing field `package`to [GH-ISSUE #38] missing field `package`