[INFO] cloning repository https://github.com/inomotech-foss/aws-iot-device-sdk-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inomotech-foss/aws-iot-device-sdk-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finomotech-foss%2Faws-iot-device-sdk-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finomotech-foss%2Faws-iot-device-sdk-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2abf6cfab630ced71a20042c8e5165d0eb03f7fa [INFO] testing inomotech-foss/aws-iot-device-sdk-rust against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finomotech-foss%2Faws-iot-device-sdk-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/inomotech-foss/aws-iot-device-sdk-rust [INFO] finished tweaking git repo https://github.com/inomotech-foss/aws-iot-device-sdk-rust [INFO] tweaked toml for git repo https://github.com/inomotech-foss/aws-iot-device-sdk-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/inomotech-foss/aws-iot-device-sdk-rust on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] [stderr] Adding aws-lc-sys v0.12.1 (available: v0.29.0) [INFO] [stderr] Adding bindgen v0.69.5 (available: v0.72.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.1) [INFO] [stderr] Adding s2n-tls-sys v0.1.7 (available: v0.3.21) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-lc-rs v1.13.1 [INFO] [stderr] Downloaded s2n-tls-sys v0.1.7 [INFO] [stderr] Downloaded aws-lc-sys v0.12.1 [INFO] [stderr] Downloaded aws-lc-sys v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9321a37ebad28a844d7b8547eae175751bc474a02741c588ae6b927264fe7228 [INFO] running `Command { std: "docker" "start" "-a" "9321a37ebad28a844d7b8547eae175751bc474a02741c588ae6b927264fe7228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9321a37ebad28a844d7b8547eae175751bc474a02741c588ae6b927264fe7228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9321a37ebad28a844d7b8547eae175751bc474a02741c588ae6b927264fe7228", kill_on_drop: false }` [INFO] [stdout] 9321a37ebad28a844d7b8547eae175751bc474a02741c588ae6b927264fe7228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45a891ab988f63433df30d29fe915a6f2587cbcd29a4ac1c28e55699c02ad6c0 [INFO] running `Command { std: "docker" "start" "-a" "45a891ab988f63433df30d29fe915a6f2587cbcd29a4ac1c28e55699c02ad6c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling s2n-tls-sys v0.1.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling aws-lc-sys v0.12.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling aws-c-builder v0.1.0 (/opt/rustwide/workdir/packages/aws-c-builder) [INFO] [stderr] Compiling aws-c-common-sys v0.1.0+v0.9.10 (/opt/rustwide/workdir/packages/aws-c-common-sys) [INFO] [stderr] Compiling aws-c-cal-sys v0.1.0+v0.6.9 (/opt/rustwide/workdir/packages/aws-c-cal-sys) [INFO] [stderr] Compiling aws-c-io-sys v0.1.0+v0.13.36 (/opt/rustwide/workdir/packages/aws-c-io-sys) [INFO] [stderr] Compiling aws-c-compression-sys v0.1.0+v0.2.17 (/opt/rustwide/workdir/packages/aws-c-compression-sys) [INFO] [stderr] Compiling aws-c-http-sys v0.1.0+v0.7.14 (/opt/rustwide/workdir/packages/aws-c-http-sys) [INFO] [stderr] Compiling aws-checksums-sys v0.1.0+v0.1.17 (/opt/rustwide/workdir/packages/aws-checksums-sys) [INFO] [stderr] Compiling aws-c-sdkutils-sys v0.1.0+v0.1.13 (/opt/rustwide/workdir/packages/aws-c-sdkutils-sys) [INFO] [stderr] Compiling aws-c-auth-sys v0.1.0+v0.7.8 (/opt/rustwide/workdir/packages/aws-c-auth-sys) [INFO] [stderr] Compiling aws-c-mqtt-sys v0.1.0+v0.10.0 (/opt/rustwide/workdir/packages/aws-c-mqtt-sys) [INFO] [stderr] Compiling aws-c-event-stream-sys v0.1.0+v0.3.2 (/opt/rustwide/workdir/packages/aws-c-event-stream-sys) [INFO] [stderr] Compiling aws-c-s3-sys v0.1.0+v0.4.5 (/opt/rustwide/workdir/packages/aws-c-s3-sys) [INFO] [stderr] Compiling aws-crt-cpp-sys v0.1.0+v0.25.0 (/opt/rustwide/workdir/packages/aws-crt-cpp-sys) [INFO] [stderr] Compiling aws-c-iot-sys v0.1.0+v0.1.18 (/opt/rustwide/workdir/packages/aws-c-iot-sys) [INFO] [stderr] Compiling aws-iot-device-sdk-cpp-sys v0.1.0+v1.31.0 (/opt/rustwide/workdir/packages/aws-iot-device-sdk-cpp-sys) [INFO] [stdout] warning: unused import: `aws_c_common_sys::*` [INFO] [stdout] --> packages/aws-c-compression-sys/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use aws_c_common_sys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bindings::*` [INFO] [stdout] --> packages/aws-c-compression-sys/src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use bindings::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_c_common_sys::*` [INFO] [stdout] --> packages/aws-c-sdkutils-sys/src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use aws_c_common_sys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bindings::*` [INFO] [stdout] --> packages/aws-c-sdkutils-sys/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use bindings::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_c_common_sys::*` [INFO] [stdout] --> packages/aws-c-cal-sys/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | use aws_c_common_sys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bindings::*` [INFO] [stdout] --> packages/aws-c-cal-sys/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use bindings::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bindings::*` [INFO] [stdout] --> packages/aws-checksums-sys/src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use bindings::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `aws_host_resolver` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/aws-c-io-sys-36a0e5a933362a0e/out/bindings.rs:3:550 [INFO] [stdout] | [INFO] [stdout] 3 | ...tion < unsafe extern "C" fn (resolver : * mut aws_host_resolver , host_name : * const aws_string , err_code : :: core :: ffi :: c_int ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub type aws_address_record_type = :: core :: ffi :: c_uint ; # [doc = " Invoked once an address has been resolved for host. The type in host_addresses is struct aws_host_address (by-value).\n The caller does not own this memory and you must copy the host address before returning from this function if you\n plan to use it later. For convenience, we've provided the aws_host_address_copy() and aws_host_address_clean_up()\n functions."] pub type aws_on_host_resolved_result_fn = :: core :: option :: Option < unsafe extern "C" fn (resolver : * mut aws_host_resolver , host_name : * const aws_string , err_code : :: core :: ffi :: c_int , host_addresses : * const aws_array_list , user_data : * mut :: core :: ffi :: c_void) > ; # [doc = " Function signature for configuring your own resolver (the default just uses getaddrinfo()). The type in\n output_addresses is struct aws_host_address (by-value). We assume this function blocks, hence this absurdly\n complicated design."] pub type aws_resolve_host_implementation_fn = :: core :: option :: Option < unsafe extern "C" fn (allocator : * mut aws_allocator , host_name : * const aws_string , output_addresses : * mut aws_array_list , user_data : * mut :: core :: ffi :: c_void) -> :: core :: ffi :: c_int > ; pub type aws_new_event_loop_fn = :: core :: option :: Option < unsafe extern "C" fn (alloc : * mut aws_allocator , options : * const aws_event_loop_options , new_loop_user_data : * mut :: core :: ffi :: c_void) -> * mut aws_event_loop > ; # [doc = " Optional function to supply your own generate random implementation"] pub type aws_generate_random_fn = :: core :: option :: Option < unsafe extern "C" fn (user_data : * mut :: core :: ffi :: c_void) -> u64 > ; # [repr (C)] pub struct aws_standard_retry_options { pub backoff_retry_options : aws_exponential_backoff_retry_options , # [doc = " capacity for partitions. Defaults to 500"] pub initial_bucket_capacity : usize , } pub const AWS_ADDRESS_RECORD_TYPE_A : aws_address_record_type = 0 ; pub const AWS_ADDRESS_RECORD_TYPE_AAAA : aws_address_record_type = 1 ; # [test] fn bindgen_test_layout_aws_standard_retry_options () { const UNINIT : :: core :: mem :: MaybeUninit < aws_standard_retry_options > = :: core :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: core :: mem :: size_of :: < aws_standard_retry_options > () , 72usize , concat ! ("Size of: " , stringify ! (aws_standard_retry_options))) ; assert_eq ! (:: core :: mem :: align_of :: < aws_standard_retry_options > () , 8usize , concat ! ("Alignment of " , stringify ! (aws_standard_retry_options))) ; assert_eq ! (unsafe { :: core :: ptr :: addr_of ! ((* ptr) . backoff_retry_options) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (aws_standard_retry_options) , "::" , stringify ! (backoff_retry_options))) ; assert_eq ! (unsafe { :: core :: ptr :: addr_of ! ((* ptr) . initial_bucket_capacity) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (aws_standard_retry_options) , "::" , stringify ! (initial_bucket_capacity))) ; } [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `aws_event_loop_options` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/aws-c-io-sys-36a0e5a933362a0e/out/bindings.rs:3:1394 [INFO] [stdout] | [INFO] [stdout] 3 | ...c : * mut aws_allocator , options : * const aws_event_loop_options , new_loop_user_data : * mut :: core :: ffi :: c_void) -> * mut aws... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub type aws_address_record_type = :: core :: ffi :: c_uint ; # [doc = " Invoked once an address has been resolved for host. The type in host_addresses is struct aws_host_address (by-value).\n The caller does not own this memory and you must copy the host address before returning from this function if you\n plan to use it later. For convenience, we've provided the aws_host_address_copy() and aws_host_address_clean_up()\n functions."] pub type aws_on_host_resolved_result_fn = :: core :: option :: Option < unsafe extern "C" fn (resolver : * mut aws_host_resolver , host_name : * const aws_string , err_code : :: core :: ffi :: c_int , host_addresses : * const aws_array_list , user_data : * mut :: core :: ffi :: c_void) > ; # [doc = " Function signature for configuring your own resolver (the default just uses getaddrinfo()). The type in\n output_addresses is struct aws_host_address (by-value). We assume this function blocks, hence this absurdly\n complicated design."] pub type aws_resolve_host_implementation_fn = :: core :: option :: Option < unsafe extern "C" fn (allocator : * mut aws_allocator , host_name : * const aws_string , output_addresses : * mut aws_array_list , user_data : * mut :: core :: ffi :: c_void) -> :: core :: ffi :: c_int > ; pub type aws_new_event_loop_fn = :: core :: option :: Option < unsafe extern "C" fn (alloc : * mut aws_allocator , options : * const aws_event_loop_options , new_loop_user_data : * mut :: core :: ffi :: c_void) -> * mut aws_event_loop > ; # [doc = " Optional function to supply your own generate random implementation"] pub type aws_generate_random_fn = :: core :: option :: Option < unsafe extern "C" fn (user_data : * mut :: core :: ffi :: c_void) -> u64 > ; # [repr (C)] pub struct aws_standard_retry_options { pub backoff_retry_options : aws_exponential_backoff_retry_options , # [doc = " capacity for partitions. Defaults to 500"] pub initial_bucket_capacity : usize , } pub const AWS_ADDRESS_RECORD_TYPE_A : aws_address_record_type = 0 ; pub const AWS_ADDRESS_RECORD_TYPE_AAAA : aws_address_record_type = 1 ; # [test] fn bindgen_test_layout_aws_standard_retry_options () { const UNINIT : :: core :: mem :: MaybeUninit < aws_standard_retry_options > = :: core :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: core :: mem :: size_of :: < aws_standard_retry_options > () , 72usize , concat ! ("Size of: " , stringify ! (aws_standard_retry_options))) ; assert_eq ! (:: core :: mem :: align_of :: < aws_standard_retry_options > () , 8usize , concat ! ("Alignment of " , stringify ! (aws_standard_retry_options))) ; assert_eq ! (unsafe { :: core :: ptr :: addr_of ! ((* ptr) . backoff_retry_options) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (aws_standard_retry_options) , "::" , stringify ! (backoff_retry_options))) ; assert_eq ! (unsafe { :: core :: ptr :: addr_of ! ((* ptr) . initial_bucket_capacity) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (aws_standard_retry_options) , "::" , stringify ! (initial_bucket_capacity))) ; } [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `aws_event_loop` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/aws-c-io-sys-36a0e5a933362a0e/out/bindings.rs:3:1481 [INFO] [stdout] | [INFO] [stdout] 3 | ...data : * mut :: core :: ffi :: c_void) -> * mut aws_event_loop > ; # [doc = " Optional function to supply your own generate random imp... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub type aws_address_record_type = :: core :: ffi :: c_uint ; # [doc = " Invoked once an address has been resolved for host. The type in host_addresses is struct aws_host_address (by-value).\n The caller does not own this memory and you must copy the host address before returning from this function if you\n plan to use it later. For convenience, we've provided the aws_host_address_copy() and aws_host_address_clean_up()\n functions."] pub type aws_on_host_resolved_result_fn = :: core :: option :: Option < unsafe extern "C" fn (resolver : * mut aws_host_resolver , host_name : * const aws_string , err_code : :: core :: ffi :: c_int , host_addresses : * const aws_array_list , user_data : * mut :: core :: ffi :: c_void) > ; # [doc = " Function signature for configuring your own resolver (the default just uses getaddrinfo()). The type in\n output_addresses is struct aws_host_address (by-value). We assume this function blocks, hence this absurdly\n complicated design."] pub type aws_resolve_host_implementation_fn = :: core :: option :: Option < unsafe extern "C" fn (allocator : * mut aws_allocator , host_name : * const aws_string , output_addresses : * mut aws_array_list , user_data : * mut :: core :: ffi :: c_void) -> :: core :: ffi :: c_int > ; pub type aws_new_event_loop_fn = :: core :: option :: Option < unsafe extern "C" fn (alloc : * mut aws_allocator , options : * const aws_event_loop_options , new_loop_user_data : * mut :: core :: ffi :: c_void) -> * mut aws_event_loop > ; # [doc = " Optional function to supply your own generate random implementation"] pub type aws_generate_random_fn = :: core :: option :: Option < unsafe extern "C" fn (user_data : * mut :: core :: ffi :: c_void) -> u64 > ; # [repr (C)] pub struct aws_standard_retry_options { pub backoff_retry_options : aws_exponential_backoff_retry_options , # [doc = " capacity for partitions. Defaults to 500"] pub initial_bucket_capacity : usize , } pub const AWS_ADDRESS_RECORD_TYPE_A : aws_address_record_type = 0 ; pub const AWS_ADDRESS_RECORD_TYPE_AAAA : aws_address_record_type = 1 ; # [test] fn bindgen_test_layout_aws_standard_retry_options () { const UNINIT : :: core :: mem :: MaybeUninit < aws_standard_retry_options > = :: core :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: core :: mem :: size_of :: < aws_standard_retry_options > () , 72usize , concat ! ("Size of: " , stringify ! (aws_standard_retry_options))) ; assert_eq ! (:: core :: mem :: align_of :: < aws_standard_retry_options > () , 8usize , concat ! ("Alignment of " , stringify ! (aws_standard_retry_options))) ; assert_eq ! (unsafe { :: core :: ptr :: addr_of ! ((* ptr) . backoff_retry_options) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (aws_standard_retry_options) , "::" , stringify ! (backoff_retry_options))) ; assert_eq ! (unsafe { :: core :: ptr :: addr_of ! ((* ptr) . initial_bucket_capacity) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (aws_standard_retry_options) , "::" , stringify ! (initial_bucket_capacity))) ; } [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `aws_exponential_backoff_retry_options` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/aws-c-io-sys-36a0e5a933362a0e/out/bindings.rs:3:1803 [INFO] [stdout] | [INFO] [stdout] 3 | ...tions { pub backoff_retry_options : aws_exponential_backoff_retry_options , # [doc = " capacity for partitions. Defaults to 500"] pub ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::*` [INFO] [stdout] --> packages/aws-c-io-sys/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-c-io-sys` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "45a891ab988f63433df30d29fe915a6f2587cbcd29a4ac1c28e55699c02ad6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a891ab988f63433df30d29fe915a6f2587cbcd29a4ac1c28e55699c02ad6c0", kill_on_drop: false }` [INFO] [stdout] 45a891ab988f63433df30d29fe915a6f2587cbcd29a4ac1c28e55699c02ad6c0