[INFO] fetching crate emacs_module_bindings 0.7.0... [INFO] testing emacs_module_bindings-0.7.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate emacs_module_bindings 0.7.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate emacs_module_bindings 0.7.0 [INFO] finished tweaking crates.io crate emacs_module_bindings 0.7.0 [INFO] tweaked toml for crates.io crate emacs_module_bindings 0.7.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate emacs_module_bindings 0.7.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.32.3 (available: v0.72.1) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c478f86e5d8edb44205a474efab7e786a0eb404d14dd0662312c0af66687b37 [INFO] running `Command { std: "docker" "start" "-a" "9c478f86e5d8edb44205a474efab7e786a0eb404d14dd0662312c0af66687b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c478f86e5d8edb44205a474efab7e786a0eb404d14dd0662312c0af66687b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c478f86e5d8edb44205a474efab7e786a0eb404d14dd0662312c0af66687b37", kill_on_drop: false }` [INFO] [stdout] 9c478f86e5d8edb44205a474efab7e786a0eb404d14dd0662312c0af66687b37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91a27d6b4234241b33ef0c5939dd756d1037c7801c93199b67cba33f1ce3aad7 [INFO] running `Command { std: "docker" "start" "-a" "91a27d6b4234241b33ef0c5939dd756d1037c7801c93199b67cba33f1ce3aad7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.32.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v0.21.2 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling emacs_module_bindings v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> /opt/rustwide/target/debug/build/emacs_module_bindings-5ceed670c23cef99/out/emacs_module.rs:3:12799 [INFO] [stdout] | [INFO] [stdout] 3 | ... 0 ] } pub type emacs_value = * mut emacs_value_tag ; pub const enum_(unnamed_at__/include/emacs-module_h_44_1)_emacs_variadic_functio... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 3 | pub const _STDINT_H : :: std :: os :: raw :: c_uint = 1 ; pub const _FEATURES_H : :: std :: os :: raw :: c_uint = 1 ; pub const _DEFAULT_SOURCE : :: std :: os :: raw :: c_uint = 1 ; pub const __GLIBC_USE_ISOC2X : :: std :: os :: raw :: c_uint = 0 ; pub const __USE_ISOC11 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_ISOC99 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_ISOC95 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_POSIX_IMPLICITLY : :: std :: os :: raw :: c_uint = 1 ; pub const _POSIX_SOURCE : :: std :: os :: raw :: c_uint = 1 ; pub const _POSIX_C_SOURCE : :: std :: os :: raw :: c_uint = 200809 ; pub const __USE_POSIX : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_POSIX2 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_POSIX199309 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_POSIX199506 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_XOPEN2K : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_XOPEN2K8 : :: std :: os :: raw :: c_uint = 1 ; pub const _ATFILE_SOURCE : :: std :: os :: raw :: c_uint = 1 ; pub const __WORDSIZE : :: std :: os :: raw :: c_uint = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : :: std :: os :: raw :: c_uint = 1 ; pub const __SYSCALL_WORDSIZE : :: std :: os :: raw :: c_uint = 64 ; pub const __TIMESIZE : :: std :: os :: raw :: c_uint = 64 ; pub const __USE_MISC : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_ATFILE : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_FORTIFY_LEVEL : :: std :: os :: raw :: c_uint = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : :: std :: os :: raw :: c_uint = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : :: std :: os :: raw :: c_uint = 0 ; pub const __GLIBC_USE_C2X_STRTOL : :: std :: os :: raw :: c_uint = 0 ; pub const _STDC_PREDEF_H : :: std :: os :: raw :: c_uint = 1 ; pub const __STDC_IEC_559__ : :: std :: os :: raw :: c_uint = 1 ; pub const __STDC_IEC_60559_BFP__ : :: std :: os :: raw :: c_uint = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : :: std :: os :: raw :: c_uint = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : :: std :: os :: raw :: c_uint = 201404 ; pub const __STDC_ISO_10646__ : :: std :: os :: raw :: c_uint = 201706 ; pub const __GNU_LIBRARY__ : :: std :: os :: raw :: c_uint = 6 ; pub const __GLIBC__ : :: std :: os :: raw :: c_uint = 2 ; pub const __GLIBC_MINOR__ : :: std :: os :: raw :: c_uint = 39 ; pub const _SYS_CDEFS_H : :: std :: os :: raw :: c_uint = 1 ; pub const __glibc_c99_flexarr_available : :: std :: os :: raw :: c_uint = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : :: std :: os :: raw :: c_uint = 0 ; pub const __HAVE_GENERIC_SELECTION : :: std :: os :: raw :: c_uint = 1 ; pub const __GLIBC_USE_LIB_EXT2 : :: std :: os :: raw :: c_uint = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : :: std :: os :: raw :: c_uint = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : :: std :: os :: raw :: c_uint = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : :: std :: os :: raw :: c_uint = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : :: std :: os :: raw :: c_uint = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : :: std :: os :: raw :: c_uint = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : :: std :: os :: raw :: c_uint = 0 ; pub const _BITS_TYPES_H : :: std :: os :: raw :: c_uint = 1 ; pub const _BITS_TYPESIZES_H : :: std :: os :: raw :: c_uint = 1 ; pub const __OFF_T_MATCHES_OFF64_T : :: std :: os :: raw :: c_uint = 1 ; pub const __INO_T_MATCHES_INO64_T : :: std :: os :: raw :: c_uint = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : :: std :: os :: raw :: c_uint = 1 ; pub const __STATFS_MATCHES_STATFS64 : :: std :: os :: raw :: c_uint = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : :: std :: os :: raw :: c_uint = 1 ; pub const __FD_SETSIZE : :: std :: os :: raw :: c_uint = 1024 ; pub const _BITS_TIME64_H : :: std :: os :: raw :: c_uint = 1 ; pub const _BITS_WCHAR_H : :: std :: os :: raw :: c_uint = 1 ; pub const _BITS_STDINT_INTN_H : :: std :: os :: raw :: c_uint = 1 ; pub const _BITS_STDINT_UINTN_H : :: std :: os :: raw :: c_uint = 1 ; pub const _BITS_STDINT_LEAST_H : :: std :: os :: raw :: c_uint = 1 ; pub const INT8_MIN : :: std :: os :: raw :: c_int = -128 ; pub const INT16_MIN : :: std :: os :: raw :: c_int = -32768 ; pub const INT32_MIN : :: std :: os :: raw :: c_int = -2147483648 ; pub const INT8_MAX : :: std :: os :: raw :: c_uint = 127 ; pub const INT16_MAX : :: std :: os :: raw :: c_uint = 32767 ; pub const INT32_MAX : :: std :: os :: raw :: c_uint = 2147483647 ; pub const UINT8_MAX : :: std :: os :: raw :: c_uint = 255 ; pub const UINT16_MAX : :: std :: os :: raw :: c_uint = 65535 ; pub const UINT32_MAX : :: std :: os :: raw :: c_uint = 4294967295 ; pub const INT_LEAST8_MIN : :: std :: os :: raw :: c_int = -128 ; pub const INT_LEAST16_MIN : :: std :: os :: raw :: c_int = -32768 ; pub const INT_LEAST32_MIN : :: std :: os :: raw :: c_int = -2147483648 ; pub const INT_LEAST8_MAX : :: std :: os :: raw :: c_uint = 127 ; pub const INT_LEAST16_MAX : :: std :: os :: raw :: c_uint = 32767 ; pub const INT_LEAST32_MAX : :: std :: os :: raw :: c_uint = 2147483647 ; pub const UINT_LEAST8_MAX : :: std :: os :: raw :: c_uint = 255 ; pub const UINT_LEAST16_MAX : :: std :: os :: raw :: c_uint = 65535 ; pub const UINT_LEAST32_MAX : :: std :: os :: raw :: c_uint = 4294967295 ; pub const INT_FAST8_MIN : :: std :: os :: raw :: c_int = -128 ; pub const INT_FAST16_MIN : :: std :: os :: raw :: c_longlong = -9223372036854775808 ; pub const INT_FAST32_MIN : :: std :: os :: raw :: c_longlong = -9223372036854775808 ; pub const INT_FAST8_MAX : :: std :: os :: raw :: c_uint = 127 ; pub const INT_FAST16_MAX : :: std :: os :: raw :: c_ulonglong = 9223372036854775807 ; pub const INT_FAST32_MAX : :: std :: os :: raw :: c_ulonglong = 9223372036854775807 ; pub const UINT_FAST8_MAX : :: std :: os :: raw :: c_uint = 255 ; pub const UINT_FAST16_MAX : :: std :: os :: raw :: c_int = -1 ; pub const UINT_FAST32_MAX : :: std :: os :: raw :: c_int = -1 ; pub const INTPTR_MIN : :: std :: os :: raw :: c_longlong = -9223372036854775808 ; pub const INTPTR_MAX : :: std :: os :: raw :: c_ulonglong = 9223372036854775807 ; pub const UINTPTR_MAX : :: std :: os :: raw :: c_int = -1 ; pub const PTRDIFF_MIN : :: std :: os :: raw :: c_longlong = -9223372036854775808 ; pub const PTRDIFF_MAX : :: std :: os :: raw :: c_ulonglong = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : :: std :: os :: raw :: c_int = -2147483648 ; pub const SIG_ATOMIC_MAX : :: std :: os :: raw :: c_uint = 2147483647 ; pub const SIZE_MAX : :: std :: os :: raw :: c_int = -1 ; pub const WINT_MIN : :: std :: os :: raw :: c_uint = 0 ; pub const WINT_MAX : :: std :: os :: raw :: c_uint = 4294967295 ; pub const __bool_true_false_are_defined : :: std :: os :: raw :: c_uint = 1 ; pub const true_ : :: std :: os :: raw :: c_uint = 1 ; pub const false_ : :: std :: os :: raw :: c_uint = 0 ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: 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 = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: 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 = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type wchar_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : f64 , } # [ test ] fn bindgen_test_layout_max_align_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type emacs_env = emacs_env_25 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct emacs_value_tag { _unused : [ u8 ; 0 ] } pub type emacs_value = * mut emacs_value_tag ; pub const enum_!(unnamed_at__/include/emacs-module_h_44_1)_emacs_variadic_function : enum_(unnamed_at__/include/emacs-module_h_44_1) = -2 ; pub type enum_(unnamed_at__/include/emacs-module_h_44_1) = i32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct emacs_runtime { pub size : isize , pub private_members : * mut emacs_runtime_private , pub get_environment : :: std :: option :: Option < unsafe extern "C" fn ( ert : * mut emacs_runtime ) -> * mut emacs_env > , } # [ test ] fn bindgen_test_layout_emacs_runtime ( ) { assert_eq ! ( :: std :: mem :: size_of :: < emacs_runtime > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( emacs_runtime ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < emacs_runtime > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( emacs_runtime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_runtime > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( emacs_runtime ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_runtime > ( ) ) ) . private_members as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( emacs_runtime ) , "::" , stringify ! ( private_members ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_runtime > ( ) ) ) . get_environment as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( emacs_runtime ) , "::" , stringify ! ( get_environment ) ) ) ; } pub const emacs_funcall_exit_emacs_funcall_exit_return : emacs_funcall_exit = 0 ; pub const emacs_funcall_exit_emacs_funcall_exit_signal : emacs_funcall_exit = 1 ; pub const emacs_funcall_exit_emacs_funcall_exit_throw : emacs_funcall_exit = 2 ; pub type emacs_funcall_exit = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct emacs_env_25 { pub size : isize , pub private_members : * mut emacs_env_private , pub make_global_ref : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , any_reference : emacs_value ) -> emacs_value > , pub free_global_ref : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , global_reference : emacs_value ) > , pub non_local_exit_check : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env ) -> emacs_funcall_exit > , pub non_local_exit_clear : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env ) > , pub non_local_exit_get : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , non_local_exit_symbol_out : * mut emacs_value , non_local_exit_data_out : * mut emacs_value ) -> emacs_funcall_exit > , pub non_local_exit_signal : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , non_local_exit_symbol : emacs_value , non_local_exit_data : emacs_value ) > , pub non_local_exit_throw : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , tag : emacs_value , value : emacs_value ) > , pub make_function : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , min_arity : isize , max_arity : isize , function : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , nargs : isize , args : * mut emacs_value , arg1 : * mut :: std :: os :: raw :: c_void ) -> emacs_value > , documentation : * const :: std :: os :: raw :: c_char , data : * mut :: std :: os :: raw :: c_void ) -> emacs_value > , pub funcall : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , function : emacs_value , nargs : isize , args : * mut emacs_value ) -> emacs_value > , pub intern : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , symbol_name : * const :: std :: os :: raw :: c_char ) -> emacs_value > , pub type_of : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , value : emacs_value ) -> emacs_value > , pub is_not_nil : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , value : emacs_value ) -> bool > , pub eq : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , a : emacs_value , b : emacs_value ) -> bool > , pub extract_integer : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , value : emacs_value ) -> intmax_t > , pub make_integer : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , value : intmax_t ) -> emacs_value > , pub extract_float : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , value : emacs_value ) -> f64 > , pub make_float : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , value : f64 ) -> emacs_value > , pub copy_string_contents : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , value : emacs_value , buffer : * mut :: std :: os :: raw :: c_char , size_inout : * mut isize ) -> bool > , pub make_string : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , contents : * const :: std :: os :: raw :: c_char , length : isize ) -> emacs_value > , pub make_user_ptr : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , fin : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) > , ptr : * mut :: std :: os :: raw :: c_void ) -> emacs_value > , pub get_user_ptr : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , uptr : emacs_value ) -> * mut :: std :: os :: raw :: c_void > , pub set_user_ptr : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , uptr : emacs_value , ptr : * mut :: std :: os :: raw :: c_void ) > , pub get_user_finalizer : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , env : * mut emacs_env , uptr : emacs_value ) -> :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , env : * mut emacs_env , uptr : emacs_value ) > > , pub set_user_finalizer : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , uptr : emacs_value , fin : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) > ) > , pub vec_get : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , vec : emacs_value , i : isize ) -> emacs_value > , pub vec_set : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , vec : emacs_value , i : isize , val : emacs_value ) > , pub vec_size : :: std :: option :: Option < unsafe extern "C" fn ( env : * mut emacs_env , vec : emacs_value ) -> isize > , } # [ test ] fn bindgen_test_layout_emacs_env_25 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < emacs_env_25 > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( emacs_env_25 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < emacs_env_25 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( emacs_env_25 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . private_members as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( private_members ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . make_global_ref as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( make_global_ref ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . free_global_ref as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( free_global_ref ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . non_local_exit_check as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( non_local_exit_check ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . non_local_exit_clear as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( non_local_exit_clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . non_local_exit_get as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( non_local_exit_get ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . non_local_exit_signal as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( non_local_exit_signal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . non_local_exit_throw as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( non_local_exit_throw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . make_function as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( make_function ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . funcall as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( funcall ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . intern as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( intern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . type_of as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( type_of ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . is_not_nil as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( is_not_nil ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . eq as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( eq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . extract_integer as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( extract_integer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . make_integer as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( make_integer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . extract_float as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( extract_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . make_float as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( make_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . copy_string_contents as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( copy_string_contents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . make_string as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( make_string ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . make_user_ptr as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( make_user_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . get_user_ptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( get_user_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . set_user_ptr as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( set_user_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . get_user_finalizer as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( get_user_finalizer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . set_user_finalizer as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( set_user_finalizer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . vec_get as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( vec_get ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . vec_set as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( vec_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < emacs_env_25 > ( ) ) ) . vec_size as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( emacs_env_25 ) , "::" , stringify ! ( vec_size ) ) ) ; } extern "C" { pub fn emacs_module_init ( ert : * mut emacs_runtime ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct emacs_runtime_private { pub _address : u8 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct emacs_env_private { pub _address : u8 , } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `emacs_runtime` in this scope [INFO] [stdout] --> src/emacs_gen.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub type EmacsRT = emacs_runtime; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `emacs_env_25` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/emacs_module_bindings-5ceed670c23cef99/out/emacs_module.rs:3:12620 [INFO] [stdout] | [INFO] [stdout] 3 | ..._max_align_nonce2 ) ) ) ; } pub type emacs_env = emacs_env_25 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct emac... [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `emacs_module_bindings` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "91a27d6b4234241b33ef0c5939dd756d1037c7801c93199b67cba33f1ce3aad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a27d6b4234241b33ef0c5939dd756d1037c7801c93199b67cba33f1ce3aad7", kill_on_drop: false }` [INFO] [stdout] 91a27d6b4234241b33ef0c5939dd756d1037c7801c93199b67cba33f1ce3aad7