[INFO] fetching crate bluetooth-sys 0.1.0... [INFO] checking bluetooth-sys-0.1.0 against try#c34df645207dd0b6887b2312cf109109ba3a0ffb for pr-102513-1 [INFO] extracting crate bluetooth-sys 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate bluetooth-sys 0.1.0 on toolchain c34df645207dd0b6887b2312cf109109ba3a0ffb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c34df645207dd0b6887b2312cf109109ba3a0ffb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bluetooth-sys 0.1.0 [INFO] finished tweaking crates.io crate bluetooth-sys 0.1.0 [INFO] tweaked toml for crates.io crate bluetooth-sys 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c34df645207dd0b6887b2312cf109109ba3a0ffb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c34df645207dd0b6887b2312cf109109ba3a0ffb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+c34df645207dd0b6887b2312cf109109ba3a0ffb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4f00d2e30b57e11e474ce221512374772b5a6c2be09170d00cd81dccbb9d059 [INFO] running `Command { std: "docker" "start" "-a" "e4f00d2e30b57e11e474ce221512374772b5a6c2be09170d00cd81dccbb9d059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4f00d2e30b57e11e474ce221512374772b5a6c2be09170d00cd81dccbb9d059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f00d2e30b57e11e474ce221512374772b5a6c2be09170d00cd81dccbb9d059", kill_on_drop: false }` [INFO] [stdout] e4f00d2e30b57e11e474ce221512374772b5a6c2be09170d00cd81dccbb9d059 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+c34df645207dd0b6887b2312cf109109ba3a0ffb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e705a6a6576cbc36f097b32362925b4ef65f4432b7ba55027c6d73dc6447b33 [INFO] running `Command { std: "docker" "start" "-a" "9e705a6a6576cbc36f097b32362925b4ef65f4432b7ba55027c6d73dc6447b33", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling bluetooth-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `safe_packed_borrows` has been removed: converted into hard error, see issue #82523 for more information [INFO] [stdout] --> src/lib.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #![allow(safe_packed_borrows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:190871 [INFO] [stdout] | [INFO] [stdout] 3 | ... , stringify ! (service))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct bnep_set_filter_req { pub type_ : u8 , pub ctrl : u... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:478830 [INFO] [stdout] | [INFO] [stdout] 3 | ...ngify ! (num_cmplt_blks))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct evt_num_completed_blocks { pub total_num_blocks : u... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `safe_packed_borrows` has been removed: converted into hard error, see issue #82523 for more information [INFO] [stdout] --> src/lib.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #![allow(safe_packed_borrows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:481087 [INFO] [stdout] | [INFO] [stdout] 3 | ...stringify ! (amp_status))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct evt_stack_internal { pub type_ : u16 , pub data : _... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:542870 [INFO] [stdout] | [INFO] [stdout] 3 | ..." , stringify ! (status))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct l2cap_conf_req { pub dcid : u16 , pub flags : u16 ,... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:543978 [INFO] [stdout] | [INFO] [stdout] 3 | ...::" , stringify ! (data))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct l2cap_conf_rsp { pub scid : u16 , pub flags : u16 ,... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:548850 [INFO] [stdout] | [INFO] [stdout] 3 | ...:" , stringify ! (type_))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct l2cap_info_rsp { pub type_ : u16 , pub result : u16... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0791`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bluetooth-sys` due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:190871 [INFO] [stdout] | [INFO] [stdout] 3 | ... , stringify ! (service))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct bnep_set_filter_req { pub type_ : u8 , pub ctrl : u... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:191818 [INFO] [stdout] | [INFO] [stdout] 3 | ... (ctrl))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < bnep_set_filter_req > ())) . len as * const _ as usize } , 2usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:194488 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (ctrl))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < bnep_control_rsp > ())) . resp as * const _ as usize } , 2usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:207655 [INFO] [stdout] | [INFO] [stdout] 3 | ..._cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < periodic_inquiry_cp > ())) . max_period as * const _ as usize } , 0usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:207889 [INFO] [stdout] | [INFO] [stdout] 3 | ...iod))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < periodic_inquiry_cp > ())) . min_period as * const _ as usize } , 2usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:209562 [INFO] [stdout] | [INFO] [stdout] 3 | ...bdaddr))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < create_conn_cp > ())) . pkt_type as * const _ as usize } , 6usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:210238 [INFO] [stdout] | [INFO] [stdout] 3 | ...mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < create_conn_cp > ())) . clock_offset as * const _ as usize } , 10usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:211132 [INFO] [stdout] | [INFO] [stdout] 3 | ...nnect_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < disconnect_cp > ())) . handle as * const _ as usize } , 0usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:211983 [INFO] [stdout] | [INFO] [stdout] 3 | ...dd_sco_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < add_sco_cp > ())) . handle as * const _ as usize } , 0usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:212191 [INFO] [stdout] | [INFO] [stdout] 3 | ... (handle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < add_sco_cp > ())) . pkt_type as * const _ as usize } , 2usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:217510 [INFO] [stdout] | [INFO] [stdout] 3 | ...ype_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < set_conn_ptype_cp > ())) . handle as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:217732 [INFO] [stdout] | [INFO] [stdout] 3 | ...andle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < set_conn_ptype_cp > ())) . pkt_type as * const _ as usize } , 2usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:218402 [INFO] [stdout] | [INFO] [stdout] 3 | ...ted_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < auth_requested_cp > ())) . handle as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:219099 [INFO] [stdout] | [INFO] [stdout] 3 | ...pt_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < set_conn_encrypt_cp > ())) . handle as * const _ as usize } , 0usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:220033 [INFO] [stdout] | [INFO] [stdout] 3 | ..._cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < change_conn_link_key_cp > ())) . handle as * const _ as usize } , 0usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:222171 [INFO] [stdout] | [INFO] [stdout] 3 | ...de))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < remote_name_req_cp > ())) . clock_offset as * const _ as usize } , 8usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:223622 [INFO] [stdout] | [INFO] [stdout] 3 | ..._cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_remote_features_cp > ())) . handle as * const _ as usize } , 0usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:224380 [INFO] [stdout] | [INFO] [stdout] 3 | ...p))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_remote_ext_features_cp > ())) . handle as * const _ as usize } , 0u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:225342 [INFO] [stdout] | [INFO] [stdout] 3 | ..._cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_remote_version_cp > ())) . handle as * const _ as usize } , 0usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:226036 [INFO] [stdout] | [INFO] [stdout] 3 | ...t_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_clock_offset_cp > ())) . handle as * const _ as usize } , 0usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:226860 [INFO] [stdout] | [INFO] [stdout] 3 | ...nn_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < setup_sync_conn_cp > ())) . handle as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:227084 [INFO] [stdout] | [INFO] [stdout] 3 | ...dle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < setup_sync_conn_cp > ())) . tx_bandwith as * const _ as usize } , 2usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:227318 [INFO] [stdout] | [INFO] [stdout] 3 | ...ith))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < setup_sync_conn_cp > ())) . rx_bandwith as * const _ as usize } , 6usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:227552 [INFO] [stdout] | [INFO] [stdout] 3 | ...ith))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < setup_sync_conn_cp > ())) . max_latency as * const _ as usize } , 10us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:227787 [INFO] [stdout] | [INFO] [stdout] 3 | ...cy))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < setup_sync_conn_cp > ())) . voice_setting as * const _ as usize } , 12u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:228267 [INFO] [stdout] | [INFO] [stdout] 3 | ...fort))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < setup_sync_conn_cp > ())) . pkt_type as * const _ as usize } , 15usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:229361 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < accept_sync_conn_req_cp > ())) . tx_bandwith as * const _ as usize } , 6u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:229605 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < accept_sync_conn_req_cp > ())) . rx_bandwith as * const _ as usize } , 10... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:229850 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < accept_sync_conn_req_cp > ())) . max_latency as * const _ as usize } , 14... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:230095 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < accept_sync_conn_req_cp > ())) . voice_setting as * const _ as usize } , 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:230595 [INFO] [stdout] | [INFO] [stdout] 3 | ...rt))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < accept_sync_conn_req_cp > ())) . pkt_type as * const _ as usize } , 19u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:234735 [INFO] [stdout] | [INFO] [stdout] 3 | ...ddr))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < user_passkey_reply_cp > ())) . passkey as * const _ as usize } , 6usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:242957 [INFO] [stdout] | [INFO] [stdout] 3 | ...p))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < disconnect_logical_link_cp > ())) . handle as * const _ as usize } , 0us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:245845 [INFO] [stdout] | [INFO] [stdout] 3 | ..._mode_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hold_mode_cp > ())) . handle as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:246057 [INFO] [stdout] | [INFO] [stdout] 3 | ...andle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hold_mode_cp > ())) . max_interval as * const _ as usize } , 2usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:246281 [INFO] [stdout] | [INFO] [stdout] 3 | ...erval))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hold_mode_cp > ())) . min_interval as * const _ as usize } , 4usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:247016 [INFO] [stdout] | [INFO] [stdout] 3 | ..._mode_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sniff_mode_cp > ())) . handle as * const _ as usize } , 0usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:247230 [INFO] [stdout] | [INFO] [stdout] 3 | ...andle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sniff_mode_cp > ())) . max_interval as * const _ as usize } , 2usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:247456 [INFO] [stdout] | [INFO] [stdout] 3 | ...erval))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sniff_mode_cp > ())) . min_interval as * const _ as usize } , 4usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:247682 [INFO] [stdout] | [INFO] [stdout] 3 | ...nterval))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sniff_mode_cp > ())) . attempt as * const _ as usize } , 6usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:247898 [INFO] [stdout] | [INFO] [stdout] 3 | ...attempt))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sniff_mode_cp > ())) . timeout as * const _ as usize } , 8usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:248564 [INFO] [stdout] | [INFO] [stdout] 3 | ...de_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < exit_sniff_mode_cp > ())) . handle as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:249252 [INFO] [stdout] | [INFO] [stdout] 3 | ..._mode_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < park_mode_cp > ())) . handle as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:249464 [INFO] [stdout] | [INFO] [stdout] 3 | ...andle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < park_mode_cp > ())) . max_interval as * const _ as usize } , 2usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:249688 [INFO] [stdout] | [INFO] [stdout] 3 | ...erval))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < park_mode_cp > ())) . min_interval as * const _ as usize } , 4usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:250356 [INFO] [stdout] | [INFO] [stdout] 3 | ...ode_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < exit_park_mode_cp > ())) . handle as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:251280 [INFO] [stdout] | [INFO] [stdout] 3 | ...vice_type))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_qos > ())) . token_rate as * const _ as usize } , 1usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:251490 [INFO] [stdout] | [INFO] [stdout] 3 | ...en_rate))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_qos > ())) . peak_bandwidth as * const _ as usize } , 5usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:251708 [INFO] [stdout] | [INFO] [stdout] 3 | ..._bandwidth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_qos > ())) . latency as * const _ as usize } , 9usize , con... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:251912 [INFO] [stdout] | [INFO] [stdout] 3 | ...atency))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_qos > ())) . delay_variation as * const _ as usize } , 13usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:252585 [INFO] [stdout] | [INFO] [stdout] 3 | ...setup_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < qos_setup_cp > ())) . handle as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:253657 [INFO] [stdout] | [INFO] [stdout] 3 | ...ery_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < role_discovery_cp > ())) . handle as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:254579 [INFO] [stdout] | [INFO] [stdout] 3 | ...status))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < role_discovery_rp > ())) . handle as * const _ as usize } , 1usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:256350 [INFO] [stdout] | [INFO] [stdout] 3 | ...cy_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_link_policy_cp > ())) . handle as * const _ as usize } , 0usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:257295 [INFO] [stdout] | [INFO] [stdout] 3 | ...tatus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_link_policy_rp > ())) . handle as * const _ as usize } , 1usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:257521 [INFO] [stdout] | [INFO] [stdout] 3 | ...andle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_link_policy_rp > ())) . policy as * const _ as usize } , 3usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:258228 [INFO] [stdout] | [INFO] [stdout] 3 | ...y_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_link_policy_cp > ())) . handle as * const _ as usize } , 0usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:258456 [INFO] [stdout] | [INFO] [stdout] 3 | ...ndle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_link_policy_cp > ())) . policy as * const _ as usize } , 2usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:259392 [INFO] [stdout] | [INFO] [stdout] 3 | ...atus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_link_policy_rp > ())) . handle as * const _ as usize } , 1usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:260155 [INFO] [stdout] | [INFO] [stdout] 3 | ...ng_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sniff_subrating_cp > ())) . handle as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:260379 [INFO] [stdout] | [INFO] [stdout] 3 | ...dle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sniff_subrating_cp > ())) . max_latency as * const _ as usize } , 2usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:260613 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sniff_subrating_cp > ())) . min_remote_timeout as * const _ as usize } , 4... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:260861 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sniff_subrating_cp > ())) . min_local_timeout as * const _ as usize } , 6... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:266250 [INFO] [stdout] | [INFO] [stdout] 3 | ...us))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_stored_link_key_rp > ())) . max_keys as * const _ as usize } , 1us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:266488 [INFO] [stdout] | [INFO] [stdout] 3 | ...ys))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_stored_link_key_rp > ())) . num_keys as * const _ as usize } , 3us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:270187 [INFO] [stdout] | [INFO] [stdout] 3 | ...s))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < delete_stored_link_key_rp > ())) . num_keys as * const _ as usize } , 1u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:272800 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_conn_accept_timeout_rp > ())) . timeout as * const _ as usize } , 1u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:273555 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_conn_accept_timeout_cp > ())) . timeout as * const _ as usize } , 0... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:274510 [INFO] [stdout] | [INFO] [stdout] 3 | ...atus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_page_timeout_rp > ())) . timeout as * const _ as usize } , 1usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:275209 [INFO] [stdout] | [INFO] [stdout] 3 | ..._cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_page_timeout_cp > ())) . timeout as * const _ as usize } , 0usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:277103 [INFO] [stdout] | [INFO] [stdout] 3 | ...tus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_page_activity_rp > ())) . interval as * const _ as usize } , 1usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:277337 [INFO] [stdout] | [INFO] [stdout] 3 | ...rval))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_page_activity_rp > ())) . window as * const _ as usize } , 3usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:278062 [INFO] [stdout] | [INFO] [stdout] 3 | ...cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_page_activity_cp > ())) . interval as * const _ as usize } , 0usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:278298 [INFO] [stdout] | [INFO] [stdout] 3 | ...val))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_page_activity_cp > ())) . window as * const _ as usize } , 2usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:279259 [INFO] [stdout] | [INFO] [stdout] 3 | ...tus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_inq_activity_rp > ())) . interval as * const _ as usize } , 1usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:279491 [INFO] [stdout] | [INFO] [stdout] 3 | ...rval))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_inq_activity_rp > ())) . window as * const _ as usize } , 3usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:280208 [INFO] [stdout] | [INFO] [stdout] 3 | ..._cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_inq_activity_cp > ())) . interval as * const _ as usize } , 0usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:280442 [INFO] [stdout] | [INFO] [stdout] 3 | ...rval))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_inq_activity_cp > ())) . window as * const _ as usize } , 2usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:283067 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_voice_setting_rp > ())) . voice_setting as * const _ as usize } , 1u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:283792 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_voice_setting_cp > ())) . voice_setting as * const _ as usize } , 0... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:284565 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_transmit_power_level_cp > ())) . handle as * const _ as usize } , 0u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:285840 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_transmit_power_level_rp > ())) . handle as * const _ as usize } , 1u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:286850 [INFO] [stdout] | [INFO] [stdout] 3 | ...e_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < host_buffer_size_cp > ())) . acl_mtu as * const _ as usize } , 0usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:287306 [INFO] [stdout] | [INFO] [stdout] 3 | ...tu))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < host_buffer_size_cp > ())) . acl_max_pkt as * const _ as usize } , 3usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:287542 [INFO] [stdout] | [INFO] [stdout] 3 | ...kt))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < host_buffer_size_cp > ())) . sco_max_pkt as * const _ as usize } , 5usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:289305 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_link_supervision_timeout_rp > ())) . handle as * const _ as usize } , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:289557 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_link_supervision_timeout_rp > ())) . timeout as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:290371 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_link_supervision_timeout_cp > ())) . handle as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:290625 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_link_supervision_timeout_cp > ())) . timeout as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:291693 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_link_supervision_timeout_rp > ())) . handle as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:306193 [INFO] [stdout] | [INFO] [stdout] 3 | ...cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < refresh_encryption_key_cp > ())) . handle as * const _ as usize } , 0us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:317941 [INFO] [stdout] | [INFO] [stdout] 3 | ...ush_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < enhanced_flush_cp > ())) . handle as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:320861 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_log_link_accept_timeout_rp > ())) . timeout as * const _ as usize } , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:321648 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_log_link_accept_timeout_cp > ())) . timeout as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:322814 [INFO] [stdout] | [INFO] [stdout] 3 | ...; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_enhanced_transmit_power_level_rp > ())) . handle as * const _ as usize }... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:324703 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_best_effort_flush_timeout_rp > ())) . timeout as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:325525 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_best_effort_flush_timeout_cp > ())) . handle as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:325781 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_best_effort_flush_timeout_cp > ())) . timeout as * const _ as usize } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:330081 [INFO] [stdout] | [INFO] [stdout] 3 | ...ver))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_version_rp > ())) . hci_rev as * const _ as usize } , 2usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:330545 [INFO] [stdout] | [INFO] [stdout] 3 | ...r))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_version_rp > ())) . manufacturer as * const _ as usize } , 5u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:330787 [INFO] [stdout] | [INFO] [stdout] 3 | ...er))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_version_rp > ())) . lmp_subver as * const _ as usize } , 7us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:336027 [INFO] [stdout] | [INFO] [stdout] 3 | ...atus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_buffer_size_rp > ())) . acl_mtu as * const _ as usize } , 1usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:336483 [INFO] [stdout] | [INFO] [stdout] 3 | ...tu))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_buffer_size_rp > ())) . acl_max_pkt as * const _ as usize } , 4usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:336719 [INFO] [stdout] | [INFO] [stdout] 3 | ...kt))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_buffer_size_rp > ())) . sco_max_pkt as * const _ as usize } , 6usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:338633 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_data_block_size_rp > ())) . max_acl_len as * const _ as usize } , 1u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:338877 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_data_block_size_rp > ())) . data_block_len as * const _ as usize } , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:339127 [INFO] [stdout] | [INFO] [stdout] 3 | ...n))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_data_block_size_rp > ())) . num_blocks as * const _ as usize } , 5u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:340176 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_failed_contact_counter_rp > ())) . handle as * const _ as usize } , 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:341470 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < reset_failed_contact_counter_rp > ())) . handle as * const _ as usize } , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:342452 [INFO] [stdout] | [INFO] [stdout] 3 | ...atus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_link_quality_rp > ())) . handle as * const _ as usize } , 1usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:343580 [INFO] [stdout] | [INFO] [stdout] 3 | ... (status))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_rssi_rp > ())) . handle as * const _ as usize } , 1usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:344712 [INFO] [stdout] | [INFO] [stdout] 3 | ...(status))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_afh_map_rp > ())) . handle as * const _ as usize } , 1usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:345799 [INFO] [stdout] | [INFO] [stdout] 3 | ...clock_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_clock_cp > ())) . handle as * const _ as usize } , 0usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:346928 [INFO] [stdout] | [INFO] [stdout] 3 | ... (status))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_clock_rp > ())) . handle as * const _ as usize } , 1usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:347142 [INFO] [stdout] | [INFO] [stdout] 3 | ... (handle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_clock_rp > ())) . clock as * const _ as usize } , 3usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:347354 [INFO] [stdout] | [INFO] [stdout] 3 | ... (clock))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_clock_rp > ())) . accuracy as * const _ as usize } , 7usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:348803 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_info_rp > ())) . total_bandwidth as * const _ as usize } , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:349053 [INFO] [stdout] | [INFO] [stdout] 3 | ...assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_info_rp > ())) . max_guaranteed_bandwidth as * const _ as usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:349321 [INFO] [stdout] | [INFO] [stdout] 3 | ...h))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_info_rp > ())) . min_latency as * const _ as usize } , 10... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:349564 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_info_rp > ())) . max_pdu_size as * const _ as usize } , 14... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:350060 [INFO] [stdout] | [INFO] [stdout] 3 | ...pe))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_info_rp > ())) . pal_caps as * const _ as usize } , 19us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:350297 [INFO] [stdout] | [INFO] [stdout] 3 | ...; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_info_rp > ())) . max_amp_assoc_length as * const _ as usize } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:350558 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_info_rp > ())) . max_flush_timeout as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:350813 [INFO] [stdout] | [INFO] [stdout] 3 | ...assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_info_rp > ())) . best_effort_flush_timeout as * const _ as usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:351848 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_assoc_cp > ())) . length_so_far as * const _ as usize } , 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:352096 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_assoc_cp > ())) . assoc_length as * const _ as usize } , 3... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:353353 [INFO] [stdout] | [INFO] [stdout] 3 | ...dle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < read_local_amp_assoc_rp > ())) . length as * const _ as usize } , 2usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:354636 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_remote_amp_assoc_cp > ())) . length_so_far as * const _ as usize } , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:354888 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < write_remote_amp_assoc_cp > ())) . remaining_length as * const _ as usize } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:359407 [INFO] [stdout] | [INFO] [stdout] 3 | ...tus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_read_buffer_size_rp > ())) . pkt_len as * const _ as usize } , 1usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:362415 [INFO] [stdout] | [INFO] [stdout] 3 | ... assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_set_advertising_parameters_cp > ())) . min_interval as * const _ as usize }... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:362679 [INFO] [stdout] | [INFO] [stdout] 3 | ... assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_set_advertising_parameters_cp > ())) . max_interval as * const _ as usize }... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:369213 [INFO] [stdout] | [INFO] [stdout] 3 | ..._))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_set_scan_parameters_cp > ())) . interval as * const _ as usize } , 1u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:369455 [INFO] [stdout] | [INFO] [stdout] 3 | ...al))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_set_scan_parameters_cp > ())) . window as * const _ as usize } , 3us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:371912 [INFO] [stdout] | [INFO] [stdout] 3 | ...cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_create_connection_cp > ())) . interval as * const _ as usize } , 0us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:372150 [INFO] [stdout] | [INFO] [stdout] 3 | ...val))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_create_connection_cp > ())) . window as * const _ as usize } , 2usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:373389 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_create_connection_cp > ())) . min_interval as * const _ as usize } , 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:373636 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_create_connection_cp > ())) . max_interval as * const _ as usize } , 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:373883 [INFO] [stdout] | [INFO] [stdout] 3 | ...al))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_create_connection_cp > ())) . latency as * const _ as usize } , 17us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:374120 [INFO] [stdout] | [INFO] [stdout] 3 | ...; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_create_connection_cp > ())) . supervision_timeout as * const _ as usize } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:374381 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_create_connection_cp > ())) . min_ce_length as * const _ as usize } , 2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:374630 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_create_connection_cp > ())) . max_ce_length as * const _ as usize } , 2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:378665 [INFO] [stdout] | [INFO] [stdout] 3 | ..._cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_connection_update_cp > ())) . handle as * const _ as usize } , 0usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:378899 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_connection_update_cp > ())) . min_interval as * const _ as usize } , 2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:379145 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_connection_update_cp > ())) . max_interval as * const _ as usize } , 4... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:379391 [INFO] [stdout] | [INFO] [stdout] 3 | ...al))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_connection_update_cp > ())) . latency as * const _ as usize } , 6usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:379627 [INFO] [stdout] | [INFO] [stdout] 3 | ...; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_connection_update_cp > ())) . supervision_timeout as * const _ as usize } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:379887 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_connection_update_cp > ())) . min_ce_length as * const _ as usize } , 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:380136 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_connection_update_cp > ())) . max_ce_length as * const _ as usize } , 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:381686 [INFO] [stdout] | [INFO] [stdout] 3 | ..._cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_read_channel_map_cp > ())) . handle as * const _ as usize } , 0usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:382668 [INFO] [stdout] | [INFO] [stdout] 3 | ...tus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_read_channel_map_rp > ())) . handle as * const _ as usize } , 1usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:383654 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_read_remote_used_features_cp > ())) . handle as * const _ as usize } , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:386295 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (status))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_rand_rp > ())) . random as * const _ as usize } , 1usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:387048 [INFO] [stdout] | [INFO] [stdout] 3 | ..._cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_start_encryption_cp > ())) . handle as * const _ as usize } , 0usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:387280 [INFO] [stdout] | [INFO] [stdout] 3 | ...dle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_start_encryption_cp > ())) . random as * const _ as usize } , 2usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:387512 [INFO] [stdout] | [INFO] [stdout] 3 | ...m))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_start_encryption_cp > ())) . diversifier as * const _ as usize } , 10... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:388442 [INFO] [stdout] | [INFO] [stdout] 3 | ...eply_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_ltk_reply_cp > ())) . handle as * const _ as usize } , 0usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:389540 [INFO] [stdout] | [INFO] [stdout] 3 | ...(status))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_ltk_reply_rp > ())) . handle as * const _ as usize } , 1usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:390214 [INFO] [stdout] | [INFO] [stdout] 3 | ...ly_cp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_ltk_neg_reply_cp > ())) . handle as * const _ as usize } , 0usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:391140 [INFO] [stdout] | [INFO] [stdout] 3 | ...tatus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_ltk_neg_reply_rp > ())) . handle as * const _ as usize } , 1usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:392130 [INFO] [stdout] | [INFO] [stdout] 3 | ...s))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_read_supported_states_rp > ())) . states as * const _ as usize } , 1u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:394941 [INFO] [stdout] | [INFO] [stdout] 3 | ...status))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < le_test_end_rp > ())) . num_pkts as * const _ as usize } , 1usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:401394 [INFO] [stdout] | [INFO] [stdout] 3 | ...class))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < inquiry_info > ())) . clock_offset as * const _ as usize } , 12usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:402370 [INFO] [stdout] | [INFO] [stdout] 3 | ...status))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_conn_complete > ())) . handle as * const _ as usize } , 1usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:405166 [INFO] [stdout] | [INFO] [stdout] 3 | ...atus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_disconn_complete > ())) . handle as * const _ as usize } , 1usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:406306 [INFO] [stdout] | [INFO] [stdout] 3 | ...status))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_auth_complete > ())) . handle as * const _ as usize } , 1usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:408523 [INFO] [stdout] | [INFO] [stdout] 3 | ...tatus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_encrypt_change > ())) . handle as * const _ as usize } , 1usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:409785 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_change_conn_link_key_complete > ())) . handle as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:410831 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_master_link_key_complete > ())) . handle as * const _ as usize } , 1u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:412167 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_read_remote_features_complete > ())) . handle as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:413550 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_read_remote_version_complete > ())) . handle as * const _ as usize } , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:414056 [INFO] [stdout] | [INFO] [stdout] 3 | ... assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_read_remote_version_complete > ())) . manufacturer as * const _ as usize }... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:414320 [INFO] [stdout] | [INFO] [stdout] 3 | ...; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_read_remote_version_complete > ())) . lmp_subver as * const _ as usize } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:415342 [INFO] [stdout] | [INFO] [stdout] 3 | ...tus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_qos_setup_complete > ())) . handle as * const _ as usize } , 1usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:416700 [INFO] [stdout] | [INFO] [stdout] 3 | ... (ncmd))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_cmd_complete > ())) . opcode as * const _ as usize } , 1usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:417808 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (ncmd))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_cmd_status > ())) . opcode as * const _ as usize } , 2usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:419135 [INFO] [stdout] | [INFO] [stdout] 3 | ...ccured))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_flush_occured > ())) . handle as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:421854 [INFO] [stdout] | [INFO] [stdout] 3 | ...(status))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_mode_change > ())) . handle as * const _ as usize } , 1usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:422286 [INFO] [stdout] | [INFO] [stdout] 3 | ... (mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_mode_change > ())) . interval as * const _ as usize } , 4usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:426943 [INFO] [stdout] | [INFO] [stdout] 3 | ...ange))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_max_slots_change > ())) . handle as * const _ as usize } , 0usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:428218 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_read_clock_offset_complete > ())) . handle as * const _ as usize } , 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:428466 [INFO] [stdout] | [INFO] [stdout] 3 | ...; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_read_clock_offset_complete > ())) . clock_offset as * const _ as usize } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:429468 [INFO] [stdout] | [INFO] [stdout] 3 | ...tus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_conn_ptype_changed > ())) . handle as * const _ as usize } , 1usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:429700 [INFO] [stdout] | [INFO] [stdout] 3 | ...ndle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_conn_ptype_changed > ())) . ptype as * const _ as usize } , 3usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:430374 [INFO] [stdout] | [INFO] [stdout] 3 | ...lation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_qos_violation > ())) . handle as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:432394 [INFO] [stdout] | [INFO] [stdout] 3 | ...tus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_flow_spec_complete > ())) . handle as * const _ as usize } , 1usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:434900 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < inquiry_info_with_rssi > ())) . clock_offset as * const _ as usize } , 11... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:437456 [INFO] [stdout] | [INFO] [stdout] 3 | ...ssert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < inquiry_info_with_rssi_and_pscan_mode > ())) . clock_offset as * const _ as usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:438910 [INFO] [stdout] | [INFO] [stdout] 3 | ...; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_read_remote_ext_features_complete > ())) . handle as * const _ as usize }... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:440866 [INFO] [stdout] | [INFO] [stdout] 3 | ...tus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sync_conn_complete > ())) . handle as * const _ as usize } , 1usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:442066 [INFO] [stdout] | [INFO] [stdout] 3 | ...w))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sync_conn_complete > ())) . rx_pkt_len as * const _ as usize } , 12u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:442307 [INFO] [stdout] | [INFO] [stdout] 3 | ...n))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sync_conn_complete > ())) . tx_pkt_len as * const _ as usize } , 14u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:443599 [INFO] [stdout] | [INFO] [stdout] 3 | ...atus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sync_conn_changed > ())) . handle as * const _ as usize } , 1usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:444321 [INFO] [stdout] | [INFO] [stdout] 3 | ...ow))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sync_conn_changed > ())) . rx_pkt_len as * const _ as usize } , 5us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:444559 [INFO] [stdout] | [INFO] [stdout] 3 | ...en))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sync_conn_changed > ())) . tx_pkt_len as * const _ as usize } , 7us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:445613 [INFO] [stdout] | [INFO] [stdout] 3 | ...tatus))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sniff_subrating > ())) . handle as * const _ as usize } , 1usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:445839 [INFO] [stdout] | [INFO] [stdout] 3 | ...e))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sniff_subrating > ())) . max_tx_latency as * const _ as usize } , 3u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:446081 [INFO] [stdout] | [INFO] [stdout] 3 | ...y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sniff_subrating > ())) . max_rx_latency as * const _ as usize } , 5u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:446323 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sniff_subrating > ())) . min_remote_timeout as * const _ as usize } , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:446573 [INFO] [stdout] | [INFO] [stdout] 3 | ...)) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_sniff_subrating > ())) . min_local_timeout as * const _ as usize } , 9... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:448409 [INFO] [stdout] | [INFO] [stdout] 3 | ...s))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < extended_inquiry_info > ())) . clock_offset as * const _ as usize } , 11... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:449934 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_encryption_key_refresh_complete > ())) . handle as * const _ as usize } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:453234 [INFO] [stdout] | [INFO] [stdout] 3 | ...dr))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_user_confirm_request > ())) . passkey as * const _ as usize } , 6us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:456539 [INFO] [stdout] | [INFO] [stdout] 3 | ...; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_link_supervision_timeout_changed > ())) . handle as * const _ as usize } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:456799 [INFO] [stdout] | [INFO] [stdout] 3 | ...; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_link_supervision_timeout_changed > ())) . timeout as * const _ as usize }... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:457565 [INFO] [stdout] | [INFO] [stdout] 3 | ...e))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_enhanced_flush_complete > ())) . handle as * const _ as usize } , 0u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:458547 [INFO] [stdout] | [INFO] [stdout] 3 | ...dr))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_user_passkey_notify > ())) . passkey as * const _ as usize } , 6usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:462633 [INFO] [stdout] | [INFO] [stdout] 3 | ...s))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_connection_complete > ())) . handle as * const _ as usize } , 1us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:463619 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_connection_complete > ())) . interval as * const _ as usize } , 11... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:463864 [INFO] [stdout] | [INFO] [stdout] 3 | ...l))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_connection_complete > ())) . latency as * const _ as usize } , 13... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:464107 [INFO] [stdout] | [INFO] [stdout] 3 | ... assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_connection_complete > ())) . supervision_timeout as * const _ as usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:467220 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_connection_update_complete > ())) . handle as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:467474 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_connection_update_complete > ())) . interval as * const _ as usize } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:467732 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_connection_update_complete > ())) . latency as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:467988 [INFO] [stdout] | [INFO] [stdout] 3 | ...ert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_connection_update_complete > ())) . supervision_timeout as * const _ as usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:469176 [INFO] [stdout] | [INFO] [stdout] 3 | ...assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_read_remote_used_features_complete > ())) . handle as * const _ as usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:470274 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_long_term_key_request > ())) . handle as * const _ as usize } , 0u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:470518 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_long_term_key_request > ())) . random as * const _ as usize } , 2u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:470762 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_le_long_term_key_request > ())) . diversifier as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:475925 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_logical_link_complete > ())) . log_handle as * const _ as usize } , 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:477435 [INFO] [stdout] | [INFO] [stdout] 3 | ...))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_flow_spec_modify_complete > ())) . handle as * const _ as usize } , 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:478149 [INFO] [stdout] | [INFO] [stdout] 3 | ...t_handle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < cmplt_handle > ())) . handle as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:478361 [INFO] [stdout] | [INFO] [stdout] 3 | ...ndle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < cmplt_handle > ())) . num_cmplt_pkts as * const _ as usize } , 2usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:478589 [INFO] [stdout] | [INFO] [stdout] 3 | ...pkts))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < cmplt_handle > ())) . num_cmplt_blks as * const _ as usize } , 4usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:478830 [INFO] [stdout] | [INFO] [stdout] 3 | ...ngify ! (num_cmplt_blks))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct evt_num_completed_blocks { pub total_num_blocks : u... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:479377 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_num_completed_blocks > ())) . total_num_blocks as * const _ as usize } ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:481087 [INFO] [stdout] | [INFO] [stdout] 3 | ...stringify ! (amp_status))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct evt_stack_internal { pub type_ : u16 , pub data : _... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:481551 [INFO] [stdout] | [INFO] [stdout] 3 | ...ternal))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_stack_internal > ())) . type_ as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:482431 [INFO] [stdout] | [INFO] [stdout] 3 | ...i_device))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_si_device > ())) . event as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:482643 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (event))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < evt_si_device > ())) . dev_id as * const _ as usize } , 2usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:483305 [INFO] [stdout] | [INFO] [stdout] 3 | ...and_hdr))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_command_hdr > ())) . opcode as * const _ as usize } , 0usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:485012 [INFO] [stdout] | [INFO] [stdout] 3 | ...i_acl_hdr))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_acl_hdr > ())) . handle as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:485222 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (handle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_acl_hdr > ())) . dlen as * const _ as usize } , 2usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:485852 [INFO] [stdout] | [INFO] [stdout] 3 | ...i_sco_hdr))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_sco_hdr > ())) . handle as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:486711 [INFO] [stdout] | [INFO] [stdout] 3 | ...i_msg_hdr))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_msg_hdr > ())) . device as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:486921 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (device))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_msg_hdr > ())) . type_ as * const _ as usize } , 2usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:487129 [INFO] [stdout] | [INFO] [stdout] 3 | ...y ! (type_))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < hci_msg_hdr > ())) . plen as * const _ as usize } , 4usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:538546 [INFO] [stdout] | [INFO] [stdout] 3 | ... (l2cap_hdr))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_hdr > ())) . len as * const _ as usize } , 0usize , conc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:538746 [INFO] [stdout] | [INFO] [stdout] 3 | ...gify ! (len))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_hdr > ())) . cid as * const _ as usize } , 2usize , conc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:539818 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (ident))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_cmd_hdr > ())) . len as * const _ as usize } , 2usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:540446 [INFO] [stdout] | [INFO] [stdout] 3 | ..._cmd_rej))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_cmd_rej > ())) . reason as * const _ as usize } , 0usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:541100 [INFO] [stdout] | [INFO] [stdout] 3 | ..._conn_req))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conn_req > ())) . psm as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:541310 [INFO] [stdout] | [INFO] [stdout] 3 | ...y ! (psm))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conn_req > ())) . scid as * const _ as usize } , 2usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:542001 [INFO] [stdout] | [INFO] [stdout] 3 | ...conn_rsp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conn_rsp > ())) . dcid as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:542213 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (dcid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conn_rsp > ())) . scid as * const _ as usize } , 2usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:542425 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (scid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conn_rsp > ())) . result as * const _ as usize } , 4usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:542641 [INFO] [stdout] | [INFO] [stdout] 3 | ...(result))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conn_rsp > ())) . status as * const _ as usize } , 6usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:542870 [INFO] [stdout] | [INFO] [stdout] 3 | ..." , stringify ! (status))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct l2cap_conf_req { pub dcid : u16 , pub flags : u16 ,... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:543327 [INFO] [stdout] | [INFO] [stdout] 3 | ...conf_req))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conf_req > ())) . dcid as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:543539 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (dcid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conf_req > ())) . flags as * const _ as usize } , 2usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:543978 [INFO] [stdout] | [INFO] [stdout] 3 | ...::" , stringify ! (data))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct l2cap_conf_rsp { pub scid : u16 , pub flags : u16 ,... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:544454 [INFO] [stdout] | [INFO] [stdout] 3 | ...conf_rsp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conf_rsp > ())) . scid as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:544666 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (scid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conf_rsp > ())) . flags as * const _ as usize } , 2usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:544880 [INFO] [stdout] | [INFO] [stdout] 3 | ... (flags))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_conf_rsp > ())) . result as * const _ as usize } , 4usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:546867 [INFO] [stdout] | [INFO] [stdout] 3 | ...onn_req))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_disconn_req > ())) . dcid as * const _ as usize } , 0usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:547085 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (dcid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_disconn_req > ())) . scid as * const _ as usize } , 2usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:547762 [INFO] [stdout] | [INFO] [stdout] 3 | ...onn_rsp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_disconn_rsp > ())) . dcid as * const _ as usize } , 0usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:547980 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (dcid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_disconn_rsp > ())) . scid as * const _ as usize } , 2usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:548623 [INFO] [stdout] | [INFO] [stdout] 3 | ...info_req))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_info_req > ())) . type_ as * const _ as usize } , 0usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:548850 [INFO] [stdout] | [INFO] [stdout] 3 | ...:" , stringify ! (type_))) ; } # [repr (C , packed)] # [derive (Debug)] pub struct l2cap_info_rsp { pub type_ : u16 , pub result : u16... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:549309 [INFO] [stdout] | [INFO] [stdout] 3 | ...info_rsp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_info_rsp > ())) . type_ as * const _ as usize } , 0usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:549523 [INFO] [stdout] | [INFO] [stdout] 3 | ... (type_))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_info_rsp > ())) . result as * const _ as usize } , 2usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:550417 [INFO] [stdout] | [INFO] [stdout] 3 | ...eate_req))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_create_req > ())) . psm as * const _ as usize } , 0usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:550631 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (psm))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_create_req > ())) . scid as * const _ as usize } , 2usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:551550 [INFO] [stdout] | [INFO] [stdout] 3 | ...ate_rsp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_create_rsp > ())) . dcid as * const _ as usize } , 0usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:551766 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (dcid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_create_rsp > ())) . scid as * const _ as usize } , 2usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:551982 [INFO] [stdout] | [INFO] [stdout] 3 | ... (scid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_create_rsp > ())) . result as * const _ as usize } , 4usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:552202 [INFO] [stdout] | [INFO] [stdout] 3 | ...result))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_create_rsp > ())) . status as * const _ as usize } , 6usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:552860 [INFO] [stdout] | [INFO] [stdout] 3 | ...move_req))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_move_req > ())) . icid as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:553723 [INFO] [stdout] | [INFO] [stdout] 3 | ...move_rsp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_move_rsp > ())) . icid as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:553935 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (icid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_move_rsp > ())) . result as * const _ as usize } , 2usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:554594 [INFO] [stdout] | [INFO] [stdout] 3 | ...move_cfm))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_move_cfm > ())) . icid as * const _ as usize } , 0usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:554806 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (icid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_move_cfm > ())) . result as * const _ as usize } , 2usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:555470 [INFO] [stdout] | [INFO] [stdout] 3 | ...fm_rsp))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < l2cap_move_cfm_rsp > ())) . icid as * const _ as usize } , 0usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:565063 [INFO] [stdout] | [INFO] [stdout] 3 | ...! (pdu_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sdp_pdu_hdr_t > ())) . tid as * const _ as usize } , 1usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0791]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluetooth-sys-8529946c9c661125/out/bindings.rs:3:565271 [INFO] [stdout] | [INFO] [stdout] 3 | ...fy ! (tid))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < sdp_pdu_hdr_t > ())) . plen as * const _ as usize } , 3usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 276 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0791`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bluetooth-sys` due to 277 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9e705a6a6576cbc36f097b32362925b4ef65f4432b7ba55027c6d73dc6447b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e705a6a6576cbc36f097b32362925b4ef65f4432b7ba55027c6d73dc6447b33", kill_on_drop: false }` [INFO] [stdout] 9e705a6a6576cbc36f097b32362925b4ef65f4432b7ba55027c6d73dc6447b33