[INFO] cloning repository https://github.com/erg/rust-bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erg/rust-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg%2Frust-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg%2Frust-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddbf0be48e966c57e4e9079b666da9a7b5660d2d [INFO] checking erg/rust-bindgen against master#6f40082313d8374bdf962aba943a712d5322fae6 for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg%2Frust-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/erg/rust-bindgen on toolchain 6f40082313d8374bdf962aba943a712d5322fae6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erg/rust-bindgen [INFO] finished tweaking git repo https://github.com/erg/rust-bindgen [INFO] tweaked toml for git repo https://github.com/erg/rust-bindgen written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/erg/rust-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" "+6f40082313d8374bdf962aba943a712d5322fae6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking erg/rust-bindgen against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg%2Frust-bindgen" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erg/rust-bindgen on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erg/rust-bindgen [INFO] finished tweaking git repo https://github.com/erg/rust-bindgen [INFO] tweaked toml for git repo https://github.com/erg/rust-bindgen written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/erg/rust-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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking erg/rust-bindgen against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg%2Frust-bindgen" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erg/rust-bindgen on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erg/rust-bindgen [INFO] finished tweaking git repo https://github.com/erg/rust-bindgen [INFO] tweaked toml for git repo https://github.com/erg/rust-bindgen written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/erg/rust-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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e18f4f1f4228febe31b8b3a256ef8dc0c7417f1c4a204029d3c1532330049fa [INFO] running `Command { std: "docker" "start" "-a" "1e18f4f1f4228febe31b8b3a256ef8dc0c7417f1c4a204029d3c1532330049fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e18f4f1f4228febe31b8b3a256ef8dc0c7417f1c4a204029d3c1532330049fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e18f4f1f4228febe31b8b3a256ef8dc0c7417f1c4a204029d3c1532330049fa", kill_on_drop: false }` [INFO] [stdout] 1e18f4f1f4228febe31b8b3a256ef8dc0c7417f1c4a204029d3c1532330049fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 689038efc5aaa37a638d2fffd5b3320df1ee003f878bb04e52671d5380ab8bba [INFO] running `Command { std: "docker" "start" "-a" "689038efc5aaa37a638d2fffd5b3320df1ee003f878bb04e52671d5380ab8bba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling tests_expectations v0.1.0 (/opt/rustwide/workdir/bindgen-tests/tests/expectations) [INFO] [stderr] Checking block v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling bindgen v0.64.0 (/opt/rustwide/workdir/bindgen) [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking shlex v1.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking quote v1.0.32 [INFO] [stderr] Compiling bindgen-tests v0.1.0 (/opt/rustwide/workdir/bindgen-tests) [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking malloc_buf v0.0.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking which v4.4.0 [INFO] [stderr] Checking objc v0.2.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling cc v1.0.81 [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:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | 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:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | 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:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | 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:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | 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:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | 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:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | 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:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | 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:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | 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:126:31 [INFO] [stdout] | [INFO] [stdout] 126 | 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:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub __words: *mut basic_string_size_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.7.1 [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:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | 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 `ShouldDerivePartialEq` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-union_1_0.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | 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:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | 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] Checking anstream v0.3.2 [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] = 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:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | 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:78:45 [INFO] [stdout] | [INFO] [stdout] 78 | 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: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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | 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:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub _address: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap_builder v4.3.19 [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:87:43 [INFO] [stdout] | [INFO] [stdout] 87 | 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:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | 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/union_with_big_member_1_0.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | 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 `TErrorResult` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/anon_union_1_0.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | 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:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | 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:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | 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:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | 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:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub mResult: ::std::os::raw::c_int, [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/union_with_big_member_1_0.rs:207:43 [INFO] [stdout] | [INFO] [stdout] 207 | 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/derive-clone_1_0.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | 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: 4 warnings emitted [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:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | 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:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | 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:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | 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:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | 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 `ShouldImplClone` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-clone_1_0.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | 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:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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] [stderr] Checking regex v1.9.3 [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:99:44 [INFO] [stdout] | [INFO] [stdout] 99 | 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:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | 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:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | 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] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking quickchecking v0.1.0 (/opt/rustwide/workdir/bindgen-tests/tests/quickchecking) [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:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | 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:516:43 [INFO] [stdout] | [INFO] [stdout] 516 | 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:669:43 [INFO] [stdout] | [INFO] [stdout] 669 | 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:870:43 [INFO] [stdout] | [INFO] [stdout] 870 | 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:928:43 [INFO] [stdout] | [INFO] [stdout] 928 | 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:988:43 [INFO] [stdout] | [INFO] [stdout] 988 | 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:1046:43 [INFO] [stdout] | [INFO] [stdout] 1046 | 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:1094:43 [INFO] [stdout] | [INFO] [stdout] 1094 | 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:1278:43 [INFO] [stdout] | [INFO] [stdout] 1278 | 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:1705:43 [INFO] [stdout] | [INFO] [stdout] 1705 | 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:1846:43 [INFO] [stdout] | [INFO] [stdout] 1846 | 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:1958:43 [INFO] [stdout] | [INFO] [stdout] 1958 | 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:2131:43 [INFO] [stdout] | [INFO] [stdout] 2131 | 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:2332:43 [INFO] [stdout] | [INFO] [stdout] 2332 | 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:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | 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:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | 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:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | 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:516:31 [INFO] [stdout] | [INFO] [stdout] 516 | 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:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | 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:451:1 [INFO] [stdout] | [INFO] [stdout] 451 | 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:669:31 [INFO] [stdout] | [INFO] [stdout] 669 | 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:607:5 [INFO] [stdout] | [INFO] [stdout] 607 | 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:870:31 [INFO] [stdout] | [INFO] [stdout] 870 | 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:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | 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:689:1 [INFO] [stdout] | [INFO] [stdout] 689 | 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:928:31 [INFO] [stdout] | [INFO] [stdout] 928 | 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:880:5 [INFO] [stdout] | [INFO] [stdout] 880 | 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:679:1 [INFO] [stdout] | [INFO] [stdout] 679 | 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:988:31 [INFO] [stdout] | [INFO] [stdout] 988 | 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:938:5 [INFO] [stdout] | [INFO] [stdout] 938 | 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:689:1 [INFO] [stdout] | [INFO] [stdout] 689 | 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:1046:31 [INFO] [stdout] | [INFO] [stdout] 1046 | 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:998:5 [INFO] [stdout] | [INFO] [stdout] 998 | 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:679:1 [INFO] [stdout] | [INFO] [stdout] 679 | 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:1094:31 [INFO] [stdout] | [INFO] [stdout] 1094 | 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:1056:5 [INFO] [stdout] | [INFO] [stdout] 1056 | 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:689:1 [INFO] [stdout] | [INFO] [stdout] 689 | 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:1278:31 [INFO] [stdout] | [INFO] [stdout] 1278 | 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:1104:5 [INFO] [stdout] | [INFO] [stdout] 1104 | 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:689:1 [INFO] [stdout] | [INFO] [stdout] 689 | 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:1705:31 [INFO] [stdout] | [INFO] [stdout] 1705 | 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:1656:5 [INFO] [stdout] | [INFO] [stdout] 1656 | 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:1642:1 [INFO] [stdout] | [INFO] [stdout] 1642 | 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:1846:31 [INFO] [stdout] | [INFO] [stdout] 1846 | 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:1768:5 [INFO] [stdout] | [INFO] [stdout] 1768 | 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:1958:31 [INFO] [stdout] | [INFO] [stdout] 1958 | 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:1860:5 [INFO] [stdout] | [INFO] [stdout] 1860 | 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:1287:1 [INFO] [stdout] | [INFO] [stdout] 1287 | 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:2131:31 [INFO] [stdout] | [INFO] [stdout] 2131 | 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:2054:5 [INFO] [stdout] | [INFO] [stdout] 2054 | 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:607:5 [INFO] [stdout] | [INFO] [stdout] 607 | 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:2332:31 [INFO] [stdout] | [INFO] [stdout] 2332 | 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:2027:5 [INFO] [stdout] | [INFO] [stdout] 2027 | pub link_speeds: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 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:83:43 [INFO] [stdout] | [INFO] [stdout] 83 | 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:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | 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:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | 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:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | 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:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | 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:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | 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:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | 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/16-byte-alignment_1_0.rs:391:43 [INFO] [stdout] | [INFO] [stdout] 391 | 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:128:43 [INFO] [stdout] | [INFO] [stdout] 128 | 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:199:43 [INFO] [stdout] | [INFO] [stdout] 199 | 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:272:43 [INFO] [stdout] | [INFO] [stdout] 272 | 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:326:43 [INFO] [stdout] | [INFO] [stdout] 326 | 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:412:43 [INFO] [stdout] | [INFO] [stdout] 412 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [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:391:31 [INFO] [stdout] | [INFO] [stdout] 391 | 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:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | 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: the type `C` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/class_1_0.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | 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:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | 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:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | 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:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | 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:272:31 [INFO] [stdout] | [INFO] [stdout] 272 | 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:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | 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:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | 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:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | 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:412:31 [INFO] [stdout] | [INFO] [stdout] 412 | 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:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | 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: 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:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | 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:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | 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:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/jsval_layout_opaque_1_0.rs:263:43 [INFO] [stdout] | [INFO] [stdout] 263 | 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 `jsval_layout__bindgen_ty_1` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/jsval_layout_opaque_1_0.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | 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:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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: 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] [stderr] Compiling clap_derive v4.3.12 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/transform-op.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | 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:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | 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:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | 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:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | 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:140:43 [INFO] [stdout] | [INFO] [stdout] 140 | 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:169:43 [INFO] [stdout] | [INFO] [stdout] 169 | 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:184:43 [INFO] [stdout] | [INFO] [stdout] 184 | 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:199:43 [INFO] [stdout] | [INFO] [stdout] 199 | 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:217:43 [INFO] [stdout] | [INFO] [stdout] 217 | 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:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | 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:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | 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:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | 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:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | 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:126:31 [INFO] [stdout] | [INFO] [stdout] 126 | 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:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | 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:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | 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:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | 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:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | 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:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | 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:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | 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:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub tag: StyleBar_Tag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 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:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | 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:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | 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:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | 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:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | 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:77:39 [INFO] [stdout] | [INFO] [stdout] 77 | 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:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct PlainStruct {} [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.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | 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: 3 warnings emitted [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:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub _bindgen_opaque_blob: [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: 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:128:43 [INFO] [stdout] | [INFO] [stdout] 128 | 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:199:43 [INFO] [stdout] | [INFO] [stdout] 199 | 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:310:43 [INFO] [stdout] | [INFO] [stdout] 310 | 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:442:43 [INFO] [stdout] | [INFO] [stdout] 442 | 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:596:43 [INFO] [stdout] | [INFO] [stdout] 596 | 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:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / extern "fastcall" { [INFO] [stdout] 34 | | pub fn fast_call_func_no_args() -> ::std::os::raw::c_int; [INFO] [stdout] 35 | | } [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:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / extern "fastcall" { [INFO] [stdout] 37 | | pub fn fast_call_func_many_args( [INFO] [stdout] 38 | | arg1: ::std::os::raw::c_int, [INFO] [stdout] 39 | | arg2: ::std::os::raw::c_int, [INFO] [stdout] 40 | | arg3: ::std::os::raw::c_int, [INFO] [stdout] 41 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 42 | | } [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:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / extern "stdcall" { [INFO] [stdout] 44 | | pub fn std_call_func_no_args() -> ::std::os::raw::c_int; [INFO] [stdout] 45 | | } [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:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / extern "stdcall" { [INFO] [stdout] 47 | | pub fn std_call_func_many_args( [INFO] [stdout] 48 | | arg1: ::std::os::raw::c_int, [INFO] [stdout] 49 | | arg2: ::std::os::raw::c_int, [INFO] [stdout] 50 | | arg3: ::std::os::raw::c_int, [INFO] [stdout] 51 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 52 | | } [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:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / extern "fastcall" { [INFO] [stdout] 34 | | pub fn fast_call_func_no_args() -> ::std::os::raw::c_int; [INFO] [stdout] 35 | | } [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:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / extern "fastcall" { [INFO] [stdout] 37 | | pub fn fast_call_func_many_args( [INFO] [stdout] 38 | | arg1: ::std::os::raw::c_int, [INFO] [stdout] 39 | | arg2: ::std::os::raw::c_int, [INFO] [stdout] 40 | | arg3: ::std::os::raw::c_int, [INFO] [stdout] 41 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 42 | | } [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:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / extern "stdcall" { [INFO] [stdout] 44 | | pub fn std_call_func_no_args() -> ::std::os::raw::c_int; [INFO] [stdout] 45 | | } [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:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / extern "stdcall" { [INFO] [stdout] 47 | | pub fn std_call_func_many_args( [INFO] [stdout] 48 | | arg1: ::std::os::raw::c_int, [INFO] [stdout] 49 | | arg2: ::std::os::raw::c_int, [INFO] [stdout] 50 | | arg3: ::std::os::raw::c_int, [INFO] [stdout] 51 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 52 | | } [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_with_inner_struct_1_0.rs:437:43 [INFO] [stdout] | [INFO] [stdout] 437 | 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_mbuf_1_0.rs:1239:43 [INFO] [stdout] | [INFO] [stdout] 1239 | 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 `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:437:31 [INFO] [stdout] | [INFO] [stdout] 437 | 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:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | 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:297:1 [INFO] [stdout] | [INFO] [stdout] 297 | pub enum StepSyntax { [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` does not permit being left uninitialized [INFO] [stdout] --> /opt/rustwide/workdir/bindgen-tests/tests/expectations/tests/libclang-9/class_1_0.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | 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:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | 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:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | 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:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | 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:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | 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:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | 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:442:31 [INFO] [stdout] | [INFO] [stdout] 442 | 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:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | 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:596:31 [INFO] [stdout] | [INFO] [stdout] 596 | 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:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | pub whatever: *mut ::std::os::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/typeref_1_0.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | 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:1239:31 [INFO] [stdout] | [INFO] [stdout] 1239 | 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:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | 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:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | 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: use of calling convention not supported on this target [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/abi-override.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / extern "fastcall" { [INFO] [stdout] 9 | | pub fn foo(); [INFO] [stdout] 10 | | } [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:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "stdcall" { [INFO] [stdout] 12 | | pub fn bar(); [INFO] [stdout] 13 | | } [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: `extern` block uses type `[i64; 2]`, which is not FFI-safe [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/vector.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | 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:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | 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:44:49 [INFO] [stdout] | [INFO] [stdout] 44 | 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] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union_bitfield_1_0.rs:288:43 [INFO] [stdout] | [INFO] [stdout] 288 | 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:288:31 [INFO] [stdout] | [INFO] [stdout] 288 | 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:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | 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: 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/union-align.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | 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:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking bindgen-cli v0.64.0 (/opt/rustwide/workdir/bindgen-cli) [INFO] [stderr] Compiling bindgen-integration v0.1.0 (/opt/rustwide/workdir/bindgen-integration) [INFO] [stderr] error: failed to run custom build command for `bindgen-integration v0.1.0 (/opt/rustwide/workdir/bindgen-integration)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/bindgen-integration-2066e1ec85f41155/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXX [INFO] [stderr] HOST_CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX [INFO] [stderr] CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXXFLAGS [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "include" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/bindgen-integration-bddc03e77d357af8/out/cpp/Test.o" "-c" "cpp/Test.cc" [INFO] [stderr] exit status: 0 [INFO] [stderr] cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-gnu [INFO] [stderr] AR_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_gnu [INFO] [stderr] AR_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_AR [INFO] [stderr] HOST_AR = None [INFO] [stderr] cargo:rerun-if-env-changed=AR [INFO] [stderr] AR = None [INFO] [stderr] cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] ARFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] ARFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_ARFLAGS [INFO] [stderr] HOST_ARFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=ARFLAGS [INFO] [stderr] ARFLAGS = None [INFO] [stderr] running: ZERO_AR_DATE="1" "ar" "cq" "/opt/rustwide/target/debug/build/bindgen-integration-bddc03e77d357af8/out/libtest.a" "/opt/rustwide/target/debug/build/bindgen-integration-bddc03e77d357af8/out/cpp/Test.o" [INFO] [stderr] exit status: 0 [INFO] [stderr] running: "ar" "s" "/opt/rustwide/target/debug/build/bindgen-integration-bddc03e77d357af8/out/libtest.a" [INFO] [stderr] exit status: 0 [INFO] [stderr] cargo:rustc-link-lib=static=test [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/bindgen-integration-bddc03e77d357af8/out [INFO] [stderr] cargo:rerun-if-env-changed=CXXSTDLIB_x86_64-unknown-linux-gnu [INFO] [stderr] CXXSTDLIB_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXSTDLIB_x86_64_unknown_linux_gnu [INFO] [stderr] CXXSTDLIB_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXXSTDLIB [INFO] [stderr] HOST_CXXSTDLIB = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXSTDLIB [INFO] [stderr] CXXSTDLIB = None [INFO] [stderr] cargo:rustc-link-lib=stdc++ [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at bindgen-integration/build.rs:165:10: [INFO] [stderr] called `Result::unwrap()` on an `Err` value: StripPrefixError(()) [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55c4b6b2ab4c - std::backtrace_rs::backtrace::libunwind::trace::hfaea0f6deac48456 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stderr] 1: 0x55c4b6b2ab4c - std::backtrace_rs::backtrace::trace_unsynchronized::h6c92256b787346ec [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55c4b6b2ab4c - std::sys_common::backtrace::_print_fmt::hf39c662989c35d46 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stderr] 3: 0x55c4b6b2ab4c - ::fmt::hce8588d8cee63495 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x55c4b6b576d0 - core::fmt::rt::Argument::fmt::h7173e853ae9258a1 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/core/src/fmt/rt.rs:142:9 [INFO] [stderr] 5: 0x55c4b6b576d0 - core::fmt::write::hcdc880e0748cf207 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/core/src/fmt/mod.rs:1120:17 [INFO] [stderr] 6: 0x55c4b6b27d2f - std::io::Write::write_fmt::h05357a88364d6426 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/io/mod.rs:1810:15 [INFO] [stderr] 7: 0x55c4b6b2a934 - std::sys_common::backtrace::_print::h43b338b6a0d36d6a [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 8: 0x55c4b6b2a934 - std::sys_common::backtrace::print::hf4a94bbb4ad5d9b2 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 9: 0x55c4b6b2c767 - std::panicking::default_hook::{{closure}}::hee17a8c3fec6f855 [INFO] [stderr] 10: 0x55c4b6b2c4cf - std::panicking::default_hook::hd73d86f94612da90 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/panicking.rs:292:9 [INFO] [stderr] 11: 0x55c4b6b2cbe8 - std::panicking::rust_panic_with_hook::h7bbda2ffdb3722ba [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/panicking.rs:779:13 [INFO] [stderr] 12: 0x55c4b6b2cace - std::panicking::begin_panic_handler::{{closure}}::h836f49948c65622b [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/panicking.rs:657:13 [INFO] [stderr] 13: 0x55c4b6b2b016 - std::sys_common::backtrace::__rust_end_short_backtrace::h9441de69eebcc014 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stderr] 14: 0x55c4b6b2c832 - rust_begin_unwind [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/panicking.rs:645:5 [INFO] [stderr] 15: 0x55c4b646f8e5 - core::panicking::panic_fmt::h93ad283e9984e04a [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/core/src/panicking.rs:72:14 [INFO] [stderr] 16: 0x55c4b646fed3 - core::result::unwrap_failed::h72d809cf0c2a6104 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/core/src/result.rs:1649:5 [INFO] [stderr] 17: 0x55c4b647d092 - core::result::Result::unwrap::hb75ed4d924f3585f [INFO] [stderr] 18: 0x55c4b64758e1 - build_script_build::setup_macro_test::he6f98f11f80c96f5 [INFO] [stderr] 19: 0x55c4b64772f6 - build_script_build::main::heefd3ce1182cd52a [INFO] [stderr] 20: 0x55c4b647c223 - core::ops::function::FnOnce::call_once::hb48b7b0009035724 [INFO] [stderr] 21: 0x55c4b64702b6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h857c0fdb05796f74 [INFO] [stderr] 22: 0x55c4b64706a9 - std::rt::lang_start::{{closure}}::hd38e2d50cddcfcab [INFO] [stderr] 23: 0x55c4b6b22c47 - core::ops::function::impls:: for &F>::call_once::h1f6acdeae60bd51d [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 24: 0x55c4b6b22c47 - std::panicking::try::do_call::hee23ddd1e0a9be1e [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/panicking.rs:552:40 [INFO] [stderr] 25: 0x55c4b6b22c47 - std::panicking::try::h147eb48230a65f4b [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/panicking.rs:516:19 [INFO] [stderr] 26: 0x55c4b6b22c47 - std::panic::catch_unwind::hba941d75e0c7a0f5 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/panic.rs:142:14 [INFO] [stderr] 27: 0x55c4b6b22c47 - std::rt::lang_start_internal::{{closure}}::ha181bc2a5bd6aef6 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/rt.rs:148:48 [INFO] [stderr] 28: 0x55c4b6b22c47 - std::panicking::try::do_call::h1669d22bd696d712 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/panicking.rs:552:40 [INFO] [stderr] 29: 0x55c4b6b22c47 - std::panicking::try::h3552917ad9aaeee6 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/panicking.rs:516:19 [INFO] [stderr] 30: 0x55c4b6b22c47 - std::panic::catch_unwind::hbdf277fd97e6ea1a [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/panic.rs:142:14 [INFO] [stderr] 31: 0x55c4b6b22c47 - std::rt::lang_start_internal::h54e780960610f4c6 [INFO] [stderr] at /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/std/src/rt.rs:148:20 [INFO] [stderr] 32: 0x55c4b6470687 - std::rt::lang_start::hfb1bcfe4ec36a663 [INFO] [stderr] 33: 0x55c4b64773d5 - main [INFO] [stderr] 34: 0x7feae7a92d90 - [INFO] [stderr] 35: 0x7feae7a92e40 - __libc_start_main [INFO] [stderr] 36: 0x55c4b64701d5 - _start [INFO] [stderr] 37: 0x0 - [INFO] running `Command { std: "docker" "inspect" "689038efc5aaa37a638d2fffd5b3320df1ee003f878bb04e52671d5380ab8bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689038efc5aaa37a638d2fffd5b3320df1ee003f878bb04e52671d5380ab8bba", kill_on_drop: false }` [INFO] [stdout] 689038efc5aaa37a638d2fffd5b3320df1ee003f878bb04e52671d5380ab8bba