[INFO] cloning repository https://github.com/Kenvyra/android_external_rust_crates_bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kenvyra/android_external_rust_crates_bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenvyra%2Fandroid_external_rust_crates_bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenvyra%2Fandroid_external_rust_crates_bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af994518966c918d36c46f8cc893028c395ac204 [INFO] checking Kenvyra/android_external_rust_crates_bindgen/af994518966c918d36c46f8cc893028c395ac204 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenvyra%2Fandroid_external_rust_crates_bindgen" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kenvyra/android_external_rust_crates_bindgen on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kenvyra/android_external_rust_crates_bindgen [INFO] finished tweaking git repo https://github.com/Kenvyra/android_external_rust_crates_bindgen [INFO] tweaked toml for git repo https://github.com/Kenvyra/android_external_rust_crates_bindgen written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Kenvyra/android_external_rust_crates_bindgen already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/bindgen-integration/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding syn v2.0.20 (available: v2.0.77) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded tempfile v3.4.0 [INFO] [stderr] Downloaded io-lifetimes v1.0.4 [INFO] [stderr] Downloaded yansi-term v0.1.2 [INFO] [stderr] Downloaded os_str_bytes v6.4.1 [INFO] [stderr] Downloaded clap_lex v0.3.1 [INFO] [stderr] Downloaded clap_derive v4.1.0 [INFO] [stderr] Downloaded annotate-snippets v0.9.1 [INFO] [stderr] Downloaded prettyplease v0.2.7 [INFO] [stderr] Downloaded similar v2.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] [stderr] Downloaded clang-sys v1.4.0 [INFO] [stderr] Downloaded clap v4.1.4 [INFO] [stderr] Downloaded quote v1.0.28 [INFO] [stderr] Downloaded is-terminal v0.4.7 [INFO] [stderr] Downloaded syn v2.0.20 [INFO] [stderr] Downloaded rustix v0.37.3 [INFO] [stderr] Downloaded rustix v0.36.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7900a055d98687f979ca1f1fb1efca6e4325122886fab60c0b946c16da0aeac1 [INFO] running `Command { std: "docker" "start" "-a" "7900a055d98687f979ca1f1fb1efca6e4325122886fab60c0b946c16da0aeac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7900a055d98687f979ca1f1fb1efca6e4325122886fab60c0b946c16da0aeac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7900a055d98687f979ca1f1fb1efca6e4325122886fab60c0b946c16da0aeac1", kill_on_drop: false }` [INFO] [stdout] 7900a055d98687f979ca1f1fb1efca6e4325122886fab60c0b946c16da0aeac1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1edbf360dd94b2748c6ef47a39230f3ea28d2c99602511c09e69d642956829ac [INFO] running `Command { std: "docker" "start" "-a" "1edbf360dd94b2748c6ef47a39230f3ea28d2c99602511c09e69d642956829ac", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/bindgen-integration/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling tests_expectations v0.0.0 (/opt/rustwide/workdir/bindgen-tests/tests/expectations) [INFO] [stderr] Checking block v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.7 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustix v0.37.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling bindgen v0.69.1 (/opt/rustwide/workdir/bindgen) [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling rustix v0.36.16 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking clap_lex v0.3.1 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking yansi-term v0.1.2 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking annotate-snippets v0.9.1 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking shlex v1.1.0 [INFO] [stderr] Checking syn v2.0.20 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bindgen-tests v0.1.0 (/opt/rustwide/workdir/bindgen-tests) [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking malloc_buf v0.0.6 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking objc v0.2.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking which v4.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:280:43 [INFO] [stdout] | [INFO] [stdout] 280 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:399:43 [INFO] [stdout] | [INFO] [stdout] 399 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:532:43 [INFO] [stdout] | [INFO] [stdout] 532 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-5/mangling-win32.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / extern "fastcall" { [INFO] [stdout] 28 | | pub fn fast_call_func_no_args() -> ::std::os::raw::c_int; [INFO] [stdout] 29 | | } [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 #87678 [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-5/mangling-win32.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / extern "fastcall" { [INFO] [stdout] 31 | | pub fn fast_call_func_many_args( [INFO] [stdout] 32 | | arg1: ::std::os::raw::c_int, [INFO] [stdout] 33 | | arg2: ::std::os::raw::c_int, [INFO] [stdout] 34 | | arg3: ::std::os::raw::c_int, [INFO] [stdout] 35 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 36 | | } [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-5/mangling-win32.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / extern "stdcall" { [INFO] [stdout] 38 | | pub fn std_call_func_no_args() -> ::std::os::raw::c_int; [INFO] [stdout] 39 | | } [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-5/mangling-win32.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / extern "stdcall" { [INFO] [stdout] 41 | | pub fn std_call_func_many_args( [INFO] [stdout] 42 | | arg1: ::std::os::raw::c_int, [INFO] [stdout] 43 | | arg2: ::std::os::raw::c_int, [INFO] [stdout] 44 | | arg3: ::std::os::raw::c_int, [INFO] [stdout] 45 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 46 | | } [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/mangling-win32.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / extern "fastcall" { [INFO] [stdout] 28 | | pub fn fast_call_func_no_args() -> ::std::os::raw::c_int; [INFO] [stdout] 29 | | } [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/mangling-win32.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / extern "fastcall" { [INFO] [stdout] 31 | | pub fn fast_call_func_many_args( [INFO] [stdout] 32 | | arg1: ::std::os::raw::c_int, [INFO] [stdout] 33 | | arg2: ::std::os::raw::c_int, [INFO] [stdout] 34 | | arg3: ::std::os::raw::c_int, [INFO] [stdout] 35 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 36 | | } [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/mangling-win32.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / extern "stdcall" { [INFO] [stdout] 38 | | pub fn std_call_func_no_args() -> ::std::os::raw::c_int; [INFO] [stdout] 39 | | } [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/mangling-win32.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / extern "stdcall" { [INFO] [stdout] 41 | | pub fn std_call_func_many_args( [INFO] [stdout] 42 | | arg1: ::std::os::raw::c_int, [INFO] [stdout] 43 | | arg2: ::std::os::raw::c_int, [INFO] [stdout] 44 | | arg3: ::std::os::raw::c_int, [INFO] [stdout] 45 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 46 | | } [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:248:43 [INFO] [stdout] | [INFO] [stdout] 248 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:299:43 [INFO] [stdout] | [INFO] [stdout] 299 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:374:43 [INFO] [stdout] | [INFO] [stdout] 374 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `C` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub a: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `C_with_zero_length_array` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub a: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `C_with_incomplete_array` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:248:31 [INFO] [stdout] | [INFO] [stdout] 248 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | pub a: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `C_with_zero_length_array_and_incomplete_array` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:299:31 [INFO] [stdout] | [INFO] [stdout] 299 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | pub a: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `IncompleteArrayNonCopiable` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:374:31 [INFO] [stdout] | [INFO] [stdout] 374 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: raw pointers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | pub whatever: *mut ::std::os::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `_opt_rustwide_workdir_bindgen_tests_tests_expectations_tests_libclang_9_class_1_0_rs::C` does not permit being left uninitialized [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub a: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `_opt_rustwide_workdir_bindgen_tests_tests_expectations_tests_libclang_9_class_1_0_rs::C_with_zero_length_array` does not permit being left uninitialized [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub a: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `_opt_rustwide_workdir_bindgen_tests_tests_expectations_tests_libclang_9_class_1_0_rs::C_with_incomplete_array` does not permit being left uninitialized [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:280:31 [INFO] [stdout] | [INFO] [stdout] 280 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | pub a: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `_opt_rustwide_workdir_bindgen_tests_tests_expectations_tests_libclang_9_class_1_0_rs::C_with_zero_length_array_and_incomplete_array` does not permit being left uninitialized [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:399:31 [INFO] [stdout] | [INFO] [stdout] 399 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | pub a: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `_opt_rustwide_workdir_bindgen_tests_tests_expectations_tests_libclang_9_class_1_0_rs::IncompleteArrayNonCopiable` does not permit being left uninitialized [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:532:31 [INFO] [stdout] | [INFO] [stdout] 532 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: raw pointers must be initialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:491:5 [INFO] [stdout] | [INFO] [stdout] 491 | pub whatever: *mut ::std::os::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Cch` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_multiple_header_calls_in_builder.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub Cch: Char, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Cu` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_multiple_header_calls_in_builder.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub Cu: UChar, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Cd` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_multiple_header_calls_in_builder.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub Cd: SChar, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Ccch` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_multiple_header_calls_in_builder.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub Ccch: Char, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `ccch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Ccu` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_multiple_header_calls_in_builder.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub Ccu: UChar, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ccu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Ccd` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_multiple_header_calls_in_builder.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub Ccd: SChar, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ccd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout_Test` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_multiple_header_calls_in_builder.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn bindgen_test_layout_Test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union_with_big_member_1_0.rs:85:43 [INFO] [stdout] | [INFO] [stdout] 85 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union_with_big_member_1_0.rs:168:43 [INFO] [stdout] | [INFO] [stdout] 168 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.4.0 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/16-byte-alignment_1_0.rs:344:43 [INFO] [stdout] | [INFO] [stdout] 344 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `WithBigArray` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union_with_big_member_1_0.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union_with_big_member_1_0.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub bindgen_union_field: [u32; 33usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `WithBigMember` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union_with_big_member_1_0.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union_with_big_member_1_0.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub bindgen_union_field: [u32; 33usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_thash_tuple` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/16-byte-alignment_1_0.rs:344:31 [INFO] [stdout] | [INFO] [stdout] 344 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/16-byte-alignment_1_0.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub bindgen_union_field: [u8; 48usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `AnnotatedStruct`, which is not FFI-safe [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/func_return_must_use.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn return_annotated_struct() -> AnnotatedStruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/func_return_must_use.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct AnnotatedStruct {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `PlainStruct`, which is not FFI-safe [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/func_return_must_use.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn return_plain_struct() -> PlainStruct; [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/func_return_must_use.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct PlainStruct {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `PlainStruct`, which is not FFI-safe [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/func_return_must_use.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn return_typedef_struct() -> TypedefPlainStruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/func_return_must_use.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct PlainStruct {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_mbuf_1_0.rs:1138:43 [INFO] [stdout] | [INFO] [stdout] 1138 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_mbuf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_mbuf_1_0.rs:1138:31 [INFO] [stdout] | [INFO] [stdout] 1138 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: raw pointers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_mbuf_1_0.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub buf_addr: *mut ::std::os::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/wrap_unsafe_ops_anon_union_1_0.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/wrap_unsafe_ops_anon_union_1_0.rs:95:43 [INFO] [stdout] | [INFO] [stdout] 95 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `TErrorResult` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/wrap_unsafe_ops_anon_union_1_0.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/wrap_unsafe_ops_anon_union_1_0.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub mResult: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ErrorResult` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/wrap_unsafe_ops_anon_union_1_0.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/wrap_unsafe_ops_anon_union_1_0.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub _base: TErrorResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/wrap_unsafe_ops_anon_union_1_0.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub mResult: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-493_1_0.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-493_1_0.rs:91:43 [INFO] [stdout] | [INFO] [stdout] 91 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-493_1_0.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `basic_string___long` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-493_1_0.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-493_1_0.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub __cap_: basic_string_size_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `basic_string___short` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-493_1_0.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-493_1_0.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub __bindgen_anon_1: basic_string___short__bindgen_ty_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-493_1_0.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub bindgen_union_field: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `basic_string___raw` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-493_1_0.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: raw pointers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-493_1_0.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub __words: *mut basic_string_size_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/abi-override.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "fastcall" { [INFO] [stdout] 3 | | pub fn foo(); [INFO] [stdout] 4 | | } [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 #87678 [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/abi-override.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / extern "stdcall" { [INFO] [stdout] 6 | | pub fn bar(); [INFO] [stdout] 7 | | } [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/repr-align.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/typeref_1_0.rs:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Bar` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/typeref_1_0.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: raw pointers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/typeref_1_0.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub mFoo: *mut nsFoo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/win32-thiscall_nightly.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Cch` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_mixed_header_and_header_contents.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub Cch: Char, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Cu` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_mixed_header_and_header_contents.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub Cu: UChar, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Cd` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_mixed_header_and_header_contents.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Cd: SChar, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Ccch` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_mixed_header_and_header_contents.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub Ccch: Char, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `ccch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Ccu` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_mixed_header_and_header_contents.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub Ccu: UChar, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ccu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Ccd` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_mixed_header_and_header_contents.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub Ccd: SChar, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ccd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout_Test` should have a snake case name [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/test_mixed_header_and_header_contents.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn bindgen_test_layout_Test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> bindgen/ir/analysis/mod.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 309 | impl<'a> MonotoneFramework for ReachableFrom<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 314 | fn new(graph: &'a Graph) -> ReachableFrom { [INFO] [stdout] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/use-core_1_0.rs:91:44 [INFO] [stdout] | [INFO] [stdout] 91 | let mut s: Self = ::core::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `foo` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/use-core_1_0.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | let mut s: Self = ::core::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/use-core_1_0.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub a: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `header` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub _bindgen_opaque_blob: [u8; 16usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/packed-vtable.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-clone_1_0.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ShouldImplClone` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-clone_1_0.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-clone_1_0.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub large: [::std::os::raw::c_int; 33usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/constructors_1_33.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | let mut __bindgen_tmp = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/constructors_1_33.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | let mut __bindgen_tmp = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/constructors_1_33.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | let mut __bindgen_tmp = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `TestOverload` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/constructors_1_33.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let mut __bindgen_tmp = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/constructors_1_33.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub _address: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `TestOverload` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/constructors_1_33.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | let mut __bindgen_tmp = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/constructors_1_33.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub _address: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `TestPublicNoArgs` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/constructors_1_33.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | let mut __bindgen_tmp = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/constructors_1_33.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub _address: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:249:43 [INFO] [stdout] | [INFO] [stdout] 249 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:529:43 [INFO] [stdout] | [INFO] [stdout] 529 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:690:43 [INFO] [stdout] | [INFO] [stdout] 690 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:877:43 [INFO] [stdout] | [INFO] [stdout] 877 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:934:43 [INFO] [stdout] | [INFO] [stdout] 934 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:991:43 [INFO] [stdout] | [INFO] [stdout] 991 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1048:43 [INFO] [stdout] | [INFO] [stdout] 1048 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1093:43 [INFO] [stdout] | [INFO] [stdout] 1093 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1260:43 [INFO] [stdout] | [INFO] [stdout] 1260 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1658:43 [INFO] [stdout] | [INFO] [stdout] 1658 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1787:43 [INFO] [stdout] | [INFO] [stdout] 1787 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1879:43 [INFO] [stdout] | [INFO] [stdout] 1879 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:2032:43 [INFO] [stdout] | [INFO] [stdout] 2032 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:2201:43 [INFO] [stdout] | [INFO] [stdout] 2201 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_rxmode` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:249:31 [INFO] [stdout] | [INFO] [stdout] 249 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub mq_mode: rte_eth_rx_mq_mode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | pub enum rte_eth_rx_mq_mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_txmode` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:529:31 [INFO] [stdout] | [INFO] [stdout] 529 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | pub mq_mode: rte_eth_tx_mq_mode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:470:1 [INFO] [stdout] | [INFO] [stdout] 470 | pub enum rte_eth_tx_mq_mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_rss_conf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:690:31 [INFO] [stdout] | [INFO] [stdout] 690 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: raw pointers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:631:5 [INFO] [stdout] | [INFO] [stdout] 631 | pub rss_key: *mut u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_vmdq_dcb_conf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:877:31 [INFO] [stdout] | [INFO] [stdout] 877 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:733:5 [INFO] [stdout] | [INFO] [stdout] 733 | pub nb_queue_pools: rte_eth_nb_pools, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:710:1 [INFO] [stdout] | [INFO] [stdout] 710 | pub enum rte_eth_nb_pools { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_dcb_rx_conf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:934:31 [INFO] [stdout] | [INFO] [stdout] 934 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:887:5 [INFO] [stdout] | [INFO] [stdout] 887 | pub nb_tcs: rte_eth_nb_tcs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 700 | pub enum rte_eth_nb_tcs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_vmdq_dcb_tx_conf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:991:31 [INFO] [stdout] | [INFO] [stdout] 991 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:944:5 [INFO] [stdout] | [INFO] [stdout] 944 | pub nb_queue_pools: rte_eth_nb_pools, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:710:1 [INFO] [stdout] | [INFO] [stdout] 710 | pub enum rte_eth_nb_pools { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_dcb_tx_conf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1048:31 [INFO] [stdout] | [INFO] [stdout] 1048 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1001:5 [INFO] [stdout] | [INFO] [stdout] 1001 | pub nb_tcs: rte_eth_nb_tcs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 700 | pub enum rte_eth_nb_tcs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_vmdq_tx_conf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1093:31 [INFO] [stdout] | [INFO] [stdout] 1093 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1058:5 [INFO] [stdout] | [INFO] [stdout] 1058 | pub nb_queue_pools: rte_eth_nb_pools, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:710:1 [INFO] [stdout] | [INFO] [stdout] 710 | pub enum rte_eth_nb_pools { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_vmdq_rx_conf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1260:31 [INFO] [stdout] | [INFO] [stdout] 1260 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1103:5 [INFO] [stdout] | [INFO] [stdout] 1103 | pub nb_queue_pools: rte_eth_nb_pools, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:710:1 [INFO] [stdout] | [INFO] [stdout] 710 | pub enum rte_eth_nb_pools { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_flex_payload_cfg` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1658:31 [INFO] [stdout] | [INFO] [stdout] 1658 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1612:5 [INFO] [stdout] | [INFO] [stdout] 1612 | pub type_: rte_eth_payload_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1598:1 [INFO] [stdout] | [INFO] [stdout] 1598 | pub enum rte_eth_payload_type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_fdir_flex_conf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1787:31 [INFO] [stdout] | [INFO] [stdout] 1787 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1718:5 [INFO] [stdout] | [INFO] [stdout] 1718 | pub nb_payloads: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_fdir_conf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1879:31 [INFO] [stdout] | [INFO] [stdout] 1879 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1801:5 [INFO] [stdout] | [INFO] [stdout] 1801 | pub mode: rte_fdir_mode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1269:1 [INFO] [stdout] | [INFO] [stdout] 1269 | pub enum rte_fdir_mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_conf__bindgen_ty_1` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:2032:31 [INFO] [stdout] | [INFO] [stdout] 2032 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1964:5 [INFO] [stdout] | [INFO] [stdout] 1964 | pub rss_conf: rte_eth_rss_conf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: raw pointers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:631:5 [INFO] [stdout] | [INFO] [stdout] 631 | pub rss_key: *mut u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rte_eth_conf` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:2201:31 [INFO] [stdout] | [INFO] [stdout] 2201 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs:1937:5 [INFO] [stdout] | [INFO] [stdout] 1937 | pub link_speeds: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/win32-vectorcall-nightly.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-537-repr-packed-n.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::file::File: ParseQuote` is not satisfied [INFO] [stdout] --> bindgen/lib.rs:996:50 [INFO] [stdout] | [INFO] [stdout] 996 | return Ok(prettyplease::unparse(&syn::parse_quote!(#tokens))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Parse` is not implemented for `syn::file::File`, which is required by `syn::file::File: ParseQuote` [INFO] [stdout] | [INFO] [stdout] help: there are multiple different versions of crate `syn` in the dependency graph [INFO] [stdout] --> bindgen/lib.rs:996:27 [INFO] [stdout] | [INFO] [stdout] 996 | return Ok(prettyplease::unparse(&syn::parse_quote!(#tokens))); [INFO] [stdout] | ^^^^^^^^^^^^ one version of crate `syn` is used here, as a dependency of crate `prettyplease` [INFO] [stdout] | [INFO] [stdout] ::: bindgen/codegen/postprocessing/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse2, File}; [INFO] [stdout] | ^^^ one version of crate `syn` is used here, as a direct dependency of the current crate [INFO] [stdout] note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/file.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/parse.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | pub trait Parse: Sized { [INFO] [stdout] | ---------------------- this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.20/src/file.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / ast_struct! { [INFO] [stdout] 4 | | /// A complete file of Rust source code. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// Typically `File` objects are created with [`parse_file`]. [INFO] [stdout] ... | [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ this type doesn't implement the required trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `syn::file::File` to implement `ParseQuote` [INFO] [stdout] note: required by a bound in `syn::parse_quote::parse` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/parse_quote.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn parse(token_stream: TokenStream) -> T { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `parse` [INFO] [stdout] = note: this error originates in the macro `syn::parse_quote` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::file::File: ParseQuote` is not satisfied [INFO] [stdout] --> bindgen/lib.rs:996:50 [INFO] [stdout] | [INFO] [stdout] 996 | return Ok(prettyplease::unparse(&syn::parse_quote!(#tokens))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Parse` is not implemented for `syn::file::File`, which is required by `syn::file::File: ParseQuote` [INFO] [stdout] | [INFO] [stdout] help: there are multiple different versions of crate `syn` in the dependency graph [INFO] [stdout] --> bindgen/lib.rs:996:27 [INFO] [stdout] | [INFO] [stdout] 996 | return Ok(prettyplease::unparse(&syn::parse_quote!(#tokens))); [INFO] [stdout] | ^^^^^^^^^^^^ one version of crate `syn` is used here, as a dependency of crate `prettyplease` [INFO] [stdout] | [INFO] [stdout] ::: bindgen/codegen/postprocessing/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse2, File}; [INFO] [stdout] | ^^^ one version of crate `syn` is used here, as a direct dependency of the current crate [INFO] [stdout] note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/file.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/parse.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | pub trait Parse: Sized { [INFO] [stdout] | ---------------------- this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.20/src/file.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / ast_struct! { [INFO] [stdout] 4 | | /// A complete file of Rust source code. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// Typically `File` objects are created with [`parse_file`]. [INFO] [stdout] ... | [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ this type doesn't implement the required trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `syn::file::File` to implement `ParseQuote` [INFO] [stdout] note: required by a bound in `syn::parse_quote::parse` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/parse_quote.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn parse(token_stream: TokenStream) -> T { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `parse` [INFO] [stdout] = note: this error originates in the macro `syn::parse_quote` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union-align.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union-align.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 66 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_with_inner_struct_1_0.rs:376:43 [INFO] [stdout] | [INFO] [stdout] 376 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `C__bindgen_ty_1__bindgen_ty_2` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_with_inner_struct_1_0.rs:376:31 [INFO] [stdout] | [INFO] [stdout] 376 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `C__bindgen_ty_1__bindgen_ty_2` must be initialized inside its custom valid range [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_with_inner_struct_1_0.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | pub mStepSyntax: StepSyntax, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_with_inner_struct_1_0.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | pub enum StepSyntax { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::file::File: ParseQuote` is not satisfied [INFO] [stdout] --> bindgen/lib.rs:996:50 [INFO] [stdout] | [INFO] [stdout] 996 | return Ok(prettyplease::unparse(&syn::parse_quote!(#tokens))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Parse` is not implemented for `syn::file::File`, which is required by `syn::file::File: ParseQuote` [INFO] [stdout] | [INFO] [stdout] help: there are multiple different versions of crate `syn` in the dependency graph [INFO] [stdout] --> bindgen/lib.rs:996:27 [INFO] [stdout] | [INFO] [stdout] 996 | return Ok(prettyplease::unparse(&syn::parse_quote!(#tokens))); [INFO] [stdout] | ^^^^^^^^^^^^ one version of crate `syn` is used here, as a dependency of crate `prettyplease` [INFO] [stdout] | [INFO] [stdout] ::: bindgen/codegen/postprocessing/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse2, File}; [INFO] [stdout] | ^^^ one version of crate `syn` is used here, as a direct dependency of the current crate [INFO] [stdout] note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/file.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/parse.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | pub trait Parse: Sized { [INFO] [stdout] | ---------------------- this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.20/src/file.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / ast_struct! { [INFO] [stdout] 4 | | /// A complete file of Rust source code. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// Typically `File` objects are created with [`parse_file`]. [INFO] [stdout] ... | [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ this type doesn't implement the required trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `syn::file::File` to implement `ParseQuote` [INFO] [stdout] note: required by a bound in `syn::parse_quote::parse` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/parse_quote.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn parse(token_stream: TokenStream) -> T { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `parse` [INFO] [stdout] = note: this error originates in the macro `syn::parse_quote` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/anon_union_1_0.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/anon_union_1_0.rs:111:43 [INFO] [stdout] | [INFO] [stdout] 111 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `TErrorResult` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/anon_union_1_0.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/anon_union_1_0.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub mResult: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ErrorResult` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/anon_union_1_0.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/anon_union_1_0.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub _base: TErrorResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/anon_union_1_0.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub mResult: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union_bitfield_1_0.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/jsval_layout_opaque_1_0.rs:255:43 [INFO] [stdout] | [INFO] [stdout] 255 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `HasBigBitfield` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union_bitfield_1_0.rs:283:31 [INFO] [stdout] | [INFO] [stdout] 283 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union_bitfield_1_0.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | pub bindgen_union_field: [u8; 16usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `jsval_layout__bindgen_ty_1` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/jsval_layout_opaque_1_0.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/jsval_layout_opaque_1_0.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/jsval_layout_opaque_1_0.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | storage: Storage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:134:43 [INFO] [stdout] | [INFO] [stdout] 134 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:163:43 [INFO] [stdout] | [INFO] [stdout] 163 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:211:43 [INFO] [stdout] | [INFO] [stdout] 211 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `StyleFoo_Foo_Body` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub tag: StyleFoo_Tag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `StyleFoo_Bar_Body` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub tag: StyleFoo_Tag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `StyleFoo_Baz_Body` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub tag: StyleFoo_Tag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `StyleFoo__bindgen_ty_1` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 134 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub tag: StyleFoo_Tag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `StyleBar_StyleBar1_Body` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub x: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `StyleBar` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub tag: StyleBar_Tag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/issue-1554.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-union_1_0.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ShouldDerivePartialEq` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-union_1_0.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-union_1_0.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub bindgen_union_field: [u32; 38usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v4.1.0 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/forward_declared_complex_types_1_0.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Bar` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/forward_declared_complex_types_1_0.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: raw pointers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/forward_declared_complex_types_1_0.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub f: *mut Foo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[i64; 2]`, which is not FFI-safe [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/vector.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn foo(arg1: __m128i, arg2: __m128d) -> __m128; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[f64; 2]`, which is not FFI-safe [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/vector.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn foo(arg1: __m128i, arg2: __m128d) -> __m128; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[f32; 4]`, which is not FFI-safe [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/vector.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn foo(arg1: __m128i, arg2: __m128d) -> __m128; [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1edbf360dd94b2748c6ef47a39230f3ea28d2c99602511c09e69d642956829ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1edbf360dd94b2748c6ef47a39230f3ea28d2c99602511c09e69d642956829ac", kill_on_drop: false }` [INFO] [stdout] 1edbf360dd94b2748c6ef47a39230f3ea28d2c99602511c09e69d642956829ac