[INFO] cloning repository https://github.com/arnetheduck/nbindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arnetheduck/nbindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnetheduck%2Fnbindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnetheduck%2Fnbindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e80a85f1505d78eeae78ce33b6f406603be27d35 [INFO] checking arnetheduck/nbindgen against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnetheduck%2Fnbindgen" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/arnetheduck/nbindgen [INFO] finished tweaking git repo https://github.com/arnetheduck/nbindgen [INFO] tweaked toml for git repo https://github.com/arnetheduck/nbindgen written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arnetheduck/nbindgen on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arnetheduck/nbindgen 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54808ff22a84890ace842f57a9c41f4c932e750332ee20dee348d29d49939763 [INFO] running `Command { std: "docker" "start" "-a" "54808ff22a84890ace842f57a9c41f4c932e750332ee20dee348d29d49939763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54808ff22a84890ace842f57a9c41f4c932e750332ee20dee348d29d49939763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54808ff22a84890ace842f57a9c41f4c932e750332ee20dee348d29d49939763", kill_on_drop: false }` [INFO] [stdout] 54808ff22a84890ace842f57a9c41f4c932e750332ee20dee348d29d49939763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b526deb74cc3d5b9bcf9ab9ef5aaecd26b7cfec1310c9abe3aca682173420ef [INFO] running `Command { std: "docker" "start" "-a" "7b526deb74cc3d5b9bcf9ab9ef5aaecd26b7cfec1310c9abe3aca682173420ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Compiling nbindgen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/builder.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, Profile}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/builder.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, Profile}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/cdecl.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::{Config, Language, reserved}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::PrimitiveType` [INFO] [stdout] --> src/bindgen/cdecl.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::ir::PrimitiveType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/cdecl.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::{Config, Language, reserved}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::PrimitiveType` [INFO] [stdout] --> src/bindgen/cdecl.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::ir::PrimitiveType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/annotation.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/annotation.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bindgen::declarationtyperesolver::DeclarationTypeResolver` [INFO] [stdout] --> src/bindgen/ir/constant.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::bindgen::declarationtyperesolver::DeclarationTypeResolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bindgen::declarationtyperesolver::DeclarationTypeResolver` [INFO] [stdout] --> src/bindgen/ir/constant.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::bindgen::declarationtyperesolver::DeclarationTypeResolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/documentation.rs:7:79 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, DocumentationLength, DocumentationStyle, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeprecatedNoteKind` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | AnnotationSet, AnnotationValue, Cfg, ConditionWrite, DeprecatedNoteKind, Documentation, Field, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/documentation.rs:7:79 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, DocumentationLength, DocumentationStyle, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeprecatedNoteKind` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | AnnotationSet, AnnotationValue, Cfg, ConditionWrite, DeprecatedNoteKind, Documentation, Field, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/field.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/function.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/opaque.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/ty.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/field.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/function.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/opaque.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/ty.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | AnnotationSet, Cfg, ConditionWrite, Documentation, Field, GenericArgument, GenericParams, Item, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/union.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, LayoutConfig}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/library.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, SortKey}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bindgen/mangle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::writer::Source` [INFO] [stdout] --> src/bindgen/mangle.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::writer::Source; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Braces` and `Language` [INFO] [stdout] --> src/bindgen/writer.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Braces, Config, Language}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | AnnotationSet, Cfg, ConditionWrite, Documentation, Field, GenericArgument, GenericParams, Item, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/union.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, LayoutConfig}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/library.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, SortKey}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bindgen/mangle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::writer::Source` [INFO] [stdout] --> src/bindgen/mangle.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::writer::Source; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Braces` and `Language` [INFO] [stdout] --> src/bindgen/writer.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Braces, Config, Language}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen/cdecl.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_is_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let next_is_pointer = iter_rev.peek().map_or(false, |x| x.is_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_is_pointer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_const` [INFO] [stdout] --> src/bindgen/cdecl.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | is_const, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `is_const: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_nullable` [INFO] [stdout] --> src/bindgen/cdecl.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | is_nullable, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `is_nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref` [INFO] [stdout] --> src/bindgen/cdecl.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | is_ref, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_ref: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_was_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_was_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant` [INFO] [stdout] --> src/bindgen/cdecl.rs:389:36 [INFO] [stdout] | [INFO] [stdout] 389 | CDeclarator::Array(ref constant) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bindgen/cdecl.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | ref args, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/bindgen/cdecl.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | ref layout, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `layout: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_return` [INFO] [stdout] --> src/bindgen/cdecl.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | is_return, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_return: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen/cdecl.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_is_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let next_is_pointer = iter_rev.peek().map_or(false, |x| x.is_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_is_pointer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_const` [INFO] [stdout] --> src/bindgen/cdecl.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | is_const, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `is_const: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_nullable` [INFO] [stdout] --> src/bindgen/cdecl.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | is_nullable, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `is_nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref` [INFO] [stdout] --> src/bindgen/cdecl.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | is_ref, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_ref: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_was_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_was_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant` [INFO] [stdout] --> src/bindgen/cdecl.rs:389:36 [INFO] [stdout] | [INFO] [stdout] 389 | CDeclarator::Array(ref constant) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bindgen/cdecl.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | ref args, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/bindgen/cdecl.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | ref layout, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `layout: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_return` [INFO] [stdout] --> src/bindgen/cdecl.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | is_return, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_return: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:332:37 [INFO] [stdout] | [INFO] [stdout] 332 | fn write_after(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inline_tag_field` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | inline_tag_field: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline_tag_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:332:37 [INFO] [stdout] | [INFO] [stdout] 332 | fn write_after(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inline_tag_field` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | inline_tag_field: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline_tag_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 14 - Io(io::Error), [INFO] [stdout] 14 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 - Toml(toml::de::Error), [INFO] [stdout] 16 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `typedef` is never used [INFO] [stdout] --> src/bindgen/config.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 52 | impl Language { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 53 | pub(crate) fn typedef(self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `derive_constructor`, `derive_lt`, `derive_lte`, `derive_gt`, `derive_gte`, and `derive_ostream` are never used [INFO] [stdout] --> src/bindgen/config.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 452 | impl StructConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 453 | pub(crate) fn derive_constructor(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub(crate) fn derive_lt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub(crate) fn derive_lte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub(crate) fn derive_gt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub(crate) fn derive_gte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub(crate) fn derive_ostream(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enum_class` is never used [INFO] [stdout] --> src/bindgen/config.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 580 | impl EnumConfig { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub(crate) fn enum_class(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/bindgen/declarationtyperesolver.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DeclarationType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 10 | pub fn to_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enum` is never constructed [INFO] [stdout] --> src/bindgen/ir/annotation.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum DeprecatedNoteKind { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_be_constexpr` and `has_pointer_casts` are never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Literal { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | fn can_be_constexpr(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn has_pointer_casts(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/constant.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub struct Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 559 | 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: method `write_declaration` is never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 663 | impl Constant { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 664 | pub fn write_declaration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_with_default` is never used [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl GenericParams { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn write_with_default(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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: method `emit_bitflags_binop` is never used [INFO] [stdout] --> src/bindgen/ir/structure.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Struct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn emit_bitflags_binop( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_cmp_order` is never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl PrimitiveType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 302 | fn can_cmp_order(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ptr` and `can_cmp_order` are never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 411 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn is_ptr(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 985 | pub fn can_cmp_order(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bindgen/ir/cfg.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey { [INFO] [stdout] | ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 14 - Io(io::Error), [INFO] [stdout] 14 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 - Toml(toml::de::Error), [INFO] [stdout] 16 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `typedef` is never used [INFO] [stdout] --> src/bindgen/config.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 52 | impl Language { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 53 | pub(crate) fn typedef(self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `derive_constructor`, `derive_lt`, `derive_lte`, `derive_gt`, `derive_gte`, and `derive_ostream` are never used [INFO] [stdout] --> src/bindgen/config.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 452 | impl StructConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 453 | pub(crate) fn derive_constructor(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub(crate) fn derive_lt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub(crate) fn derive_lte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub(crate) fn derive_gt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub(crate) fn derive_gte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub(crate) fn derive_ostream(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enum_class` is never used [INFO] [stdout] --> src/bindgen/config.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 580 | impl EnumConfig { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub(crate) fn enum_class(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/bindgen/declarationtyperesolver.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DeclarationType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 10 | pub fn to_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enum` is never constructed [INFO] [stdout] --> src/bindgen/ir/annotation.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum DeprecatedNoteKind { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_be_constexpr` and `has_pointer_casts` are never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Literal { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | fn can_be_constexpr(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn has_pointer_casts(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/constant.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub struct Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 559 | 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: method `write_declaration` is never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 663 | impl Constant { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 664 | pub fn write_declaration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_with_default` is never used [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl GenericParams { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn write_with_default(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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: method `emit_bitflags_binop` is never used [INFO] [stdout] --> src/bindgen/ir/structure.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Struct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn emit_bitflags_binop( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_cmp_order` is never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl PrimitiveType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 302 | fn can_cmp_order(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ptr` and `can_cmp_order` are never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 411 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn is_ptr(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 985 | pub fn can_cmp_order(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bindgen/ir/cfg.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey { [INFO] [stdout] | ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] thread 'rustc' (496) panicked at /rustc-dev/66388cc165a6c4ac98c074dc9f0281ff23528c55/compiler/rustc_ast/src/attr/mod.rs:302:36: [INFO] [stderr] attribute is missing tokens: Attribute { kind: Normal(NormalAttr { item: AttrItem { unsafety: Default, path: Path { span: tests/profile.rs:63:1: 63:8 (#12), segments: [PathSegment { ident: #12, id: NodeId(4294967040), args: None }], tokens: None }, args: Unparsed(Empty), tokens: None }, tokens: None }), id: AttrId(12), style: Outer, span: tests/profile.rs:63:1: 63:8 (#12) } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7c950082bfa3 - <::print::DisplayBacktrace as core[75ca2badb63c4514]::fmt::Display>::fmt [INFO] [stderr] 1: 0x7c9500e0fb48 - core[75ca2badb63c4514]::fmt::write [INFO] [stderr] 2: 0x7c9500842226 - ::write_fmt [INFO] [stderr] 3: 0x7c9500801b98 - std[7d609349af90bec6]::panicking::default_hook::{closure#0} [INFO] [stderr] 4: 0x7c950081f833 - std[7d609349af90bec6]::panicking::default_hook [INFO] [stderr] 5: 0x7c94ff80236a - std[7d609349af90bec6]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 6: 0x7c950081fb12 - std[7d609349af90bec6]::panicking::panic_with_hook [INFO] [stderr] 7: 0x7c9500801c58 - std[7d609349af90bec6]::panicking::panic_handler::{closure#0} [INFO] [stderr] 8: 0x7c95007f89a9 - std[7d609349af90bec6]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] 9: 0x7c950080372d - __rustc[69841a6cbc58d81d]::rust_begin_unwind [INFO] [stderr] 10: 0x7c94fd438f9c - core[75ca2badb63c4514]::panicking::panic_fmt [INFO] [stderr] 11: 0x7c9501be0110 - ::token_trees [INFO] [stderr] 12: 0x7c950241c314 - ::fully_expand_fragment [INFO] [stderr] 13: 0x7c95023e65d2 - ::expand_crate [INFO] [stderr] 14: 0x7c95014f0af3 - rustc_interface[903e43df8d6bd657]::passes::configure_and_expand [INFO] [stderr] 15: 0x7c9502007658 - rustc_interface[903e43df8d6bd657]::passes::resolver_for_lowering_raw [INFO] [stderr] 16: 0x7c95020073cd - rustc_query_impl[8c5349e00d64015e]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 17: 0x7c95020073a7 - >::call_once [INFO] [stderr] 18: 0x7c9501fecb5f - rustc_query_system[d45be4fb383a0235]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[8c5349e00d64015e]::plumbing::QueryCtxt, false> [INFO] [stderr] 19: 0x7c9501fec6bc - rustc_query_impl[8c5349e00d64015e]::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 20: 0x7c950217127b - , rustc_driver_impl[3f9d6dd912ac34bd]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[75ca2badb63c4514]::ops::function::FnOnce<(&rustc_session[1e6875ba352dc1ba]::session::Session, rustc_middle[2342951a64deba5]::ty::context::CurrentGcx, alloc[d7482eb0f1d19161]::sync::Arc, &std[7d609349af90bec6]::sync::once_lock::OnceLock, &rustc_data_structures[c82a87ce5cdbfc92]::sync::worker_local::WorkerLocal, &rustc_data_structures[c82a87ce5cdbfc92]::sync::worker_local::WorkerLocal, rustc_driver_impl[3f9d6dd912ac34bd]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stderr] 21: 0x7c950205ac98 - rustc_interface[903e43df8d6bd657]::interface::run_compiler::<(), rustc_driver_impl[3f9d6dd912ac34bd]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 22: 0x7c9501eeac4e - std[7d609349af90bec6]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 23: 0x7c9501eeaa20 - ::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[75ca2badb63c4514]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 24: 0x7c9501eed138 - ::new::thread_start [INFO] [stderr] 25: 0x7c94fba8aaa4 - [INFO] [stderr] 26: 0x7c94fbb17a64 - clone [INFO] [stderr] 27: 0x0 - [INFO] [stderr] [INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2026-01-09T09_38_42-489.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.94.0-nightly (66388cc16 2026-01-08) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [resolver_for_lowering_raw] getting the resolver for lowering [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `nbindgen` (test "profile") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/66388cc165a6c4ac98c074dc9f0281ff23528c55/bin/rustc --crate-name profile --edition=2018 tests/profile.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="clap"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clap", "default"))' -C metadata=7078ff5945517983 -C extra-filename=-35ced29849ae10bf --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-aebad0b458d2e516.rmeta --extern heck=/opt/rustwide/target/debug/deps/libheck-43b4d5edce4ee68c.rmeta --extern indexmap=/opt/rustwide/target/debug/deps/libindexmap-eaac78fccef1ab89.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-475cb7a7aab4de94.rmeta --extern nbindgen=/opt/rustwide/target/debug/deps/libnbindgen-01e87a810f4f88df.rmeta --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-06c830275cbdd379.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-a6ef60cc31017073.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-7fe7f3baac9cab14.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-a65c45608051fea4.rmeta --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-70f286d76b3dbb25.rmeta --extern syn=/opt/rustwide/target/debug/deps/libsyn-33f40613677f5c0e.rmeta --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-3ce4fd90a367d8b2.rmeta --extern toml=/opt/rustwide/target/debug/deps/libtoml-505b47c388236d98.rmeta --cap-lints=forbid` (exit status: 101) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `nbindgen::*` [INFO] [stdout] --> tests/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nbindgen::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/builder.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, Profile}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/cdecl.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::{Config, Language, reserved}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::PrimitiveType` [INFO] [stdout] --> src/bindgen/cdecl.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::ir::PrimitiveType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/annotation.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bindgen::declarationtyperesolver::DeclarationTypeResolver` [INFO] [stdout] --> src/bindgen/ir/constant.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::bindgen::declarationtyperesolver::DeclarationTypeResolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/documentation.rs:7:79 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, DocumentationLength, DocumentationStyle, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeprecatedNoteKind` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | AnnotationSet, AnnotationValue, Cfg, ConditionWrite, DeprecatedNoteKind, Documentation, Field, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/field.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/function.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/opaque.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/ty.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | AnnotationSet, Cfg, ConditionWrite, Documentation, Field, GenericArgument, GenericParams, Item, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/union.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, LayoutConfig}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/library.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, SortKey}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bindgen/mangle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::writer::Source` [INFO] [stdout] --> src/bindgen/mangle.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::writer::Source; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Braces` and `Language` [INFO] [stdout] --> src/bindgen/writer.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Braces, Config, Language}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/builder.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, Profile}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/cdecl.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::{Config, Language, reserved}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::PrimitiveType` [INFO] [stdout] --> src/bindgen/cdecl.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::ir::PrimitiveType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/annotation.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bindgen::declarationtyperesolver::DeclarationTypeResolver` [INFO] [stdout] --> src/bindgen/ir/constant.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::bindgen::declarationtyperesolver::DeclarationTypeResolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/documentation.rs:7:79 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, DocumentationLength, DocumentationStyle, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeprecatedNoteKind` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | AnnotationSet, AnnotationValue, Cfg, ConditionWrite, DeprecatedNoteKind, Documentation, Field, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/field.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/function.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/opaque.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/ty.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | AnnotationSet, Cfg, ConditionWrite, Documentation, Field, GenericArgument, GenericParams, Item, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/union.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, LayoutConfig}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/library.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, SortKey}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bindgen/mangle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::writer::Source` [INFO] [stdout] --> src/bindgen/mangle.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::writer::Source; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Braces` and `Language` [INFO] [stdout] --> src/bindgen/writer.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Braces, Config, Language}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen/cdecl.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_is_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let next_is_pointer = iter_rev.peek().map_or(false, |x| x.is_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_is_pointer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_const` [INFO] [stdout] --> src/bindgen/cdecl.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | is_const, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `is_const: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_nullable` [INFO] [stdout] --> src/bindgen/cdecl.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | is_nullable, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `is_nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref` [INFO] [stdout] --> src/bindgen/cdecl.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | is_ref, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_ref: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_was_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_was_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant` [INFO] [stdout] --> src/bindgen/cdecl.rs:389:36 [INFO] [stdout] | [INFO] [stdout] 389 | CDeclarator::Array(ref constant) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bindgen/cdecl.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | ref args, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/bindgen/cdecl.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | ref layout, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `layout: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_return` [INFO] [stdout] --> src/bindgen/cdecl.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | is_return, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_return: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen/cdecl.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_is_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let next_is_pointer = iter_rev.peek().map_or(false, |x| x.is_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_is_pointer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_const` [INFO] [stdout] --> src/bindgen/cdecl.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | is_const, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `is_const: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_nullable` [INFO] [stdout] --> src/bindgen/cdecl.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | is_nullable, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `is_nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref` [INFO] [stdout] --> src/bindgen/cdecl.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | is_ref, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_ref: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_was_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_was_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant` [INFO] [stdout] --> src/bindgen/cdecl.rs:389:36 [INFO] [stdout] | [INFO] [stdout] 389 | CDeclarator::Array(ref constant) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bindgen/cdecl.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | ref args, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/bindgen/cdecl.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | ref layout, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `layout: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_return` [INFO] [stdout] --> src/bindgen/cdecl.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | is_return, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_return: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:332:37 [INFO] [stdout] | [INFO] [stdout] 332 | fn write_after(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:332:37 [INFO] [stdout] | [INFO] [stdout] 332 | fn write_after(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inline_tag_field` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | inline_tag_field: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline_tag_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inline_tag_field` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | inline_tag_field: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline_tag_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 14 - Io(io::Error), [INFO] [stdout] 14 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 - Toml(toml::de::Error), [INFO] [stdout] 16 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Language` is never used [INFO] [stdout] --> src/bindgen/config.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Language { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `typedef` is never used [INFO] [stdout] --> src/bindgen/config.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 52 | impl Language { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 53 | pub(crate) fn typedef(self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Braces` is never used [INFO] [stdout] --> src/bindgen/config.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum Braces { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `derive_constructor`, `derive_lt`, `derive_lte`, `derive_gt`, `derive_gte`, and `derive_ostream` are never used [INFO] [stdout] --> src/bindgen/config.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 452 | impl StructConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 453 | pub(crate) fn derive_constructor(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub(crate) fn derive_lt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub(crate) fn derive_lte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub(crate) fn derive_gt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub(crate) fn derive_gte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub(crate) fn derive_ostream(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enum_class` is never used [INFO] [stdout] --> src/bindgen/config.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 580 | impl EnumConfig { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub(crate) fn enum_class(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/bindgen/declarationtyperesolver.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DeclarationType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 10 | pub fn to_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enum` is never constructed [INFO] [stdout] --> src/bindgen/ir/annotation.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum DeprecatedNoteKind { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_be_constexpr` and `has_pointer_casts` are never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Literal { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | fn can_be_constexpr(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn has_pointer_casts(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/constant.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub struct Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 559 | 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: method `write_declaration` is never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 663 | impl Constant { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 664 | pub fn write_declaration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_with_default` is never used [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl GenericParams { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn write_with_default(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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: method `emit_bitflags_binop` is never used [INFO] [stdout] --> src/bindgen/ir/structure.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Struct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn emit_bitflags_binop( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_cmp_order` is never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl PrimitiveType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 302 | fn can_cmp_order(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ptr` and `can_cmp_order` are never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 411 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn is_ptr(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 985 | pub fn can_cmp_order(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_set_spaces` is never used [INFO] [stdout] --> src/bindgen/writer.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, F: Write> SourceWriter<'a, F> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn pop_set_spaces(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bindgen/ir/cfg.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey { [INFO] [stdout] | ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 14 - Io(io::Error), [INFO] [stdout] 14 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 - Toml(toml::de::Error), [INFO] [stdout] 16 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Language` is never used [INFO] [stdout] --> src/bindgen/config.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Language { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `typedef` is never used [INFO] [stdout] --> src/bindgen/config.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 52 | impl Language { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 53 | pub(crate) fn typedef(self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Braces` is never used [INFO] [stdout] --> src/bindgen/config.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum Braces { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `derive_constructor`, `derive_lt`, `derive_lte`, `derive_gt`, `derive_gte`, and `derive_ostream` are never used [INFO] [stdout] --> src/bindgen/config.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 452 | impl StructConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 453 | pub(crate) fn derive_constructor(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub(crate) fn derive_lt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub(crate) fn derive_lte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub(crate) fn derive_gt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub(crate) fn derive_gte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub(crate) fn derive_ostream(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enum_class` is never used [INFO] [stdout] --> src/bindgen/config.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 580 | impl EnumConfig { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub(crate) fn enum_class(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/bindgen/declarationtyperesolver.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DeclarationType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 10 | pub fn to_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enum` is never constructed [INFO] [stdout] --> src/bindgen/ir/annotation.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum DeprecatedNoteKind { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_be_constexpr` and `has_pointer_casts` are never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Literal { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | fn can_be_constexpr(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn has_pointer_casts(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/constant.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub struct Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 559 | 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: method `write_declaration` is never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 663 | impl Constant { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 664 | pub fn write_declaration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_with_default` is never used [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl GenericParams { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn write_with_default(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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: method `emit_bitflags_binop` is never used [INFO] [stdout] --> src/bindgen/ir/structure.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Struct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn emit_bitflags_binop( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_cmp_order` is never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl PrimitiveType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 302 | fn can_cmp_order(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ptr` and `can_cmp_order` are never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 411 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn is_ptr(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 985 | pub fn can_cmp_order(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_set_spaces` is never used [INFO] [stdout] --> src/bindgen/writer.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, F: Write> SourceWriter<'a, F> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn pop_set_spaces(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bindgen/ir/cfg.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey { [INFO] [stdout] | ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7b526deb74cc3d5b9bcf9ab9ef5aaecd26b7cfec1310c9abe3aca682173420ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b526deb74cc3d5b9bcf9ab9ef5aaecd26b7cfec1310c9abe3aca682173420ef", kill_on_drop: false }` [INFO] [stdout] 7b526deb74cc3d5b9bcf9ab9ef5aaecd26b7cfec1310c9abe3aca682173420ef