Skip to content

cargo run error: package(s) ... not found in workspace #13310

@kzhui125

Description

@kzhui125

Problem

With cargo run --package time-core:10.0.0 --bin time-core in workspace folder, I get error error: package(s) ... not found in workspace.

image

workspace_0117.zip

cargo run --package time-core:10.0.0 --bin time-core 

expected: no error.

Steps

No response

Possible Solution(s)

No response

Notes

No response

Version

cargo 1.75.0 (1d8b05cdd 2023-11-20)
release: 1.75.0
commit-hash: 1d8b05cdd1287c64467306cf3ca2c8ac60c11eb0
commit-date: 2023-11-20
host: aarch64-apple-darwin
libgit2: 1.7.1 (sys:0.18.1 vendored)
libcurl: 8.4.0 (sys:0.4.68+curl-8.4.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
ssl: OpenSSL 1.1.1u  30 May 2023
os: Mac OS 14.2.1 [64-bit]

Metadata

Metadata

Assignees

Labels

C-bugCategory: bugCommand-runS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions