Closed
Description
Our CI failed to build musl wheels. Copy-paste of the error from CI logs:
error[E0061]: this function takes 3 arguments but 2 arguments were suppliedraits(build), signal-hook-registry, ppv-lite86, mio, libm, parking_lot_core, syn, getrandom, base64ct
--> /root/.cargo/registry/src/github.colasdn.workers.dev-1ecc6299db9ec823/getrandom-0.2.8/src/util_libc.rs:150:18
|
150 | let fd = open(path.as_ptr() as *const _, libc::O_RDONLY | libc::O_CLOEXEC);
| ^^^^------------------------------------------------------------- an argument of type `u32` is missing
|
note: function defined here
--> /root/.cargo/registry/src/github.colasdn.workers.dev-1ecc6299db9ec823/libc-0.2.145/src/unix/linux_like/linux/musl/lfs64.rs:112:26
|
112 | pub unsafe extern "C" fn open64(
| ^^^^^^
help: provide the argument
|
150 | let fd = open(path.as_ptr() as *const _, libc::O_RDONLY | libc::O_CLOEXEC, /* u32 */);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0061`.
error: could not compile `getrandom` due to previous error
warning: build failed, waiting for other jobs to finish...