[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] checking rohankumardubey/rust-bindgen against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohankumardubey/rust-bindgen on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shlex v1.0.0 [INFO] [stderr] Downloaded clang-sys v1.2.0 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded which v4.2.1 [INFO] [stderr] Downloaded libloading v0.7.0 [INFO] [stderr] Downloaded nom v7.0.0 [INFO] [stderr] Downloaded minimal-lexical v0.1.4 [INFO] [stderr] Downloaded regex v1.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cda2e8f53f7ba6f9bd198cb296926944c81681fb14dde980840526a0283df9f7 [INFO] running `Command { std: "docker" "start" "-a" "cda2e8f53f7ba6f9bd198cb296926944c81681fb14dde980840526a0283df9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cda2e8f53f7ba6f9bd198cb296926944c81681fb14dde980840526a0283df9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda2e8f53f7ba6f9bd198cb296926944c81681fb14dde980840526a0283df9f7", kill_on_drop: false }` [INFO] [stdout] cda2e8f53f7ba6f9bd198cb296926944c81681fb14dde980840526a0283df9f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e9027df717d12eb551fa8e9de31b5357c00edb4df11cfb75b77fbd43fafc5e8 [INFO] running `Command { std: "docker" "start" "-a" "7e9027df717d12eb551fa8e9de31b5357c00edb4df11cfb75b77fbd43fafc5e8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.59.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking shlex v1.0.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking which v4.2.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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: 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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: method `has_float` is never used [INFO] [stdout] --> src/ir/item.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait HasFloat { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 93 | /// Returns `true` if the thing has float, and `false` otherwise. [INFO] [stdout] 94 | fn has_float(&self, ctx: &BindgenContext) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_float` is never used [INFO] [stdout] --> src/ir/item.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait HasFloat { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 93 | /// Returns `true` if the thing has float, and `false` otherwise. [INFO] [stdout] 94 | fn has_float(&self, ctx: &BindgenContext) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "7e9027df717d12eb551fa8e9de31b5357c00edb4df11cfb75b77fbd43fafc5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e9027df717d12eb551fa8e9de31b5357c00edb4df11cfb75b77fbd43fafc5e8", kill_on_drop: false }` [INFO] [stdout] 7e9027df717d12eb551fa8e9de31b5357c00edb4df11cfb75b77fbd43fafc5e8