[INFO] fetching crate libyubihsm 0.2.1... [INFO] testing libyubihsm-0.2.1 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate libyubihsm 0.2.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate libyubihsm 0.2.1 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang-sys v0.21.2 [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [INFO] [stderr] Downloaded quote v0.4.2 [INFO] [stderr] Downloaded bindgen v0.32.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ca208d9dc2cd0bf6ff09218042dcf6a81a875e61fab265b236edace87dd138b [INFO] running `Command { std: "docker" "start" "-a" "1ca208d9dc2cd0bf6ff09218042dcf6a81a875e61fab265b236edace87dd138b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ca208d9dc2cd0bf6ff09218042dcf6a81a875e61fab265b236edace87dd138b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca208d9dc2cd0bf6ff09218042dcf6a81a875e61fab265b236edace87dd138b", kill_on_drop: false }` [INFO] [stdout] 1ca208d9dc2cd0bf6ff09218042dcf6a81a875e61fab265b236edace87dd138b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2554e076135eb99c499f5c0805caddbd941ed2725603aa13403f250fa0df7744 [INFO] running `Command { std: "docker" "start" "-a" "2554e076135eb99c499f5c0805caddbd941ed2725603aa13403f250fa0df7744", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling bindgen v0.32.3 [INFO] [stderr] Compiling clang-sys v0.21.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.5.6 [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 backtrace v0.3.61 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling libyubihsm v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/session.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | #[allow(too_many_arguments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/session.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | #[allow(too_many_arguments)] [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.30s [INFO] running `Command { std: "docker" "inspect" "2554e076135eb99c499f5c0805caddbd941ed2725603aa13403f250fa0df7744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2554e076135eb99c499f5c0805caddbd941ed2725603aa13403f250fa0df7744", kill_on_drop: false }` [INFO] [stdout] 2554e076135eb99c499f5c0805caddbd941ed2725603aa13403f250fa0df7744 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1f77aa03c82a0d0aabb7fd682a4864d8466e85b8fe6512fef557bd5caf6e85e [INFO] running `Command { std: "docker" "start" "-a" "e1f77aa03c82a0d0aabb7fd682a4864d8466e85b8fe6512fef557bd5caf6e85e", kill_on_drop: false }` [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/session.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | #[allow(too_many_arguments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/session.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | #[allow(too_many_arguments)] [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libyubihsm v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/session.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | #[allow(too_many_arguments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/session.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | #[allow(too_many_arguments)] [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:4717 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags as * const _ as usize } , 0usize , concat ! ( "Offset of ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:4934 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_ptr as * const _ as usize } , 8usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:5163 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_end as * const _ as usize } , 16usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:5393 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_base as * const _ as usize } , 24usize , concat ! ( "Of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:5625 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_base as * const _ as usize } , 32usize , concat ! ( "O... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:5859 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_ptr as * const _ as usize } , 40usize , concat ! ( "Of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:6091 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_end as * const _ as usize } , 48usize , concat ! ( "Of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:6323 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_base as * const _ as usize } , 56usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:6553 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_end as * const _ as usize } , 64usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:6781 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_base as * const _ as usize } , 72usize , concat ! ( "Of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:7013 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_backup_base as * const _ as usize } , 80usize , concat ! ( "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:7249 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_end as * const _ as usize } , 88usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:7479 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _markers as * const _ as usize } , 96usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:7701 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _chain as * const _ as usize } , 104usize , concat ! ( "Offset o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:7920 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _fileno as * const _ as usize } , 112usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:8141 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags2 as * const _ as usize } , 116usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:8362 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _old_offset as * const _ as usize } , 120usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:8591 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _cur_column as * const _ as usize } , 128usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:8820 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _vtable_offset as * const _ as usize } , 130usize , concat ! ( "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:9055 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _shortbuf as * const _ as usize } , 131usize , concat ! ( "Offse... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:9280 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _lock as * const _ as usize } , 136usize , concat ! ( "Offset of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:9497 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _offset as * const _ as usize } , 144usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:9718 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _codecvt as * const _ as usize } , 152usize , concat ! ( "Offset... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:9941 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _wide_data as * const _ as usize } , 160usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:10168 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _freeres_list as * const _ as usize } , 168usize , concat ! ( "O... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:10401 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _freeres_buf as * const _ as usize } , 176usize , concat ! ( "Of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:10632 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad5 as * const _ as usize } , 184usize , concat ! ( "Offset o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:10851 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _mode as * const _ as usize } , 192usize , concat ! ( "Offset of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:3:11068 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _unused2 as * const _ as usize } , 196usize , concat ! ( "Offset... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:5:407 [INFO] [stdout] | [INFO] [stdout] 5 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < yh_capabilities > ( ) ) ) . capabilities as * const _ as usize } , 0usize , concat ! ( "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:15:388 [INFO] [stdout] | [INFO] [stdout] 15 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . number as * const _ as usize } , 0usize , concat ! ( "Offset o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:15:613 [INFO] [stdout] | [INFO] [stdout] 15 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . command as * const _ as usize } , 2usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:15:840 [INFO] [stdout] | [INFO] [stdout] 15 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . length as * const _ as usize } , 3usize , concat ! ( "Offset o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:15:1065 [INFO] [stdout] | [INFO] [stdout] 15 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . session_key as * const _ as usize } , 5usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:15:1300 [INFO] [stdout] | [INFO] [stdout] 15 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . target_key as * const _ as usize } , 7usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:15:1533 [INFO] [stdout] | [INFO] [stdout] 15 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . second_key as * const _ as usize } , 9usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:15:1766 [INFO] [stdout] | [INFO] [stdout] 15 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . result as * const _ as usize } , 11usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:15:1992 [INFO] [stdout] | [INFO] [stdout] 15 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . systick as * const _ as usize } , 12usize , concat ! ( "Offset... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:15:2220 [INFO] [stdout] | [INFO] [stdout] 15 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < yh_log_entry > ( ) ) ) . digest as * const _ as usize } , 16usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:26:443 [INFO] [stdout] | [INFO] [stdout] 26 | ...nsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . capabilities as * const _ as usize } , 0usize , concat ! (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:26:696 [INFO] [stdout] | [INFO] [stdout] 26 | ...nsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . id as * const _ as usize } , 8usize , concat ! ( "Offset o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:26:929 [INFO] [stdout] | [INFO] [stdout] 26 | ...nsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . len as * const _ as usize } , 10usize , concat ! ( "Offset... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:26:1165 [INFO] [stdout] | [INFO] [stdout] 26 | ...nsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . domains as * const _ as usize } , 12usize , concat ! ( "Of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:26:1409 [INFO] [stdout] | [INFO] [stdout] 26 | ...nsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . type_ as * const _ as usize } , 14usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:26:1649 [INFO] [stdout] | [INFO] [stdout] 26 | ...nsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . algorithm as * const _ as usize } , 18usize , concat ! ( "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:26:1897 [INFO] [stdout] | [INFO] [stdout] 26 | ...nsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . sequence as * const _ as usize } , 22usize , concat ! ( "O... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:26:2143 [INFO] [stdout] | [INFO] [stdout] 26 | ...nsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . origin as * const _ as usize } , 23usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:26:2385 [INFO] [stdout] | [INFO] [stdout] 26 | ...nsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . label as * const _ as usize } , 24usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/libyubihsm-7df6ed3846492854/out/bindings.rs:26:2625 [INFO] [stdout] | [INFO] [stdout] 26 | ...nsafe { & ( * ( :: std :: ptr :: null :: < yh_object_descriptor > ( ) ) ) . delegated_capabilities as * const _ as usize } , 65usize ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.libyubihsm.d3e5e9b0-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83.25rf1j8545n4e5j4.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lyubihsm" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-af71f5d5e2187f62.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-976ae3a75486bc7b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-638f891af6f9e3c4.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-52ee1e0bb1279132.rlib" "/opt/rustwide/target/debug/deps/libfailure-a52e5743c2fd6108.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-49ca6ced3f2e2bfc.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-b6fb8bc1faea50b0.rlib" "/opt/rustwide/target/debug/deps/libadler-92f8db84032ff960.rlib" "/opt/rustwide/target/debug/deps/libobject-057c1c36e7150415.rlib" "/opt/rustwide/target/debug/deps/libmemchr-2303f526a35aae07.rlib" "/opt/rustwide/target/debug/deps/liblibc-a303e2c94f89904e.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-8285dc95f576fb7d.rlib" "/opt/rustwide/target/debug/deps/libgimli-d6d142eadf5bf9bf.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-ebf1bae139d6c8cf.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9a950938f3668a37.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3b1b529ec96b3df7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-ac333df4e6839cea.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-22a9ff9d2be6d427.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5decbb94c7d60860.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-29a9663b62a1cd00.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6f0cee0dbab2d3f8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-f5dc7d1d28c5c249.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d19bda9ef557e755.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-82a955fd13db2399.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-44f3e7c1b7cc17ef.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-3ee6f750c5f3c2cf.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ae5e1795dcba83e8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8d545d8592f2b534.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-c4c222675f83fd37.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c1e9c53e75e301ed.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-beea7d9617fe25c5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8ef7dd43fc671f88.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-80a2b295510dd038.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libyubihsm-fff202a4777dcc83" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lyubihsm [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libyubihsm` due to 2 previous errors; 64 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e1f77aa03c82a0d0aabb7fd682a4864d8466e85b8fe6512fef557bd5caf6e85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f77aa03c82a0d0aabb7fd682a4864d8466e85b8fe6512fef557bd5caf6e85e", kill_on_drop: false }` [INFO] [stdout] e1f77aa03c82a0d0aabb7fd682a4864d8466e85b8fe6512fef557bd5caf6e85e