Open kpreid opened 2 months ago
Bug in upstream toml-rb parser: https://github.com/emancu/toml-rb/issues/151
Hey! From what I understand with the issue in toml-rb, and from what I tested, you can fix your toml file like the following (in the meantime, until they fix the issue):
[package]
name = "problem"
[lints]
clippy.pedantic = { level = "warn", priority = -1 }
clippy.should_panic_without_expect = "deny"
Is there an existing issue for this?
Package ecosystem
Cargo
Package manager version
cargo 1.80.1 (376290515 2024-07-16)
Language version
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
Manifest location and content before the Dependabot update
Reduced
Cargo.toml
test case, tested at the root of a repo:I uploaded this to https://github.com/kpreid/dependabot-investigation.
dependabot.yml content
Updated dependency
No response
What you expected to see, versus what you actually saw
The file is valid according to Cargo, but Dependabot fails to parse the file. It gives no line number or other detail in the log, only:
Native package manager behavior
The problem is not with updating, but with reading the file at all. Cargo accepts this
Cargo.toml
file.Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response