bynk.package.dependency_cycle
Error The package graph has a cycle: a dependency depends, directly or not, on itself or on the project.
A package's units are resolved against the packages it depends on, so the package graph needs an order: no package may depend, directly or through others, on itself or on the project. A cycle usually means two packages each want something of the other. Move what both need into a third package that each of them depends on, or merge the two.
Example
[dependencies]tax = { package = "acme/tax", path = "../tax" }
# packages/tax/bynk.toml[dependencies]money = { package = "acme/money", path = "../money" } // ✗ `acme/money` depends on `acme/tax`
core = { package = "acme/core", path = "../core" } // ✓ what both need, in a package of its ownIn the Book
See also
- Every code in its category, Packages, on the diagnostic index.
bynk explain bynk.package.dependency_cycleshows the same from the installed toolchain, without a network.