[INFO] fetching crate nbindgen 0.0.1... [INFO] checking nbindgen-0.0.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate nbindgen 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate nbindgen 0.0.1 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 crates.io crate nbindgen 0.0.1 [INFO] finished tweaking crates.io crate nbindgen 0.0.1 [INFO] tweaked toml for crates.io crate nbindgen 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate nbindgen 0.0.1 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 getrandom v0.1.13 [INFO] [stderr] Downloaded serde_json v1.0.44 [INFO] [stderr] Downloaded toml v0.5.5 [INFO] [stderr] Downloaded syn v1.0.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ef99e8759c5d84749d7986d3288d5049af9a8ad27d217b8af236ccf314637530 [INFO] running `Command { std: "docker" "start" "-a" "ef99e8759c5d84749d7986d3288d5049af9a8ad27d217b8af236ccf314637530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef99e8759c5d84749d7986d3288d5049af9a8ad27d217b8af236ccf314637530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef99e8759c5d84749d7986d3288d5049af9a8ad27d217b8af236ccf314637530", kill_on_drop: false }` [INFO] [stdout] ef99e8759c5d84749d7986d3288d5049af9a8ad27d217b8af236ccf314637530 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] cf010492b06562d49c31dd475a1e728031d626e3677df58512fb1f511673f464 [INFO] running `Command { std: "docker" "start" "-a" "cf010492b06562d49c31dd475a1e728031d626e3677df58512fb1f511673f464", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling nbindgen v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking quote v1.0.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bindgen/ir/function.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnnotationValue` [INFO] [stdout] --> src/bindgen/ir/mod.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::annotation::{AnnotationSet, AnnotationValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bindgen/ir/function.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnnotationValue` [INFO] [stdout] --> src/bindgen/ir/mod.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::annotation::{AnnotationSet, AnnotationValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `struct_token` and `colon_token` are never read [INFO] [stdout] --> src/bindgen/bitflags.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Bitflags { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | struct_token: Token![struct], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | name: syn::Ident, [INFO] [stdout] 22 | colon_token: Token![:], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bitflags` 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 `const_token`, `equals_token`, and `semicolon_token` are never read [INFO] [stdout] --> src/bindgen/bitflags.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct Flag { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 75 | attrs: Vec, [INFO] [stdout] 76 | const_token: Token![const], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 77 | name: syn::Ident, [INFO] [stdout] 78 | equals_token: Token![=], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | value: syn::Expr, [INFO] [stdout] 80 | semicolon_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flag` 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 `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | Toml(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | version: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `source`, and `features` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | features: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `kind`, `optional`, `uses_default_features`, and `features` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Dependency { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | kind: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | optional: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | uses_default_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `crate_types` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 76 | /// Name as given in the `Cargo.toml` or generated from the file name [INFO] [stdout] 77 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub crate_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `struct_token` and `colon_token` are never read [INFO] [stdout] --> src/bindgen/bitflags.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Bitflags { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | struct_token: Token![struct], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | name: syn::Ident, [INFO] [stdout] 22 | colon_token: Token![:], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bitflags` 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 `const_token`, `equals_token`, and `semicolon_token` are never read [INFO] [stdout] --> src/bindgen/bitflags.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct Flag { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 75 | attrs: Vec, [INFO] [stdout] 76 | const_token: Token![const], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 77 | name: syn::Ident, [INFO] [stdout] 78 | equals_token: Token![=], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | value: syn::Expr, [INFO] [stdout] 80 | semicolon_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flag` 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 `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | Toml(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | version: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `source`, and `features` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | features: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `kind`, `optional`, `uses_default_features`, and `features` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Dependency { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | kind: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | optional: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | uses_default_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `crate_types` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 76 | /// Name as given in the `Cargo.toml` or generated from the file name [INFO] [stdout] 77 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub crate_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bindgen/ir/function.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnnotationValue` [INFO] [stdout] --> src/bindgen/ir/mod.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::annotation::{AnnotationSet, AnnotationValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/tests.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | let mut config = path.clone().to_path_buf(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 17 - let mut config = path.clone().to_path_buf(); [INFO] [stdout] 17 + let mut config = path.to_path_buf(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bindgen/ir/function.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnnotationValue` [INFO] [stdout] --> src/bindgen/ir/mod.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::annotation::{AnnotationSet, AnnotationValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `struct_token` and `colon_token` are never read [INFO] [stdout] --> src/bindgen/bitflags.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Bitflags { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | struct_token: Token![struct], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | name: syn::Ident, [INFO] [stdout] 22 | colon_token: Token![:], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bitflags` 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 `const_token`, `equals_token`, and `semicolon_token` are never read [INFO] [stdout] --> src/bindgen/bitflags.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct Flag { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 75 | attrs: Vec, [INFO] [stdout] 76 | const_token: Token![const], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 77 | name: syn::Ident, [INFO] [stdout] 78 | equals_token: Token![=], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | value: syn::Expr, [INFO] [stdout] 80 | semicolon_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flag` 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 `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | Toml(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | version: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `source`, and `features` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | features: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `req`, `kind`, `optional`, `uses_default_features`, and `features` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Dependency { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | /// Whether this is required or optional [INFO] [stdout] 65 | pub req: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | kind: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | optional: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | uses_default_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `crate_types` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 76 | /// Name as given in the `Cargo.toml` or generated from the file name [INFO] [stdout] 77 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub crate_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | Metadata(Output), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 | Metadata(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/constant.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 279 | pub struct Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 286 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/global.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Static { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Static` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alignment` is never read [INFO] [stdout] --> src/bindgen/ir/structure.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub alignment: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alignment` is never read [INFO] [stdout] --> src/bindgen/ir/union.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Union { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub alignment: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Union` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `struct_token` and `colon_token` are never read [INFO] [stdout] --> src/bindgen/bitflags.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Bitflags { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | struct_token: Token![struct], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | name: syn::Ident, [INFO] [stdout] 22 | colon_token: Token![:], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bitflags` 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 `const_token`, `equals_token`, and `semicolon_token` are never read [INFO] [stdout] --> src/bindgen/bitflags.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct Flag { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 75 | attrs: Vec, [INFO] [stdout] 76 | const_token: Token![const], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 77 | name: syn::Ident, [INFO] [stdout] 78 | equals_token: Token![=], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | value: syn::Expr, [INFO] [stdout] 80 | semicolon_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flag` 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 `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | Toml(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | version: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `source`, and `features` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | features: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `req`, `kind`, `optional`, `uses_default_features`, and `features` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Dependency { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | /// Whether this is required or optional [INFO] [stdout] 65 | pub req: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | kind: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | optional: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | uses_default_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `crate_types` are never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 76 | /// Name as given in the `Cargo.toml` or generated from the file name [INFO] [stdout] 77 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub crate_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_metadata.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | Metadata(Output), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 | Metadata(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/constant.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 279 | pub struct Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 286 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/global.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Static { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Static` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alignment` is never read [INFO] [stdout] --> src/bindgen/ir/structure.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub alignment: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alignment` is never read [INFO] [stdout] --> src/bindgen/ir/union.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Union { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub alignment: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Union` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.90s [INFO] running `Command { std: "docker" "inspect" "cf010492b06562d49c31dd475a1e728031d626e3677df58512fb1f511673f464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf010492b06562d49c31dd475a1e728031d626e3677df58512fb1f511673f464", kill_on_drop: false }` [INFO] [stdout] cf010492b06562d49c31dd475a1e728031d626e3677df58512fb1f511673f464