Compiling object v0.36.7 Compiling std v0.0.0 (/root/.rustup/toolchains/nightly-2025-02-23-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std) Compiling libc v0.2.169 Compiling adler2 v2.0.0 Compiling rustc-std-workspace-alloc v1.99.0 (/root/.rustup/toolchains/nightly-2025-02-23-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc) Compiling memchr v2.7.4 Compiling rustc-demangle v0.1.24 Compiling gimli v0.31.1 Compiling miniz_oxide v0.8.3error[E0432]: unresolved imports `crate::c_char`, `crate::c_long`, `crate::c_ulong` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:84:17 |84 | c_char, c_double, c_float, c_int, c_long, c_longlong, c_short, c_uchar, c_uint, | ^^^^^^ ^^^^^^ no `c_long` in the root | | | no `c_char` in the root | help: a similar name exists in the module: `c_schar`85 | c_ulong, c_ulonglong, c_ushort, c_void, intptr_t, size_t, ssize_t, uintptr_t, | ^^^^^^^ no `c_ulong` in the root | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/lib.rs:138:9 |138 | prelude!(); | ---------- in this macro invocation | = help: consider importing this type alias instead: rustc_std_workspace_core::ffi::c_char = help: consider importing this type alias instead: rustc_std_workspace_core::ffi::c_long = help: consider importing this type alias instead: rustc_std_workspace_core::ffi::c_ulong = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) Compiling hashbrown v0.15.2error: cannot find macro `panic` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:3487:9 |3487 | panic!("Unsupported arch"); | ^^^^^ |help: consider importing this macro |1 + use rustc_std_workspace_core::panic; |error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:65:21 |65 | pub actime: time_t, | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:66:22 |66 | pub modtime: time_t, | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:65:21 |65 | pub actime: time_t, | ^^^^^^ | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined here |help: a type alias with a similar name exists |65 | pub actime: timer_t, | +help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:26 |118| pub struct $i<time_t> { $($field)* } | ++++++++error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:70:21 |70 | pub tv_sec: time_t, | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:70:21 |70 | pub tv_sec: time_t, | ^^^^^^ | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined here |help: a type alias with a similar name exists |70 | pub tv_sec: timer_t, | +help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:26 |118| pub struct $i<time_t> { $($field)* } | ++++++++error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:77:21 |77 | pub tv_sec: time_t, | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:77:21 |77 | pub tv_sec: time_t, | ^^^^^^ | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined here |help: a type alias with a similar name exists |77 | pub tv_sec: timer_t, | +help: you might be missing a type parameter |76 | pub struct timespec<time_t> { | ++++++++error[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:675:31 |675 | pub fn wcslen(buf: *const wchar_t) -> size_t; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:676:52 |676 | pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> size_t; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:679:31 |679 | pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:679:43 |679 | pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:679:71 |679 | pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1333:36 |1333 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1337:39 |1337 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1345:35 |1345 | pub fn mktime(tm: *mut tm) -> time_t; | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1349:28 |1349 | pub fn time(time: *mut time_t) -> time_t; | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1349:39 |1349 | pub fn time(time: *mut time_t) -> time_t; | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1353:34 |1353 | pub fn gmtime(time_p: *const time_t) -> *mut tm; | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1357:37 |1357 | pub fn localtime(time_p: *const time_t) -> *mut tm; | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1361:28 |1361 | pub fn difftime(time1: time_t, time0: time_t) -> c_double; | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1361:43 |1361 | pub fn difftime(time1: time_t, time0: time_t) -> c_double; | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1365:42 |1365 | pub fn timegm(tm: *mut crate::tm) -> time_t; | ^^^^^^ help: a type alias with a similar name exists: `timer_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:9:1 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined hereerror[E0412]: cannot find type `stack_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:643:23 |643 | pub uc_stack: stack_t, | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `mcontext_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:644:26 |644 | pub uc_mcontext: mcontext_t, | ^^^^^^^^^^ help: a struct with a similar name exists: `ucontext_t` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `ucontext_t` defined hereerror[E0412]: cannot find type `stack_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:643:23 |643 | pub uc_stack: stack_t, | ^^^^^^^ not found in this scope |help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:26 |118 | pub struct $i<stack_t> { $($field)* } | +++++++++error[E0412]: cannot find type `mcontext_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:644:26 |644 | pub uc_mcontext: mcontext_t, | ^^^^^^^^^^ | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `ucontext_t` defined here |help: a struct with a similar name exists |644 - pub uc_mcontext: mcontext_t,644 + pub uc_mcontext: ucontext_t, |help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:26 |118 | pub struct $i<mcontext_t> { $($field)* } | ++++++++++++error[E0412]: cannot find type `time_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:717:31 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined here...717 | pub msg_stime: crate::time_t, | ^^^^^^ help: a type alias with a similar name exists: `timer_t`error[E0412]: cannot find type `time_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:719:31 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined here...719 | pub msg_rtime: crate::time_t, | ^^^^^^ help: a type alias with a similar name exists: `timer_t`error[E0412]: cannot find type `time_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/nto/mod.rs:721:31 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined here...721 | pub msg_ctime: crate::time_t, | ^^^^^^ help: a type alias with a similar name exists: `timer_t`Some errors have detailed explanations: E0412, E0432.For more information about an error, try `rustc --explain E0412`.error: could not compile `libc` (lib) due to 31 previous errorswarning: build failed, waiting for other jobs to finish...