[INFO] fetching crate uhid-sys 1.0.0... [INFO] checking uhid-sys-1.0.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate uhid-sys 1.0.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate uhid-sys 1.0.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uhid-sys 1.0.0 [INFO] finished tweaking crates.io crate uhid-sys 1.0.0 [INFO] tweaked toml for crates.io crate uhid-sys 1.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.35.0 (available: v0.70.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang-sys v0.22.0 [INFO] [stderr] Downloaded bindgen v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 839683309d374e98e7a354d7517b5439d665e80b2b3110689719553c236ee073 [INFO] running `Command { std: "docker" "start" "-a" "839683309d374e98e7a354d7517b5439d665e80b2b3110689719553c236ee073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "839683309d374e98e7a354d7517b5439d665e80b2b3110689719553c236ee073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839683309d374e98e7a354d7517b5439d665e80b2b3110689719553c236ee073", kill_on_drop: false }` [INFO] [stdout] 839683309d374e98e7a354d7517b5439d665e80b2b3110689719553c236ee073 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f147f5e565b8c076c0d3946369f92d4b8c50938bfa25fe1a1324be988ca36df [INFO] running `Command { std: "docker" "start" "-a" "0f147f5e565b8c076c0d3946369f92d4b8c50938bfa25fe1a1324be988ca36df", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling bindgen v0.35.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v0.22.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling uhid-sys v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:108913 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create2_req > ( ) ) ) . rd_size as * const _ as usize } , 256us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:109150 [INFO] [stdout] | [INFO] [stdout] 3 | ...e ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create2_req > ( ) ) ) . bus as * const _ as usize } , 258usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:109379 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create2_req > ( ) ) ) . vendor as * const _ as usize } , 260us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:109614 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create2_req > ( ) ) ) . product as * const _ as usize } , 264us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:109851 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create2_req > ( ) ) ) . version as * const _ as usize } , 268us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:110088 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create2_req > ( ) ) ) . country as * const _ as usize } , 272us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:112245 [INFO] [stdout] | [INFO] [stdout] 3 | ...q ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_input2_req > ( ) ) ) . size as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:113431 [INFO] [stdout] | [INFO] [stdout] 3 | ...a ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_output_req > ( ) ) ) . size as * const _ as usize } , 4096usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:114409 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_get_report_req > ( ) ) ) . id as * const _ as usize } , 0usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:115693 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_get_report_reply_req > ( ) ) ) . id as * const _ as usize } , 0us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:115936 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_get_report_reply_req > ( ) ) ) . err as * const _ as usize } , 4u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:116181 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_get_report_reply_req > ( ) ) ) . size as * const _ as usize } , 6u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:117239 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_set_report_req > ( ) ) ) . id as * const _ as usize } , 0usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:117942 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_set_report_req > ( ) ) ) . size as * const _ as usize } , 6usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:118945 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_set_report_reply_req > ( ) ) ) . id as * const _ as usize } , 0us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:119188 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_set_report_reply_req > ( ) ) ) . err as * const _ as usize } , 4u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:121233 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create_req > ( ) ) ) . rd_data as * const _ as usize } , 256us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:121468 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create_req > ( ) ) ) . rd_size as * const _ as usize } , 264us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:121703 [INFO] [stdout] | [INFO] [stdout] 3 | ...ze ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create_req > ( ) ) ) . bus as * const _ as usize } , 266usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:121930 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create_req > ( ) ) ) . vendor as * const _ as usize } , 268usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:122163 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create_req > ( ) ) ) . product as * const _ as usize } , 272us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:122398 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create_req > ( ) ) ) . version as * const _ as usize } , 276us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:122633 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_create_req > ( ) ) ) . country as * const _ as usize } , 280us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:123573 [INFO] [stdout] | [INFO] [stdout] 3 | ...ta ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_input_req > ( ) ) ) . size as * const _ as usize } , 4096usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:124316 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_output_ev_req > ( ) ) ) . type_ as * const _ as usize } , 0usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:124551 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_output_ev_req > ( ) ) ) . code as * const _ as usize } , 2usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:124784 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_output_ev_req > ( ) ) ) . value as * const _ as usize } , 4usiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:125517 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_feature_req > ( ) ) ) . id as * const _ as usize } , 0usize ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:126771 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_feature_answer_req > ( ) ) ) . id as * const _ as usize } , 0usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:127010 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_feature_answer_req > ( ) ) ) . err as * const _ as usize } , 4us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:127251 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_feature_answer_req > ( ) ) ) . size as * const _ as usize } , 6us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:132512 [INFO] [stdout] | [INFO] [stdout] 3 | ...ent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_event > ( ) ) ) . type_ as * const _ as usize } , 0usize , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/uhid-sys-b496d884b8edf14d/out/bindings.rs:3:132731 [INFO] [stdout] | [INFO] [stdout] 3 | ...type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uhid_event > ( ) ) ) . u as * const _ as usize } , 4usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uhid-sys` (lib test) due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "0f147f5e565b8c076c0d3946369f92d4b8c50938bfa25fe1a1324be988ca36df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f147f5e565b8c076c0d3946369f92d4b8c50938bfa25fe1a1324be988ca36df", kill_on_drop: false }` [INFO] [stdout] 0f147f5e565b8c076c0d3946369f92d4b8c50938bfa25fe1a1324be988ca36df