[INFO] fetching crate simavr-section 0.1.1... [INFO] testing simavr-section-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate simavr-section 0.1.1 into /workspace/builds/worker-24/source [INFO] validating manifest of crates.io crate simavr-section 0.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate simavr-section 0.1.1 [INFO] finished tweaking crates.io crate simavr-section 0.1.1 [INFO] tweaked toml for crates.io crate simavr-section 0.1.1 written to /workspace/builds/worker-24/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 409d9d24648df04b67ebad1b08dab16c5fe555c7b056e47e89b3fad5048b2892 [INFO] running `Command { std: "docker" "start" "-a" "409d9d24648df04b67ebad1b08dab16c5fe555c7b056e47e89b3fad5048b2892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "409d9d24648df04b67ebad1b08dab16c5fe555c7b056e47e89b3fad5048b2892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "409d9d24648df04b67ebad1b08dab16c5fe555c7b056e47e89b3fad5048b2892", kill_on_drop: false }` [INFO] [stdout] 409d9d24648df04b67ebad1b08dab16c5fe555c7b056e47e89b3fad5048b2892 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ece3977f10b7abacafe82da794d415d5f93be515f13408525a6b479f63c97ee [INFO] running `Command { std: "docker" "start" "-a" "1ece3977f10b7abacafe82da794d415d5f93be515f13408525a6b479f63c97ee", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling simavr-section-macro v0.1.0 [INFO] [stderr] Compiling simavr-section-sys v0.1.0 [INFO] [stdout] error[E0412]: cannot find type `c_uchar` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:3877 [INFO] [stdout] | [INFO] [stdout] 3 | ..._MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub type c_char = u8; [INFO] [stdout] | --------------------- similarly named type alias `c_char` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_char ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_uchar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ushort` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:3925 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: ... [INFO] [stdout] | ^^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ushort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4018 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate ... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_schar` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4065 [INFO] [stdout] | [INFO] [stdout] 3 | ...rate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __in... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub type c_char = u8; [INFO] [stdout] | --------------------- similarly named type alias `c_char` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_char ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_schar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_uchar` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4113 [INFO] [stdout] | [INFO] [stdout] 3 | ...ate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __ui... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub type c_char = u8; [INFO] [stdout] | --------------------- similarly named type alias `c_char` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_char ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_uchar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_short` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4161 [INFO] [stdout] | [INFO] [stdout] 3 | ...: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = cra... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_short; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ushort` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4210 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate ... [INFO] [stdout] | ^^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ushort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4259 [INFO] [stdout] | [INFO] [stdout] 3 | ...ate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub type c_uint = u16; [INFO] [stdout] | ---------------------- similarly named type alias `c_uint` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_uint ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4353 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = ... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4401 [INFO] [stdout] | [INFO] [stdout] 3 | ...: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4764 [INFO] [stdout] | [INFO] [stdout] 3 | ...__uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crat... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4812 [INFO] [stdout] | [INFO] [stdout] 3 | ...: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = cra... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4861 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate ... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4910 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: ... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:4956 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: l... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:5092 [INFO] [stdout] | [INFO] [stdout] 3 | ...c :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate ... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:5140 [INFO] [stdout] | [INFO] [stdout] 3 | ...: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:5234 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate ::... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:5280 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: ... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:5327 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug ,... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:5372 [INFO] [stdout] | [INFO] [stdout] 3 | ...= crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fs... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub type c_uint = u16; [INFO] [stdout] | ---------------------- similarly named type alias `c_uint` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:5479 [INFO] [stdout] | [INFO] [stdout] 3 | ...y , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { asse... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub type c_uint = u16; [INFO] [stdout] | ---------------------- similarly named type alias `c_uint` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_uint ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6033 [INFO] [stdout] | [INFO] [stdout] 3 | ..._val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate ... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6079 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6128 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: l... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6219 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = ... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6320 [INFO] [stdout] | [INFO] [stdout] 3 | ..._uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: l... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6367 [INFO] [stdout] | [INFO] [stdout] 3 | ...crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub type c_uint = u16; [INFO] [stdout] | ---------------------- similarly named type alias `c_uint` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_uint ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6411 [INFO] [stdout] | [INFO] [stdout] 3 | ... = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __tim... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub type c_uint = u16; [INFO] [stdout] | ---------------------- similarly named type alias `c_uint` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_uint ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6459 [INFO] [stdout] | [INFO] [stdout] 3 | ...rate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type ... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub type c_uint = u16; [INFO] [stdout] | ---------------------- similarly named type alias `c_uint` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_uint ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6560 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = cra... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6608 [INFO] [stdout] | [INFO] [stdout] 3 | ...: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = c... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6658 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t ... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6708 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6761 [INFO] [stdout] | [INFO] [stdout] 3 | ...long ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6812 [INFO] [stdout] | [INFO] [stdout] 3 | ..._ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t =... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6865 [INFO] [stdout] | [INFO] [stdout] 3 | ...long ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6914 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t =... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:6961 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_u... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:7016 [INFO] [stdout] | [INFO] [stdout] 3 | ...g ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t =... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:7071 [INFO] [stdout] | [INFO] [stdout] 3 | ...g ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:7205 [INFO] [stdout] | [INFO] [stdout] 3 | ...: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = ... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:7306 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub type c_uint = u16; [INFO] [stdout] | ---------------------- similarly named type alias `c_uint` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_uint ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_schar` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:7702 [INFO] [stdout] | [INFO] [stdout] 3 | ...t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type in... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub type c_char = u8; [INFO] [stdout] | --------------------- similarly named type alias `c_char` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_char ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_schar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:7753 [INFO] [stdout] | [INFO] [stdout] 3 | ..._schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = c... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:7803 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = c... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:7853 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t =... [INFO] [stdout] | ^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_uchar` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:7903 [INFO] [stdout] | [INFO] [stdout] 3 | ...e :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type ... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub type c_char = u8; [INFO] [stdout] | --------------------- similarly named type alias `c_char` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 31 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __LONG_DOUBLE_USES_FLOAT128 : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const __TIMESIZE : u32 = 64 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_char ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; } [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use core::ffi::c_uchar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simavr-section-sys` due to 52 previous errors [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:7955 [INFO] [stdout] | [INFO] [stdout] 3 | ...uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:8007 [INFO] [stdout] | [INFO] [stdout] 3 | ...ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc` [INFO] [stdout] --> /opt/rustwide/target/debug/build/simavr-section-sys-a50b49ca00641358/out/bindings.rs:3:8059 [INFO] [stdout] | [INFO] [stdout] 3 | ...ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub co... [INFO] [stdout] | ^^^^^^^ not found in `crate::libc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22| use core::ffi::c_ulong; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1ece3977f10b7abacafe82da794d415d5f93be515f13408525a6b479f63c97ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ece3977f10b7abacafe82da794d415d5f93be515f13408525a6b479f63c97ee", kill_on_drop: false }` [INFO] [stdout] 1ece3977f10b7abacafe82da794d415d5f93be515f13408525a6b479f63c97ee