[INFO] fetching crate snap7-sys 0.1.4... [INFO] checking snap7-sys-0.1.4 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate snap7-sys 0.1.4 into /workspace/builds/worker-100/source [INFO] validating manifest of crates.io crate snap7-sys 0.1.4 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snap7-sys 0.1.4 [INFO] finished tweaking crates.io crate snap7-sys 0.1.4 [INFO] tweaked toml for crates.io crate snap7-sys 0.1.4 written to /workspace/builds/worker-100/source/Cargo.toml [INFO] crate crates.io crate snap7-sys 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d917bba7aafa6becf38781336454ded1b30069e46f9484b97bc16aadec1e24cd [INFO] running `Command { std: "docker" "start" "-a" "d917bba7aafa6becf38781336454ded1b30069e46f9484b97bc16aadec1e24cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d917bba7aafa6becf38781336454ded1b30069e46f9484b97bc16aadec1e24cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d917bba7aafa6becf38781336454ded1b30069e46f9484b97bc16aadec1e24cd", kill_on_drop: false }` [INFO] [stdout] d917bba7aafa6becf38781336454ded1b30069e46f9484b97bc16aadec1e24cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e01b5fc560e67402fda99c799c599038c02962c21671f8a11fa1b347861f747 [INFO] running `Command { std: "docker" "start" "-a" "6e01b5fc560e67402fda99c799c599038c02962c21671f8a11fa1b347861f747", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling which v3.0.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling snap7-sys v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/snap7-sys-c288e67da52de0be/out/bindings.rs:3:857 [INFO] [stdout] | [INFO] [stdout] 3 | ...tem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . Area 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:1076 [INFO] [stdout] | [INFO] [stdout] 3 | ...ea ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . WordLen as * const _ as usize } , 4usize ... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:1301 [INFO] [stdout] | [INFO] [stdout] 3 | ...en ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . Result as * const _ as usize } , 8usize ,... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:1524 [INFO] [stdout] | [INFO] [stdout] 3 | ...t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . DBNumber 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:1752 [INFO] [stdout] | [INFO] [stdout] 3 | ...ber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . Start as * const _ as usize } , 16usize ... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:1974 [INFO] [stdout] | [INFO] [stdout] 3 | ...rt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . Amount as * const _ as usize } , 20usize ... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:2198 [INFO] [stdout] | [INFO] [stdout] 3 | ...unt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . pdata as * const _ as usize } , 24usize ... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:3208 [INFO] [stdout] | [INFO] [stdout] 3 | ...t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . OBCount as * const _ as usize } , 0usize... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:3437 [INFO] [stdout] | [INFO] [stdout] 3 | ...t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . FBCount as * const _ as usize } , 4usize... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:3666 [INFO] [stdout] | [INFO] [stdout] 3 | ...t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . FCCount as * const _ as usize } , 8usize... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:3895 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . SFBCount as * const _ as usize } , 12usiz... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:4127 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . SFCCount as * const _ as usize } , 16usiz... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:4359 [INFO] [stdout] | [INFO] [stdout] 3 | ...t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . DBCount as * const _ as usize } , 20usiz... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:4589 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . SDBCount as * const _ as usize } , 24usiz... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:5997 [INFO] [stdout] | [INFO] [stdout] 3 | ...o ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . BlkType as * const _ as usize } , 0usize ... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:6224 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . BlkNumber as * const _ as usize } , 4usize... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:6455 [INFO] [stdout] | [INFO] [stdout] 3 | ...r ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . BlkLang as * const _ as usize } , 8usize ... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:6682 [INFO] [stdout] | [INFO] [stdout] 3 | ...g ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . BlkFlags as * const _ as usize } , 12usiz... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:6912 [INFO] [stdout] | [INFO] [stdout] 3 | ...s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . MC7Size as * const _ as usize } , 16usize... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:7140 [INFO] [stdout] | [INFO] [stdout] 3 | ...e ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . LoadSize as * const _ as usize } , 20usiz... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:7370 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . LocalData as * const _ as usize } , 24usiz... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:7602 [INFO] [stdout] | [INFO] [stdout] 3 | ... ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . SBBLength as * const _ as usize } , 28usiz... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:7834 [INFO] [stdout] | [INFO] [stdout] 3 | ...h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . CheckSum as * const _ as usize } , 32usiz... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:8064 [INFO] [stdout] | [INFO] [stdout] 3 | ...m ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . Version as * const _ as usize } , 36usize... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:11941 [INFO] [stdout] | [INFO] [stdout] 3 | ...o ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpInfo > ( ) ) ) . MaxPduLengt as * const _ as usize } , 0usize... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:12170 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpInfo > ( ) ) ) . MaxConnections as * const _ as usize } , 4usiz... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:12405 [INFO] [stdout] | [INFO] [stdout] 3 | ...s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpInfo > ( ) ) ) . MaxMpiRate as * const _ as usize } , 8usize ... [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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:12632 [INFO] [stdout] | [INFO] [stdout] 3 | ...e ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpInfo > ( ) ) ) . MaxBusRate 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: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/snap7-sys-c288e67da52de0be/out/bindings.rs:3:859 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . Area 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:1078 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . WordLen as * const _ as usize } , 4usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:1303 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . Result 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:1526 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . DBNumber as * const _ as usize } , 12usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:1754 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . Start as * const _ as usize } , 16usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:1976 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . Amount as * const _ as usize } , 20usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:2200 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7DataItem > ( ) ) ) . pdata as * const _ as usize } , 24usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:3210 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . OBCount as * const _ as usize } , 0usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:3439 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . FBCount as * const _ as usize } , 4usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:3668 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . FCCount as * const _ as usize } , 8usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:3897 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . SFBCount as * const _ as usize } , 12usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:4129 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . SFCCount as * const _ as usize } , 16usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:4361 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . DBCount as * const _ as usize } , 20usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:4591 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlocksList > ( ) ) ) . SDBCount 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:5999 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . BlkType as * const _ as usize } , 0usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:6226 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . BlkNumber as * const _ as usize } , 4usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:6457 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . BlkLang as * const _ as usize } , 8usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:6684 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . BlkFlags as * const _ as usize } , 12usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:6914 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . MC7Size 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:7142 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . LoadSize as * const _ as usize } , 20usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:7372 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . LocalData 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:7604 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . SBBLength as * const _ as usize } , 28usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:7836 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . CheckSum as * const _ as usize } , 32usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:8066 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . Version as * const _ as usize } , 36usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:8294 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . CodeDate as * const _ as usize } , 40usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:8524 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . IntfDate as * const _ as usize } , 51usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:8754 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . Author as * const _ as usize } , 62usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:8980 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . Family as * const _ as usize } , 71usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:9206 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7BlockInfo > ( ) ) ) . Header as * const _ as usize } , 80usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:10191 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpuInfo > ( ) ) ) . ModuleTypeName as * const _ as usize } , 0usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:10428 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpuInfo > ( ) ) ) . SerialNumber as * const _ as usize } , 33usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:10662 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpuInfo > ( ) ) ) . ASName as * const _ as usize } , 58usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:10884 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpuInfo > ( ) ) ) . Copyright as * const _ as usize } , 83usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:11112 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpuInfo > ( ) ) ) . ModuleName as * const _ as usize } , 110usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:11943 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpInfo > ( ) ) ) . MaxPduLengt as * const _ as usize } , 0usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:12172 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpInfo > ( ) ) ) . MaxConnections as * const _ as usize } , 4usize , concat ! ( "O... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/simple.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/snap7-sys-c288e67da52de0be/out/bindings.rs:3:12407 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpInfo > ( ) ) ) . MaxMpiRate as * const _ as usize } , 8usize , 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/snap7-sys-c288e67da52de0be/out/bindings.rs:3:12634 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TS7CpInfo > ( ) ) ) . MaxBusRate as * const _ as usize } , 12usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CtlRecord` [INFO] [stdout] --> examples/simple.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct CtlRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> examples/simple.rs:34:79 [INFO] [stdout] | [INFO] [stdout] 34 | Cli_ConnectTo(self.handle, CString::new("192.168.0.150").unwrap().as_ptr(), 0, 2); [INFO] [stdout] | -------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.87s [INFO] running `Command { std: "docker" "inspect" "6e01b5fc560e67402fda99c799c599038c02962c21671f8a11fa1b347861f747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e01b5fc560e67402fda99c799c599038c02962c21671f8a11fa1b347861f747", kill_on_drop: false }` [INFO] [stdout] 6e01b5fc560e67402fda99c799c599038c02962c21671f8a11fa1b347861f747