[INFO] fetching crate libyubihsm 0.2.1...
[INFO] checking libyubihsm-0.2.1 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate libyubihsm 0.2.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate libyubihsm 0.2.1 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libyubihsm 0.2.1
[INFO] finished tweaking crates.io crate libyubihsm 0.2.1
[INFO] tweaked toml for crates.io crate libyubihsm 0.2.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 58 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding aho-corasick v0.6.10 (latest: v1.1.3)
[INFO] [stderr]       Adding bindgen v0.32.3 (latest: v0.69.4)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding cexpr v0.2.3 (latest: v0.6.0)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding clang-sys v0.21.2 (latest: v1.7.0)
[INFO] [stderr]       Adding clap v2.34.0 (latest: v4.5.4)
[INFO] [stderr]       Adding env_logger v0.4.3 (latest: v0.11.3)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding glob v0.2.11 (latest: v0.3.1)
[INFO] [stderr]       Adding hermit-abi v0.1.19 (latest: v0.3.9)
[INFO] [stderr]       Adding libloading v0.4.3 (latest: v0.8.3)
[INFO] [stderr]       Adding log v0.3.9 (latest: v0.4.21)
[INFO] [stderr]       Adding memchr v1.0.2 (latest: v2.7.2)
[INFO] [stderr]       Adding nom v3.2.1 (latest: v7.1.3)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding peeking_take_while v0.1.2 (latest: v1.0.0)
[INFO] [stderr]       Adding proc-macro2 v0.2.3 (latest: v1.0.81)
[INFO] [stderr]       Adding quote v0.4.2 (latest: v1.0.36)
[INFO] [stderr]       Adding regex v0.2.11 (latest: v1.10.4)
[INFO] [stderr]       Adding regex-syntax v0.5.6 (latest: v0.8.3)
[INFO] [stderr]       Adding strsim v0.8.0 (latest: v0.11.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding synstructure v0.12.6 (latest: v0.13.1)
[INFO] [stderr]       Adding textwrap v0.11.0 (latest: v0.16.1)
[INFO] [stderr]       Adding thread_local v0.3.6 (latest: v1.1.8)
[INFO] [stderr]       Adding ucd-util v0.1.10 (latest: v0.2.1)
[INFO] [stderr]       Adding unicode-xid v0.1.0 (latest: v0.2.4)
[INFO] [stderr]       Adding which v1.0.5 (latest: v6.0.1)
[INFO] [stderr]       Adding winapi v0.2.8 (latest: v0.3.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v0.4.2
[INFO] [stderr]   Downloaded proc-macro2 v0.2.3
[INFO] [stderr]   Downloaded bindgen v0.32.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b8e6afc440e93e28c0dd5189611024df78b71e86b1aa0dd8f1a910d9d0b33642
[INFO] running `Command { std: "docker" "start" "-a" "b8e6afc440e93e28c0dd5189611024df78b71e86b1aa0dd8f1a910d9d0b33642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8e6afc440e93e28c0dd5189611024df78b71e86b1aa0dd8f1a910d9d0b33642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8e6afc440e93e28c0dd5189611024df78b71e86b1aa0dd8f1a910d9d0b33642", kill_on_drop: false }`
[INFO] [stdout] b8e6afc440e93e28c0dd5189611024df78b71e86b1aa0dd8f1a910d9d0b33642
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b76f431de58d98b796869e2ff712c4b6e785ff3c34340a1cc211edfe1471b68
[INFO] running `Command { std: "docker" "start" "-a" "8b76f431de58d98b796869e2ff712c4b6e785ff3c34340a1cc211edfe1471b68", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling ucd-util v0.1.10
[INFO] [stderr]    Compiling libloading v0.4.3
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling proc-macro2 v0.2.3
[INFO] [stderr]    Compiling bindgen v0.32.3
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling clang-sys v0.21.2
[INFO] [stderr]    Compiling quote v0.4.2
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v1.0.5
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling nom v3.2.1
[INFO] [stderr]    Compiling cexpr v0.2.3
[INFO] [stderr]    Compiling env_logger v0.4.3
[INFO] [stderr]     Checking backtrace v0.3.71
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]    Compiling libyubihsm v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/yubihsm.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/yubihsm.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/yubihsm.rs:25:32
[INFO] [stdout]    |
[INFO] [stdout] 25 | static LIBYUBIHSM_INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 25 | static LIBYUBIHSM_INIT: Once = Once::new();
[INFO] [stdout]    |                                ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/yubihsm.rs:25:32
[INFO] [stdout]    |
[INFO] [stdout] 25 | static LIBYUBIHSM_INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 25 | static LIBYUBIHSM_INIT: Once = Once::new();
[INFO] [stdout]    |                                ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:386
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...ry ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . number 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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:838
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...nd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . length as * const _ as usize } , 3usize ...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:1063
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . session_key as * const _ as usize } , 5usiz...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:1298
[INFO] [stdout]    |
[INFO] [stdout] 15 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . target_key as * const _ as usize } , 7usiz...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:1531
[INFO] [stdout]    |
[INFO] [stdout] 15 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . second_key as * const _ as usize } , 9usiz...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:1990
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . systick as * const _ as usize } , 12usize...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:26:694
[INFO] [stdout]    |
[INFO] [stdout] 26 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . id as * const _ as usize } , 8usiz...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:26:927
[INFO] [stdout]    |
[INFO] [stdout] 26 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . len as * const _ as usize } , 10usi...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:26:1163
[INFO] [stdout]    |
[INFO] [stdout] 26 | ...) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . domains as * const _ as usize } , 12u...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:26:1407
[INFO] [stdout]    |
[INFO] [stdout] 26 | ... ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . type_ as * const _ as usize } , 14us...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:26:1647
[INFO] [stdout]    |
[INFO] [stdout] 26 | ... ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . algorithm as * const _ as usize } , 18...
[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] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/types.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Clone, Copy, Debug, PartialEq, Fail)]
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ReturnCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0793`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libyubihsm` (lib test) due to 12 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8b76f431de58d98b796869e2ff712c4b6e785ff3c34340a1cc211edfe1471b68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b76f431de58d98b796869e2ff712c4b6e785ff3c34340a1cc211edfe1471b68", kill_on_drop: false }`
[INFO] [stdout] 8b76f431de58d98b796869e2ff712c4b6e785ff3c34340a1cc211edfe1471b68
[INFO] checking libyubihsm-0.2.1 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate libyubihsm 0.2.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate libyubihsm 0.2.1 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libyubihsm 0.2.1
[INFO] finished tweaking crates.io crate libyubihsm 0.2.1
[INFO] tweaked toml for crates.io crate libyubihsm 0.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 58 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding aho-corasick v0.6.10 (latest: v1.1.3)
[INFO] [stderr]       Adding bindgen v0.32.3 (latest: v0.69.4)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding cexpr v0.2.3 (latest: v0.6.0)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding clang-sys v0.21.2 (latest: v1.7.0)
[INFO] [stderr]       Adding clap v2.34.0 (latest: v4.5.4)
[INFO] [stderr]       Adding env_logger v0.4.3 (latest: v0.11.3)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding glob v0.2.11 (latest: v0.3.1)
[INFO] [stderr]       Adding hermit-abi v0.1.19 (latest: v0.3.9)
[INFO] [stderr]       Adding libloading v0.4.3 (latest: v0.8.3)
[INFO] [stderr]       Adding log v0.3.9 (latest: v0.4.21)
[INFO] [stderr]       Adding memchr v1.0.2 (latest: v2.7.2)
[INFO] [stderr]       Adding nom v3.2.1 (latest: v7.1.3)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding peeking_take_while v0.1.2 (latest: v1.0.0)
[INFO] [stderr]       Adding proc-macro2 v0.2.3 (latest: v1.0.81)
[INFO] [stderr]       Adding quote v0.4.2 (latest: v1.0.36)
[INFO] [stderr]       Adding regex v0.2.11 (latest: v1.10.4)
[INFO] [stderr]       Adding regex-syntax v0.5.6 (latest: v0.8.3)
[INFO] [stderr]       Adding strsim v0.8.0 (latest: v0.11.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding synstructure v0.12.6 (latest: v0.13.1)
[INFO] [stderr]       Adding textwrap v0.11.0 (latest: v0.16.1)
[INFO] [stderr]       Adding thread_local v0.3.6 (latest: v1.1.8)
[INFO] [stderr]       Adding ucd-util v0.1.10 (latest: v0.2.1)
[INFO] [stderr]       Adding unicode-xid v0.1.0 (latest: v0.2.4)
[INFO] [stderr]       Adding which v1.0.5 (latest: v6.0.1)
[INFO] [stderr]       Adding winapi v0.2.8 (latest: v0.3.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 80d8ee8c0f91cc6161f96529c0b548a7d90e44b013a2006b5c164517b027edb1
[INFO] running `Command { std: "docker" "start" "-a" "80d8ee8c0f91cc6161f96529c0b548a7d90e44b013a2006b5c164517b027edb1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80d8ee8c0f91cc6161f96529c0b548a7d90e44b013a2006b5c164517b027edb1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80d8ee8c0f91cc6161f96529c0b548a7d90e44b013a2006b5c164517b027edb1", kill_on_drop: false }`
[INFO] [stdout] 80d8ee8c0f91cc6161f96529c0b548a7d90e44b013a2006b5c164517b027edb1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86b27598bd2d8b9b66849527fccccc7fa2f351f1f03f887f793f70c58d488187
[INFO] running `Command { std: "docker" "start" "-a" "86b27598bd2d8b9b66849527fccccc7fa2f351f1f03f887f793f70c58d488187", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling ucd-util v0.1.10
[INFO] [stderr]    Compiling libloading v0.4.3
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling proc-macro2 v0.2.3
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling bindgen v0.32.3
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling clang-sys v0.21.2
[INFO] [stderr]    Compiling quote v0.4.2
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v1.0.5
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling nom v3.2.1
[INFO] [stderr]    Compiling cexpr v0.2.3
[INFO] [stderr]    Compiling env_logger v0.4.3
[INFO] [stderr]     Checking backtrace v0.3.71
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]    Compiling libyubihsm v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/yubihsm.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/yubihsm.rs:25:32
[INFO] [stdout]    |
[INFO] [stdout] 25 | static LIBYUBIHSM_INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 25 | static LIBYUBIHSM_INIT: Once = Once::new();
[INFO] [stdout]    |                                ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/yubihsm.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/yubihsm.rs:25:32
[INFO] [stdout]    |
[INFO] [stdout] 25 | static LIBYUBIHSM_INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 25 | static LIBYUBIHSM_INIT: Once = Once::new();
[INFO] [stdout]    |                                ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:386
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...ry ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . number 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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:838
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...nd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . length as * const _ as usize } , 3usize ...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:1063
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . session_key as * const _ as usize } , 5usiz...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:1298
[INFO] [stdout]    |
[INFO] [stdout] 15 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . target_key as * const _ as usize } , 7usiz...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:1531
[INFO] [stdout]    |
[INFO] [stdout] 15 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . second_key as * const _ as usize } , 9usiz...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:15:1990
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . systick as * const _ as usize } , 12usize...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:26:694
[INFO] [stdout]    |
[INFO] [stdout] 26 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . id as * const _ as usize } , 8usiz...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:26:927
[INFO] [stdout]    |
[INFO] [stdout] 26 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . len as * const _ as usize } , 10usi...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:26:1163
[INFO] [stdout]    |
[INFO] [stdout] 26 | ...) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . domains as * const _ as usize } , 12u...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:26:1407
[INFO] [stdout]    |
[INFO] [stdout] 26 | ... ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . type_ as * const _ as usize } , 14us...
[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/libyubihsm-dc5075d4dfd24dc3/out/bindings.rs:26:1647
[INFO] [stdout]    |
[INFO] [stdout] 26 | ... ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . algorithm as * const _ as usize } , 18...
[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] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/types.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Clone, Copy, Debug, PartialEq, Fail)]
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ReturnCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0793`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libyubihsm` (lib test) due to 12 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "86b27598bd2d8b9b66849527fccccc7fa2f351f1f03f887f793f70c58d488187", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86b27598bd2d8b9b66849527fccccc7fa2f351f1f03f887f793f70c58d488187", kill_on_drop: false }`
[INFO] [stdout] 86b27598bd2d8b9b66849527fccccc7fa2f351f1f03f887f793f70c58d488187
