error[E0412]: cannot find type `Error` in crate `wasi`
--> registry/src/github.com-1ecc6299db9ec823/getrandom-0.2.4/src/error.rs:113:64
|
113 | fn os_err(errno: i32, _buf: &mut [u8]) -> Option<wasi::Error> {
| ^^^^^ not found in `wasi`
|
help: consider importing one of these items
|
8 | use core::fmt::Error;
|
8 | use crate::Error;
|
8 | use crate::error::fmt::Error;
|
error[E0433]: failed to resolve: could not find `Error` in `wasi`
--> registry/src/github.com-1ecc6299db9ec823/getrandom-0.2.4/src/error.rs:114:19
|
114 | wasi::Error::from_raw_error(errno as _)
| ^^^^^ not found in `wasi`
|
help: consider importing one of these items
|
8 | use core::fmt::Error;
|
8 | use crate::Error;
|
8 | use crate::error::fmt::Error;
|
error[E0412]: cannot find type `Error` in crate `wasi`
--> registry/src/github.com-1ecc6299db9ec823/getrandom-0.2.4/src/wasi.rs:16:69
|
16 | random_get(dest.as_mut_ptr(), dest.len()).map_err(|e: wasi::Error| {
| ^^^^^ not found in `wasi`
|
help: consider importing one of these items
|
10 | use core::fmt::Error;
|
10 | use crate::Error;
|
error[E0599]: no method named `raw_error` found for struct `Errno` in the current scope
--> registry/src/github.com-1ecc6299db9ec823/getrandom-0.2.4/src/wasi.rs:20:41
|
20 | NonZeroU32::new_unchecked(e.raw_error() as u32).into()
| ^^^^^^^^^ method not found in `Errno`
Some errors have detailed explanations: E0412, E0433, E0599.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `getrandom` due to 4 previous errors
After re-running CI today it seems to have picked up
getrandom0.2.4 which causes these errors: