[INFO] cloning repository https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkerBoard-Android%2Frockchip-android-external-rust-crates-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkerBoard-Android%2Frockchip-android-external-rust-crates-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a334643ba9a4321b52b43737673c811560fb510 [INFO] checking TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen/1a334643ba9a4321b52b43737673c811560fb510 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkerBoard-Android%2Frockchip-android-external-rust-crates-bindgen" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen [INFO] finished tweaking git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen [INFO] tweaked toml for git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded shlex v1.0.0 [INFO] [stderr] Downloaded humantime v2.0.1 [INFO] [stderr] Downloaded cexpr v0.4.0 [INFO] [stderr] Downloaded clang-sys v1.0.3 [INFO] [stderr] Downloaded env_logger v0.8.1 [INFO] [stderr] Downloaded libloading v0.6.5 [INFO] [stderr] Downloaded regex v1.4.2 [INFO] [stderr] Downloaded regex-syntax v0.6.21 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c457366363560325be296b94ce38665527d71f1ff23253b0b8500d5b0dd9e980 [INFO] running `Command { std: "docker" "start" "-a" "c457366363560325be296b94ce38665527d71f1ff23253b0b8500d5b0dd9e980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c457366363560325be296b94ce38665527d71f1ff23253b0b8500d5b0dd9e980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c457366363560325be296b94ce38665527d71f1ff23253b0b8500d5b0dd9e980", kill_on_drop: false }` [INFO] [stdout] c457366363560325be296b94ce38665527d71f1ff23253b0b8500d5b0dd9e980 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37717ecbe36e346e0e07f3523d8ceb24ac8feb051c57bf3c314f93a7be0096df [INFO] running `Command { std: "docker" "start" "-a" "37717ecbe36e346e0e07f3523d8ceb24ac8feb051c57bf3c314f93a7be0096df", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.58.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking shlex v1.0.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking which v3.1.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking cexpr v0.4.0 [INFO] [stderr] Checking env_logger v0.8.1 [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: fields `namespaced_constants` and `msvc_mangling` are never read [INFO] [stdout] --> src/lib.rs:1765:5 [INFO] [stdout] | [INFO] [stdout] 1607 | struct BindgenOptions { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1765 | namespaced_constants: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1768 | msvc_mangling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `cannot_derive_copy_in_array` are never read [INFO] [stdout] --> src/ir/context.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct BindgenContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | index: clang::Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | cannot_derive_copy_in_array: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/ir/function.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `namespaced_constants` and `msvc_mangling` are never read [INFO] [stdout] --> src/lib.rs:1765:5 [INFO] [stdout] | [INFO] [stdout] 1607 | struct BindgenOptions { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1765 | namespaced_constants: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1768 | msvc_mangling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `cannot_derive_copy_in_array` are never read [INFO] [stdout] --> src/ir/context.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct BindgenContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | index: clang::Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | cannot_derive_copy_in_array: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/ir/function.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "37717ecbe36e346e0e07f3523d8ceb24ac8feb051c57bf3c314f93a7be0096df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37717ecbe36e346e0e07f3523d8ceb24ac8feb051c57bf3c314f93a7be0096df", kill_on_drop: false }` [INFO] [stdout] 37717ecbe36e346e0e07f3523d8ceb24ac8feb051c57bf3c314f93a7be0096df