Summary
All published versions of wasip2 (and its wit-bindgen dependency) require rustc 1.82+, but we're on rustc 1.81.0. The oldest version on crates.io (1.0.0+wasi-0.2.4) is only a few months old, while the project is much older, suggesting older versions compatible with rustc 1.81 were removed.
Error
error: rustc 1.81.0 is not supported by the following packages:
wasip2@1.0.0+wasi-0.2.4 requires rustc 1.82.0
wit-bindgen@0.45.1 requires rustc 1.82.0
...
Either upgrade rustc or select compatible dependency versions with
`cargo update <name>@<current-ver> --precise <compatible-ver>`
where `<compatible-ver>` is the latest version supporting rustc 1.81.0
Pinning wasip2 to an older version doesn't work: there is no published version of wasip2 that supports rustc 1.81 (only three versions exist on crates.io, all requiring ≥1.82).
Request
Please restore older versions of wasip2 that are compatible with rustc 1.81.0, or publish a new version that supports rustc 1.81.0.
Context
wasip2 is a transitive dependency in our project (via getrandom → rand_core → rand → ulid → common crates). We cannot upgrade to rustc 1.82+ immediately, so we need versions compatible with rustc 1.81.
Summary
All published versions of
wasip2(and itswit-bindgendependency) require rustc 1.82+, but we're on rustc 1.81.0. The oldest version on crates.io (1.0.0+wasi-0.2.4) is only a few months old, while the project is much older, suggesting older versions compatible with rustc 1.81 were removed.Error
Pinning
wasip2to an older version doesn't work: there is no published version of wasip2 that supports rustc 1.81 (only three versions exist on crates.io, all requiring ≥1.82).Request
Please restore older versions of
wasip2that are compatible with rustc 1.81.0, or publish a new version that supports rustc 1.81.0.Context
wasip2is a transitive dependency in our project (viagetrandom→rand_core→rand→ulid→ common crates). We cannot upgrade to rustc 1.82+ immediately, so we need versions compatible with rustc 1.81.