[INFO] cloning repository https://github.com/rohankumardubey/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/rohankumardubey/rust-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stderr] warning: refname 'HEAD' is ambiguous. [INFO] [stdout] bcbd72d7f89a1fdfae59fad8db47ca4892d9c940 [INFO] testing rohankumardubey/rust-bindgen against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rohankumardubey/rust-bindgen [INFO] finished tweaking git repo https://github.com/rohankumardubey/rust-bindgen [INFO] tweaked toml for git repo https://github.com/rohankumardubey/rust-bindgen written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rohankumardubey/rust-bindgen on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rohankumardubey/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minimal-lexical v0.1.4 [INFO] [stderr] Downloaded shlex v1.0.0 [INFO] [stderr] Downloaded which v4.2.1 [INFO] [stderr] Downloaded nom v7.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 664126523e329245b387c56057fe61ea37bb70564a7fea97a203100b27a252c6 [INFO] running `Command { std: "docker" "start" "-a" "664126523e329245b387c56057fe61ea37bb70564a7fea97a203100b27a252c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "664126523e329245b387c56057fe61ea37bb70564a7fea97a203100b27a252c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "664126523e329245b387c56057fe61ea37bb70564a7fea97a203100b27a252c6", kill_on_drop: false }` [INFO] [stdout] 664126523e329245b387c56057fe61ea37bb70564a7fea97a203100b27a252c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 403a4e2f54c16aa3861271d56c7169a188cd29812f3bdb69c227fc9bbbc97690 [INFO] running `Command { std: "docker" "start" "-a" "403a4e2f54c16aa3861271d56c7169a188cd29812f3bdb69c227fc9bbbc97690", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling minimal-lexical v0.1.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling bindgen v0.59.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.0.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(testing_only_extra_assertions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasFloat` is never used [INFO] [stdout] --> src/ir/item.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait HasFloat { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:2428:21 [INFO] [stdout] | [INFO] [stdout] 2428 | fn rustfmt_path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2428 | fn rustfmt_path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/clang.rs:720:19 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn tokens(&self) -> RawTokens { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 720 | pub fn tokens(&self) -> RawTokens<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/clang.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> ClangTokenIterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> ClangTokenIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/context.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 1196 | ) -> traversal::AssertNoDanglingItemsTraversal { [INFO] [stdout] | ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1196 | ) -> traversal::AssertNoDanglingItemsTraversal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/ty.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | fn sanitize_name(name: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 254 | fn sanitize_name(name: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.26s [INFO] running `Command { std: "docker" "inspect" "403a4e2f54c16aa3861271d56c7169a188cd29812f3bdb69c227fc9bbbc97690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "403a4e2f54c16aa3861271d56c7169a188cd29812f3bdb69c227fc9bbbc97690", kill_on_drop: false }` [INFO] [stdout] 403a4e2f54c16aa3861271d56c7169a188cd29812f3bdb69c227fc9bbbc97690 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 52a7f73633712ee9fdb63d8a7000d65f3467406bb84e738c1c76c9aeb6280dcc [INFO] running `Command { std: "docker" "start" "-a" "52a7f73633712ee9fdb63d8a7000d65f3467406bb84e738c1c76c9aeb6280dcc", kill_on_drop: false }` [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stdout] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(testing_only_extra_assertions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasFloat` is never used [INFO] [stdout] --> src/ir/item.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait HasFloat { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:2428:21 [INFO] [stdout] | [INFO] [stdout] 2428 | fn rustfmt_path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2428 | fn rustfmt_path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/clang.rs:720:19 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn tokens(&self) -> RawTokens { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 720 | pub fn tokens(&self) -> RawTokens<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/clang.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> ClangTokenIterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> ClangTokenIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/context.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 1196 | ) -> traversal::AssertNoDanglingItemsTraversal { [INFO] [stdout] | ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1196 | ) -> traversal::AssertNoDanglingItemsTraversal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/ty.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | fn sanitize_name(name: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 254 | fn sanitize_name(name: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling bindgen v0.59.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(testing_only_extra_assertions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasFloat` is never used [INFO] [stdout] --> src/ir/item.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait HasFloat { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:2428:21 [INFO] [stdout] | [INFO] [stdout] 2428 | fn rustfmt_path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2428 | fn rustfmt_path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/clang.rs:720:19 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn tokens(&self) -> RawTokens { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 720 | pub fn tokens(&self) -> RawTokens<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/clang.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> ClangTokenIterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> ClangTokenIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/analysis/mod.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | fn new(graph: &'a Graph) -> ReachableFrom { [INFO] [stdout] | ^^ ------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 309 | fn new(graph: &'a Graph) -> ReachableFrom<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/context.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 1196 | ) -> traversal::AssertNoDanglingItemsTraversal { [INFO] [stdout] | ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1196 | ) -> traversal::AssertNoDanglingItemsTraversal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/ty.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | fn sanitize_name(name: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 254 | fn sanitize_name(name: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.25s [INFO] running `Command { std: "docker" "inspect" "52a7f73633712ee9fdb63d8a7000d65f3467406bb84e738c1c76c9aeb6280dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a7f73633712ee9fdb63d8a7000d65f3467406bb84e738c1c76c9aeb6280dcc", kill_on_drop: false }` [INFO] [stdout] 52a7f73633712ee9fdb63d8a7000d65f3467406bb84e738c1c76c9aeb6280dcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5c1964c7f5fbaa0ef599ca75513628dd2d6f3f28525afa70c8aa18b700faf725 [INFO] running `Command { std: "docker" "start" "-a" "5c1964c7f5fbaa0ef599ca75513628dd2d6f3f28525afa70c8aa18b700faf725", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stderr] --> src/ir/item.rs:104:7 [INFO] [stderr] | [INFO] [stderr] 104 | #[cfg(testing_only_extra_assertions)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stderr] --> src/ir/item.rs:107:11 [INFO] [stderr] | [INFO] [stderr] 107 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stderr] --> src/ir/item.rs:110:11 [INFO] [stderr] | [INFO] [stderr] 110 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "testing_only_extra_assertions"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(testing_only_extra_assertions)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(testing_only_extra_assertions)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: trait `HasFloat` is never used [INFO] [stderr] --> src/ir/item.rs:92:11 [INFO] [stderr] | [INFO] [stderr] 92 | pub trait HasFloat { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:2428:21 [INFO] [stderr] | [INFO] [stderr] 2428 | fn rustfmt_path(&self) -> io::Result> { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 2428 | fn rustfmt_path(&self) -> io::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/clang.rs:720:19 [INFO] [stderr] | [INFO] [stderr] 720 | pub fn tokens(&self) -> RawTokens { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 720 | pub fn tokens(&self) -> RawTokens<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/clang.rs:778:17 [INFO] [stderr] | [INFO] [stderr] 778 | pub fn iter(&self) -> ClangTokenIterator { [INFO] [stderr] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 778 | pub fn iter(&self) -> ClangTokenIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/context.rs:1195:9 [INFO] [stderr] | [INFO] [stderr] 1195 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 1196 | ) -> traversal::AssertNoDanglingItemsTraversal { [INFO] [stderr] | ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1196 | ) -> traversal::AssertNoDanglingItemsTraversal<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/ty.rs:254:28 [INFO] [stderr] | [INFO] [stderr] 254 | fn sanitize_name(name: &str) -> Cow { [INFO] [stderr] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 254 | fn sanitize_name(name: &str) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `bindgen` (lib) generated 9 warnings (run `cargo fix --lib -p bindgen` to apply 5 suggestions) [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/analysis/mod.rs:309:24 [INFO] [stderr] | [INFO] [stderr] 309 | fn new(graph: &'a Graph) -> ReachableFrom { [INFO] [stderr] | ^^ ------------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 309 | fn new(graph: &'a Graph) -> ReachableFrom<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `bindgen` (lib test) generated 10 warnings (9 duplicates) (run `cargo fix --lib -p bindgen --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bindgen-f5dfdaee605f0dcd) [INFO] [stdout] running 24 tests [INFO] [stdout] test codegen::bitfield_unit_tests::bitfield_unit_get ... ok [INFO] [stdout] test codegen::bitfield_unit_tests::bitfield_unit_set_bit ... ok [INFO] [stdout] test codegen::bitfield_unit_tests::bitfield_unit_set ... ok [INFO] [stdout] test codegen::struct_layout::test_align_to ... ok [INFO] [stdout] test codegen::bitfield_unit_tests::bitfield_unit_get_bit ... ok [INFO] [stdout] test codegen::struct_layout::test_bytes_from_bits_pow2 ... ok [INFO] [stdout] test features::test::target_features ... ok [INFO] [stdout] test features::test::str_to_target ... ok [INFO] [stdout] test commandline_flag_unit_test_function ... ok [INFO] [stdout] test ir::comment::test::picks_up_single_and_multi_line_doc_comments ... ok [INFO] [stdout] test ir::comment::test::processes_multi_lines_correctly ... ok [INFO] [stdout] test ir::layout::test_layout_for_size ... ok [INFO] [stdout] test ir::traversal::tests::traversal_predicate_is_object_safe ... ok [INFO] [stdout] test ir::ty::is_invalid_type_param_empty_name ... ok [INFO] [stdout] test ir::comment::test::processes_single_lines_correctly ... ok [INFO] [stdout] test ir::ty::is_invalid_type_param_invalid_remaing ... ok [INFO] [stdout] test ir::ty::is_invalid_type_param_invalid_start ... ok [INFO] [stdout] test ir::analysis::tests::monotone ... ok [INFO] [stdout] test ir::ty::is_invalid_type_param_valid ... ok [INFO] [stdout] test ir::ty::is_invalid_type_param_valid_underscore_and_numbers ... ok [INFO] [stdout] test ir::ty::is_invalid_type_param_valid_unnamed_kind ... ok [INFO] [stdout] test test_rust_to_clang_target ... ok [INFO] [stdout] test test_rust_to_clang_target_riscv ... ok [INFO] [stdout] test ir::ty::is_invalid_type_param_unnamed - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bindgen-e7d49035cf7fb4eb) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::commandline_multiple_headers ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::commandline_multiple_headers stdout ---- [INFO] [stdout] bindgen tests/headers/16-byte-alignment.h --rust-target 1.47 --no-derive-default --generate functions,types,vars,methods,constructors,destructors -- -include tests/headers/char.h -include tests/headers/func_ptr.h [INFO] [stdout] [INFO] [stdout] thread 'test::commandline_multiple_headers' panicked at src/lib.rs:2135:31: [INFO] [stdout] Unable to find libclang: "the `libclang` shared library at /usr/lib/llvm-18/lib/libclang-18.1.3.so could not be opened: Dynamic loading not supported" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x737204e06d82 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x737204e06d82 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x737204e06d82 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x737204e06d82 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x737204e43f23 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x737204e43f23 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x737204e03823 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x737204e03823 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x737204e06bd2 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x737204e0854c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x737204e083a2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x737204908c24 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x737204908c24 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x737204e08fb3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x737204e08fb3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x737204e08c9a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x737204e07289 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x737204e0892d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7372048a5760 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7372048a5bc6 - core::result::unwrap_failed::h8476ffaa6db8205b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x737204a6541a - core::result::Result::expect::hc34c0d706c08a688 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1119:23 [INFO] [stdout] 21: 0x737204b134dd - ::deref::__static_ref_initialize::h8494387c62dd731c [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:2135:31 [INFO] [stdout] 22: 0x737204b134dd - core::ops::function::FnOnce::call_once::hf3519b274d7e5107 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x737204acac7b - lazy_static::lazy::Lazy::get::{{closure}}::heb38a4cfbe9e52b7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lazy_static-1.4.0/src/inline_lazy.rs:31:29 [INFO] [stdout] 24: 0x737204b2521b - std::sync::poison::once::Once::call_once::{{closure}}::hb0b5c3357c561e96 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sync/poison/once.rs:155:41 [INFO] [stdout] 25: 0x7372048a45c4 - std::sys::sync::once::futex::Once::call::habf9f54122b028c3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/sync/once/futex.rs:176:21 [INFO] [stdout] 26: 0x737204b24f14 - std::sync::poison::once::Once::call_once::h208657a3937c9f0d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sync/poison/once.rs:155:20 [INFO] [stdout] 27: 0x737204aacbb0 - lazy_static::lazy::Lazy::get::h689484abeecf5b57 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lazy_static-1.4.0/src/inline_lazy.rs:30:16 [INFO] [stdout] 28: 0x737204aacbb0 - ::deref::__stability::ha5b3fd3319920a64 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lazy_static-1.4.0/src/lib.rs:142:26 [INFO] [stdout] 29: 0x737204aacbb0 - ::deref::h1288971837b1be56 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lazy_static-1.4.0/src/lib.rs:144:17 [INFO] [stdout] 30: 0x737204aa747b - bindgen::ensure_libclang_is_loaded::hda2451f6d0062236 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:2143:33 [INFO] [stdout] 31: 0x737204aa7c00 - bindgen::Bindings::generate::h8fd70df1f7d60d71 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:2206:9 [INFO] [stdout] 32: 0x737204aa499a - bindgen::Builder::generate::h69b2827621e3ba71 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:1478:9 [INFO] [stdout] 33: 0x7372048af2b0 - bindgen::test::build_flags_output_helper::h3cb2536e3d208d1e [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:102:17 [INFO] [stdout] 34: 0x7372048af5c7 - bindgen::test::commandline_multiple_headers::hd8e8a98a2169594e [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:111:9 [INFO] [stdout] 35: 0x7372048af507 - bindgen::test::commandline_multiple_headers::{{closure}}::hdadcd4f7484fb708 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:106:38 [INFO] [stdout] 36: 0x7372048b1fd6 - core::ops::function::FnOnce::call_once::hcc9c4b31bce7e0a3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 37: 0x73720490e31b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 38: 0x73720490e31b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 39: 0x73720490d58e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 40: 0x73720490d58e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x73720490d58e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x73720490d58e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x73720490d58e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x73720490d58e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 45: 0x73720490d58e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 46: 0x7372048d2414 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 47: 0x7372048d2414 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 48: 0x7372048d5c0a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 49: 0x7372048d5c0a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 50: 0x7372048d5c0a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 51: 0x7372048d5c0a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 52: 0x7372048d5c0a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x7372048d5c0a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 54: 0x7372048d5c0a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 55: 0x737204e0c037 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 56: 0x737204e0c037 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 57: 0x737204e0c037 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::commandline_multiple_headers [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.82s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin bindgen` [INFO] running `Command { std: "docker" "inspect" "5c1964c7f5fbaa0ef599ca75513628dd2d6f3f28525afa70c8aa18b700faf725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1964c7f5fbaa0ef599ca75513628dd2d6f3f28525afa70c8aa18b700faf725", kill_on_drop: false }` [INFO] [stdout] 5c1964c7f5fbaa0ef599ca75513628dd2d6f3f28525afa70c8aa18b700faf725