Compiling libc v0.2.174error: cannot find macro `panic` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/nto/mod.rs:3403:9 |3403 | 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.174/src/unix/mod.rs:55:21 |55 | 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.174/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.174/src/unix/mod.rs:56:22 |56 | 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.174/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.174/src/unix/mod.rs:55:21 |55 | pub actime: time_t, | ^^^^^^ | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/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 |55 | pub actime: timer_t, | +help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/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.174/src/unix/mod.rs:60:21 |60 | 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.174/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.174/src/unix/mod.rs:60:21 |60 | pub tv_sec: time_t, | ^^^^^^ | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/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 |60 | pub tv_sec: timer_t, | +help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/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.174/src/unix/mod.rs:73:21 |73 | 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.174/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.174/src/unix/mod.rs:73:21 |73 | pub tv_sec: time_t, | ^^^^^^ | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/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 |73 | pub tv_sec: timer_t, | +help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/macros.rs:118:26 |118| pub struct $i<time_t> { $($field)* } | ++++++++error[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/mod.rs:722:31 |722 | 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.174/src/unix/mod.rs:723:52 |723 | 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.174/src/unix/mod.rs:726:31 |726 | 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.174/src/unix/mod.rs:726:43 |726 | 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.174/src/unix/mod.rs:726:71 |726 | 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.174/src/unix/mod.rs:1422:36 |1422 | 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.174/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.174/src/unix/mod.rs:1427:39 |1427 | 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.174/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.174/src/unix/mod.rs:1436:35 |1436 | 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.174/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.174/src/unix/mod.rs:1441:28 |1441 | 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.174/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.174/src/unix/mod.rs:1441:39 |1441 | 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.174/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.174/src/unix/mod.rs:1446:34 |1446 | 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.174/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.174/src/unix/mod.rs:1451:37 |1451 | 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.174/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.174/src/unix/mod.rs:1456:28 |1456 | 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.174/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.174/src/unix/mod.rs:1456:43 |1456 | 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.174/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.174/src/unix/mod.rs:1462:42 |1462 | 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.174/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.174/src/unix/nto/mod.rs:673:23 |673 | 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.174/src/unix/nto/mod.rs:674:26 |674 | 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.174/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.174/src/unix/nto/mod.rs:673:23 |673 | 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.174/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.174/src/unix/nto/mod.rs:674:26 |674 | pub uc_mcontext: mcontext_t, | ^^^^^^^^^^ | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/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 |674 - pub uc_mcontext: mcontext_t,674 + pub uc_mcontext: ucontext_t, |help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/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.174/src/unix/nto/mod.rs:747:31 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined here...747 | 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.174/src/unix/nto/mod.rs:749:31 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined here...749 | 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.174/src/unix/nto/mod.rs:751:31 |9 | pub type timer_t = c_int; | ------------------------- similarly named type alias `timer_t` defined here...751 | pub msg_ctime: crate::time_t, | ^^^^^^ help: a type alias with a similar name exists: `timer_t`For more information about this error, try `rustc --explain E0412`.error: could not compile `libc` (lib) due to 30 previous errors