You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See subject -- edition = "2024" was stabilized on nightly on Nov. 28th. If one uses a nightly after that (I do) cargo notices the user that the resp. line cargo-features = ["edition2024"] can be removed from Cargo.toml (I did).
However, cargo udeps (and cargo +nightly udeps) refuse to run even when the resp. project is using nightly and the locally installed nighly toolchain is current (i.e. after Nov. 28th).
As this affects all local dependencies this is not just adding a single line to make the error go away but requires (re-)adding this to all local depdencies' Cargo.toml's that have edition = "2024" set (about two dozen, in my case).
Example:
error: failed to get `openimageio-sys` as a dependency of package `openimageio v0.1.0 (/home/ritz/code/crates/openimageio)`
... which satisfies path dependency `openimageio` (locked to 0.1.0) of package `nci-cli v0.1.0 (/home/ritz/code/crates/nci/crates/nci-cli)`
Caused by:
failed to load source for dependency `openimageio-sys`
Caused by:
Unable to update /home/ritz/code/crates/openimageio/openimageio-sys
Caused by:
failed to parse manifest at `/home/ritz/code/crates/openimageio/openimageio-sys/Cargo.toml`
Caused by:
feature `edition2024` is required
The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.80.0).
Consider adding `cargo-features = ["edition2024"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.
See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.
The text was updated successfully, but these errors were encountered:
See subject --
edition = "2024"
was stabilized onnightly
on Nov. 28th. If one uses anightly
after that (I do)cargo
notices the user that the resp. linecargo-features = ["edition2024"]
can be removed fromCargo.toml
(I did).However,
cargo udeps
(andcargo +nightly udeps
) refuse to run even when the resp. project is usingnightly
and the locally installednighly
toolchain is current (i.e. after Nov. 28th).As this affects all local dependencies this is not just adding a single line to make the error go away but requires (re-)adding this to all local depdencies'
Cargo.toml
's that haveedition = "2024"
set (about two dozen, in my case).Example:
The text was updated successfully, but these errors were encountered: