Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on updating #982

Open
edap opened this issue Nov 9, 2024 · 0 comments
Open

Error on updating #982

edap opened this issue Nov 9, 2024 · 0 comments

Comments

@edap
Copy link

edap commented Nov 9, 2024

If I run cargo update in a project that is part of a workspace, I receive the following error:

cargo update
    Updating git repository `https://github.com/nannou-org/nannou`
    Updating crates.io index
    Updating git repository `https://github.com/nannou-org/nannou`
    Updating git repository `https://github.com/edap/nannou_raycast`
    Updating git repository `https://github.com/edap/nannou_raycast`
error: failed to select a version for `web-sys`.
    ... required by package `wgpu v0.11.0`
    ... which satisfies dependency `wgpu_upstream = "^0.11"` of package `nannou v0.18.1`
    ... which satisfies dependency `nannou = "^0.18.1"` of package `raycastcurves v0.1.0 (/home/dapx/Sources/rust/GRAPHICS/nannou-sketches/raycastcurves)`
versions that meet the requirements `^0.3.53` are: 0.3.72, 0.3.70, 0.3.69, 0.3.68, 0.3.67, 0.3.66, 0.3.65, 0.3.64, 0.3.63, 0.3.62, 0.3.61, 0.3.60, 0.3.59, 0.3.58, 0.3.57, 0.3.56, 0.3.55, 0.3.54, 0.3.53

the package `wgpu` depends on `web-sys`, with features: `GpuBufferUsage` but `web-sys` does not have these features.


all possible versions conflict with previously selected packages.

  previously selected package `web-sys v0.3.64`
    ... which satisfies dependency `web-sys = "^0.3.53"` of package `wgpu v0.11.0`
    ... which satisfies dependency `wgpu_upstream = "^0.11"` of package `nannou v0.18.1`
    ... which satisfies dependency `nannou = "^0.18.1"` of package `raycastcurves v0.1.0 (/home/dapx/Sources/rust/GRAPHICS/nannou-sketches/raycastcurves)`

failed to select a version for `web-sys` which could resolve this conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant