[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 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [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 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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.0.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 571b3b283b0e8e37b60bb4dd6ddd250bfe533d6b01cfeaa836fc8c31e44c085b [INFO] running `Command { std: "docker" "start" "-a" "571b3b283b0e8e37b60bb4dd6ddd250bfe533d6b01cfeaa836fc8c31e44c085b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "571b3b283b0e8e37b60bb4dd6ddd250bfe533d6b01cfeaa836fc8c31e44c085b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571b3b283b0e8e37b60bb4dd6ddd250bfe533d6b01cfeaa836fc8c31e44c085b", kill_on_drop: false }` [INFO] [stdout] 571b3b283b0e8e37b60bb4dd6ddd250bfe533d6b01cfeaa836fc8c31e44c085b [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a47356d41c59b8f2bcef956845452cd06e0418ec0fe1afe3afb524ad1b75ae69 [INFO] running `Command { std: "docker" "start" "-a" "a47356d41c59b8f2bcef956845452cd06e0418ec0fe1afe3afb524ad1b75ae69", 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 regex-syntax v0.6.21 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.58.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking shlex v1.0.0 [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 aho-corasick v0.7.15 [INFO] [stderr] Checking quote v1.0.7 [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: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/clang.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/clang.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/helpers.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/impl_debug.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/impl_partialeq.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/struct_layout.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:4224:9 [INFO] [stdout] | [INFO] [stdout] 4224 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/clang.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/clang.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/helpers.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/impl_debug.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/impl_partialeq.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/struct_layout.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:4224:9 [INFO] [stdout] | [INFO] [stdout] 4224 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/var.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/ir/analysis/mod.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] 214 | use crate::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/var.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [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: 21 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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.61s [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 1` [INFO] running `Command { std: "docker" "inspect" "a47356d41c59b8f2bcef956845452cd06e0418ec0fe1afe3afb524ad1b75ae69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a47356d41c59b8f2bcef956845452cd06e0418ec0fe1afe3afb524ad1b75ae69", kill_on_drop: false }` [INFO] [stdout] a47356d41c59b8f2bcef956845452cd06e0418ec0fe1afe3afb524ad1b75ae69 [INFO] checking TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08ea4e29afac85606413b6ed3b64052181e61ba2907ccb12e14ab984b6ccc0aa [INFO] running `Command { std: "docker" "start" "-a" "08ea4e29afac85606413b6ed3b64052181e61ba2907ccb12e14ab984b6ccc0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08ea4e29afac85606413b6ed3b64052181e61ba2907ccb12e14ab984b6ccc0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ea4e29afac85606413b6ed3b64052181e61ba2907ccb12e14ab984b6ccc0aa", kill_on_drop: false }` [INFO] [stdout] 08ea4e29afac85606413b6ed3b64052181e61ba2907ccb12e14ab984b6ccc0aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e33bdc0edc4813c89000c6817877481a46658628097e24c19bb62219c218e70c [INFO] running `Command { std: "docker" "start" "-a" "e33bdc0edc4813c89000c6817877481a46658628097e24c19bb62219c218e70c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Compiling bindgen v0.58.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking shlex v1.0.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling nom v5.1.2 [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 quote v1.0.7 [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: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/clang.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/clang.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/helpers.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/impl_debug.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/impl_partialeq.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/struct_layout.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:4224:9 [INFO] [stdout] | [INFO] [stdout] 4224 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/ir/analysis/mod.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] 214 | use crate::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/var.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/clang.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/clang.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/helpers.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/impl_debug.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/impl_partialeq.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/struct_layout.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:4224:9 [INFO] [stdout] | [INFO] [stdout] 4224 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/var.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [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: 21 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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.70s [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 1` [INFO] running `Command { std: "docker" "inspect" "e33bdc0edc4813c89000c6817877481a46658628097e24c19bb62219c218e70c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e33bdc0edc4813c89000c6817877481a46658628097e24c19bb62219c218e70c", kill_on_drop: false }` [INFO] [stdout] e33bdc0edc4813c89000c6817877481a46658628097e24c19bb62219c218e70c