[INFO] fetching crate nbindgen 0.0.1...
[INFO] checking nbindgen-0.0.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[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 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded remove_dir_all v0.5.2
[INFO] [stderr]   Downloaded serde v1.0.104
[INFO] [stderr]   Downloaded toml v0.5.5
[INFO] [stderr]   Downloaded serde_derive v1.0.104
[INFO] [stderr]   Downloaded serde_json v1.0.44
[INFO] [stderr]   Downloaded ryu v1.0.2
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b87c2ffabadb90579caf8ba40e7709793174d76c32c3a0ff3e780a2801d2fe50
[INFO] running `Command { std: "docker" "start" "-a" "b87c2ffabadb90579caf8ba40e7709793174d76c32c3a0ff3e780a2801d2fe50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b87c2ffabadb90579caf8ba40e7709793174d76c32c3a0ff3e780a2801d2fe50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b87c2ffabadb90579caf8ba40e7709793174d76c32c3a0ff3e780a2801d2fe50", kill_on_drop: false }`
[INFO] [stdout] b87c2ffabadb90579caf8ba40e7709793174d76c32c3a0ff3e780a2801d2fe50
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f62fad79b7315020b23b648a1fc5e1d9064e49d5d806a86a385c6dd927024cea
[INFO] running `Command { std: "docker" "start" "-a" "f62fad79b7315020b23b648a1fc5e1d9064e49d5d806a86a385c6dd927024cea", 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 getrandom v0.1.13
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]     Checking unicode-xid v0.2.0
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]    Compiling nbindgen v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking vec_map v0.8.1
[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 toml v0.5.5
[INFO] [stderr]     Checking serde_json v1.0.44
[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<syn::Attribute>,
[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 `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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     features: HashMap<String, Vec<String>>,
[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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     kind: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 67 |     optional: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     uses_default_features: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 69 |     features: Vec<String>,
[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 `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<syn::Attribute>,
[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 `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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     features: HashMap<String, Vec<String>>,
[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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     kind: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 67 |     optional: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     uses_default_features: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 69 |     features: Vec<String>,
[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: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[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]    |                          ^^^^^^^^ help: remove this redundant call
[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] 
[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: 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<syn::Attribute>,
[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 `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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     features: HashMap<String, Vec<String>>,
[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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     kind: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 67 |     optional: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     uses_default_features: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 69 |     features: Vec<String>,
[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: 7 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<syn::Attribute>,
[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 `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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     features: HashMap<String, Vec<String>>,
[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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     kind: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 67 |     optional: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     uses_default_features: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 69 |     features: Vec<String>,
[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: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.68s
[INFO] running `Command { std: "docker" "inspect" "f62fad79b7315020b23b648a1fc5e1d9064e49d5d806a86a385c6dd927024cea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f62fad79b7315020b23b648a1fc5e1d9064e49d5d806a86a385c6dd927024cea", kill_on_drop: false }`
[INFO] [stdout] f62fad79b7315020b23b648a1fc5e1d9064e49d5d806a86a385c6dd927024cea
[INFO] checking nbindgen-0.0.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate nbindgen 0.0.1 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate nbindgen 0.0.1 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-tc2/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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ac90d162d313ef672f8900300bff275d743e3cd694f41bf3faefea9eaa16af3
[INFO] running `Command { std: "docker" "start" "-a" "1ac90d162d313ef672f8900300bff275d743e3cd694f41bf3faefea9eaa16af3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ac90d162d313ef672f8900300bff275d743e3cd694f41bf3faefea9eaa16af3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ac90d162d313ef672f8900300bff275d743e3cd694f41bf3faefea9eaa16af3", kill_on_drop: false }`
[INFO] [stdout] 1ac90d162d313ef672f8900300bff275d743e3cd694f41bf3faefea9eaa16af3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e00a5cd403b808c6c4c55b5fed4677218a0756c89d74452020541973f9cf1415
[INFO] running `Command { std: "docker" "start" "-a" "e00a5cd403b808c6c4c55b5fed4677218a0756c89d74452020541973f9cf1415", 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 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]     Checking unicode-xid v0.2.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]    Compiling nbindgen v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking vec_map v0.8.1
[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<syn::Attribute>,
[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 `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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     features: HashMap<String, Vec<String>>,
[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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     kind: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 67 |     optional: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     uses_default_features: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 69 |     features: Vec<String>,
[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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_lock.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Lock`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_lock.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Package`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Metadata`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:36:45
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Clone, Debug, Hash, Eq, PartialEq, Serialize, Deserialize)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_PackageRef`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:36:56
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Clone, Debug, Hash, Eq, PartialEq, Serialize, Deserialize)]
[INFO] [stdout]    |                                                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_PackageRef`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Package`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Dependency`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Target`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_toml.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Manifest`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_toml.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Package`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:111:24
[INFO] [stdout]     |
[INFO] [stdout] 111 | #[derive(Debug, Clone, Deserialize, Default)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ExportConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:156:33
[INFO] [stdout]     |
[INFO] [stdout] 156 | #[derive(Debug, Default, Clone, Deserialize)]
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LayoutConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:179:24
[INFO] [stdout]     |
[INFO] [stdout] 179 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_FunctionConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:225:33
[INFO] [stdout]     |
[INFO] [stdout] 225 | #[derive(Debug, Default, Clone, Deserialize)]
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_StructConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:255:24
[INFO] [stdout]     |
[INFO] [stdout] 255 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_EnumConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:318:24
[INFO] [stdout]     |
[INFO] [stdout] 318 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ConstantConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:336:24
[INFO] [stdout]     |
[INFO] [stdout] 336 | #[derive(Debug, Clone, Deserialize, Default)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_MacroExpansionConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:346:24
[INFO] [stdout]     |
[INFO] [stdout] 346 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ParseExpandConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:412:33
[INFO] [stdout]     |
[INFO] [stdout] 412 | #[derive(Debug, Default, Clone, Deserialize)]
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ParseConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:457:24
[INFO] [stdout]     |
[INFO] [stdout] 457 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nbindgen` (lib test) due to 21 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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<syn::Attribute>,
[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 `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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     features: HashMap<String, Vec<String>>,
[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<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     kind: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 67 |     optional: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     uses_default_features: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 69 |     features: Vec<String>,
[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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_lock.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Lock`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_lock.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Package`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Metadata`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:36:45
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Clone, Debug, Hash, Eq, PartialEq, Serialize, Deserialize)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_PackageRef`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:36:56
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Clone, Debug, Hash, Eq, PartialEq, Serialize, Deserialize)]
[INFO] [stdout]    |                                                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_PackageRef`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Package`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Dependency`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_metadata.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Target`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_toml.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Manifest`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bindgen/cargo/cargo_toml.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Package`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:111:24
[INFO] [stdout]     |
[INFO] [stdout] 111 | #[derive(Debug, Clone, Deserialize, Default)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ExportConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:156:33
[INFO] [stdout]     |
[INFO] [stdout] 156 | #[derive(Debug, Default, Clone, Deserialize)]
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LayoutConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:179:24
[INFO] [stdout]     |
[INFO] [stdout] 179 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_FunctionConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:225:33
[INFO] [stdout]     |
[INFO] [stdout] 225 | #[derive(Debug, Default, Clone, Deserialize)]
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_StructConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:255:24
[INFO] [stdout]     |
[INFO] [stdout] 255 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_EnumConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:318:24
[INFO] [stdout]     |
[INFO] [stdout] 318 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ConstantConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:336:24
[INFO] [stdout]     |
[INFO] [stdout] 336 | #[derive(Debug, Clone, Deserialize, Default)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_MacroExpansionConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:346:24
[INFO] [stdout]     |
[INFO] [stdout] 346 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ParseExpandConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:412:33
[INFO] [stdout]     |
[INFO] [stdout] 412 | #[derive(Debug, Default, Clone, Deserialize)]
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ParseConfig`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/bindgen/config.rs:457:24
[INFO] [stdout]     |
[INFO] [stdout] 457 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nbindgen` (lib) due to 21 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e00a5cd403b808c6c4c55b5fed4677218a0756c89d74452020541973f9cf1415", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e00a5cd403b808c6c4c55b5fed4677218a0756c89d74452020541973f9cf1415", kill_on_drop: false }`
[INFO] [stdout] e00a5cd403b808c6c4c55b5fed4677218a0756c89d74452020541973f9cf1415
