Closed
Description
Create a simple cargo project with these dependencies in Cargo.toml
parking_lot = { version = "0.12.3", features = ["deadlock_detection"] }
once_cell = { version = "1.19.0", features = ["parking_lot"] }
cc = { version = "1.1.0", features = ["parallel"] }
Run cargo check
, then cargo will emits error:
error: cyclic package dependency: package `backtrace v0.3.73` depends on itself. Cycle:
package `backtrace v0.3.73`
... which satisfies dependency `backtrace = "^0.3.60"` of package `parking_lot_core v0.9.10`
... which satisfies dependency `parking_lot_core = "^0.9.3"` of package `once_cell v1.19.0`
... which satisfies dependency `once_cell = "^1.19"` of package `cc v1.1.0`
... which satisfies dependency `cc = "^1.0.97"` of package `backtrace v0.3.73`
The dependencies formed a cycle after #1037 (which introduces the once_cell
dependency)
Metadata
Metadata
Assignees
Labels
No labels