Rust: failed to find a workspace root
for workspace dependency in a non-workspace crate
#9533
Closed
1 task done
Labels
L: git:submodules
Git submodules
L: go:modules
Golang modules
L: rust:cargo
Rust crates via cargo
T: bug 🐞
Something isn't working
Is there an existing issue for this?
Package ecosystem
cargo
Package manager version
1.77
Language version
1.77
Manifest location and content before the Dependabot update
No response
dependabot.yml content
https://github.com/apache/arrow-datafusion/blob/b2f5e39c4636951ccb7357478f21fcf34a692f51/.github/dependabot.yml
Updated dependency
No response
What you expected to see, versus what you actually saw
We have a repository with a workspace (datafusion):
https://github.com/apache/arrow-datafusion/blob/b2f5e39c4636951ccb7357478f21fcf34a692f51/Cargo.toml#L18-L43
However we have a nested crate which is excluded from the workspace:
https://github.com/apache/arrow-datafusion/blob/b2f5e39c4636951ccb7357478f21fcf34a692f51/datafusion-cli/Cargo.toml
This nested crate (datafusion-cli) has a dependency on datafusion. We are getting this error when trying to setup dependabot for datafusion-cli:
Usually to build/check/run datafusion-cli we would
cd
into thedatafusion-cli/
dir and run the cargo commands there, and that would work to build and resolve dependencies just fine.Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: