[INFO] fetching crate wrapped_mono 0.4.0... [INFO] checking wrapped_mono-0.4.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate wrapped_mono 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate wrapped_mono 0.4.0 [INFO] finished tweaking crates.io crate wrapped_mono 0.4.0 [INFO] tweaked toml for crates.io crate wrapped_mono 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wrapped_mono 0.4.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wrapped_mono 0.4.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wrapped_mono_macros v0.4.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccbd87c3f930482b5087d843e3d310267f7a4976208fdd619eb56ee035fb8321 [INFO] running `Command { std: "docker" "start" "-a" "ccbd87c3f930482b5087d843e3d310267f7a4976208fdd619eb56ee035fb8321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccbd87c3f930482b5087d843e3d310267f7a4976208fdd619eb56ee035fb8321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccbd87c3f930482b5087d843e3d310267f7a4976208fdd619eb56ee035fb8321", kill_on_drop: false }` [INFO] [stdout] ccbd87c3f930482b5087d843e3d310267f7a4976208fdd619eb56ee035fb8321 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d625ea557d2a219d008627183dd503e7985514b88f5d7784b5ef4018082360ec [INFO] running `Command { std: "docker" "start" "-a" "d625ea557d2a219d008627183dd503e7985514b88f5d7784b5ef4018082360ec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling wrapped_mono v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling wrapped_mono_macros v0.4.0 [INFO] [stdout] warning: unused imports: `Method` and `TypeDefinition` [INFO] [stdout] --> src/bindgen.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::metadata::{Method, TypeDefinition}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MethodTable` [INFO] [stdout] --> src/bindgen.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::metadata::{MethodTable, TypeDefOrRef, TypeDefinitionTable, TypeReferenceTable}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/bindgen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::LazyCell` [INFO] [stdout] --> src/class.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cell::LazyCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::LazyLock` [INFO] [stdout] --> src/domain.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::LazyLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(old_gc_unsafe)] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(not(old_gc_unsafe))] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(old_gc_unsafe)] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(not(old_gc_unsafe))] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(old_gc_unsafe)] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(not(old_gc_unsafe))] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InteropSend` [INFO] [stdout] --> src/method.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Class, Exception, InteropSend, Object, ObjectTrait}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MonoClass` and `MonoReflectionType` [INFO] [stdout] --> src/reflection_type.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binds::{MonoClass, MonoObject, MonoReflectionType, MonoType}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dimensions::Dim1D` [INFO] [stdout] --> src/reflection_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dimensions::Dim1D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array` and `Method` [INFO] [stdout] --> src/reflection_type.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Array, Class, Domain, Image, Method}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InteropRecive` and `InteropSend` [INFO] [stdout] --> src/reflection_type.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{InteropClass, InteropRecive, InteropSend}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/reflection_type.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Object, ObjectTrait}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/array.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/array.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/exception.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 663 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/exception.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/mstring.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method` and `TypeDefinition` [INFO] [stdout] --> src/bindgen.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::metadata::{Method, TypeDefinition}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MethodTable` [INFO] [stdout] --> src/bindgen.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::metadata::{MethodTable, TypeDefOrRef, TypeDefinitionTable, TypeReferenceTable}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/bindgen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::LazyCell` [INFO] [stdout] --> src/class.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cell::LazyCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::LazyLock` [INFO] [stdout] --> src/domain.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::LazyLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(old_gc_unsafe)] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(not(old_gc_unsafe))] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(old_gc_unsafe)] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(not(old_gc_unsafe))] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(old_gc_unsafe)] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `old_gc_unsafe` [INFO] [stdout] --> src/gc.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(not(old_gc_unsafe))] [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "old_gc_unsafe"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(old_gc_unsafe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(old_gc_unsafe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InteropSend` [INFO] [stdout] --> src/method.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Class, Exception, InteropSend, Object, ObjectTrait}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MonoClass` and `MonoReflectionType` [INFO] [stdout] --> src/reflection_type.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binds::{MonoClass, MonoObject, MonoReflectionType, MonoType}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dimensions::Dim1D` [INFO] [stdout] --> src/reflection_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dimensions::Dim1D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array` and `Method` [INFO] [stdout] --> src/reflection_type.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Array, Class, Domain, Image, Method}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InteropRecive` and `InteropSend` [INFO] [stdout] --> src/reflection_type.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{InteropClass, InteropRecive, InteropSend}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/reflection_type.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Object, ObjectTrait}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/array.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/array.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut out = self.namespaces_out.get_mut(namespace).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asm_name` [INFO] [stdout] --> src/bindgen.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | asm_name: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asm_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/exception.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 663 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | let mut out = self.namespaces_out.get_mut(&namespace).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | let mut out = self.namespaces_out.get_mut(&namespace).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | let mut out = self.namespaces_out.get_mut(&namespace).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/exception.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/mstring.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let mut out = self.namespaces_out.get_mut(&escaped_namespace).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/bindgen.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(out) = self.namespaces_out.get_mut(namespace) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_index` [INFO] [stdout] --> src/metadata.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | let type_index = src & !(0b11); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/metadata.rs:516:21 [INFO] [stdout] | [INFO] [stdout] 516 | Err(err) => continue, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/metadata.rs:644:13 [INFO] [stdout] | [INFO] [stdout] 644 | for index in 0..ref_count { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/metadata.rs:641:51 [INFO] [stdout] | [INFO] [stdout] 641 | fn from_meta_table(table: &MetadataTableInfo, img: Image) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `except_managed` is never used [INFO] [stdout] --> src/exception.rs:621:15 [INFO] [stdout] | [INFO] [stdout] 621 | pub(crate) fn except_managed(option: Option, msg: &str) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `signature` is never read [INFO] [stdout] --> src/metadata.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 423 | pub struct Signature { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 424 | flags: SignatureFlags, [INFO] [stdout] 425 | signature: Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Signature` 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: fields `rva`, `impl_flags`, `flags`, and `paramlist` are never read [INFO] [stdout] --> src/metadata.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct Method { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 481 | rva: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 482 | impl_flags: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 483 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | paramlist: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/metadata.rs:547:5 [INFO] [stdout] | [INFO] [stdout] 546 | struct TypeFlags { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 547 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags` and `field_list` are never read [INFO] [stdout] --> src/metadata.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 555 | pub struct TypeDefinition { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 556 | flags: TypeFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 560 | field_list: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDefinition` 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 `scope` is never read [INFO] [stdout] --> src/metadata.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 578 | pub struct TypeReference { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 579 | scope: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeReference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VoidPtr` is never used [INFO] [stdout] --> src/tupleutilis.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type VoidPtr = *mut c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bindgen.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / write!( [INFO] [stdout] 40 | | target, [INFO] [stdout] 41 | | "// C# bindings generated by wrapped_mono 0.3.2\n#![allow(dead_code)]\n" [INFO] [stdout] 42 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = write!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bindgen.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / write!( [INFO] [stdout] 158 | | out, [INFO] [stdout] 159 | | "\n\ttype ReturnType = System::Object;\n\ttype Args = (" [INFO] [stdout] 160 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = write!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bindgen.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | ... write!(out, "trait {type_name}_{escaped_name}_DISPATCH_ARGS{{\n\ttype ReturnType;\n\ttype Args;\n\tfn call(args:Args)->Result;\n\t//END\n}}\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 235 | let _ = write!(out, "trait {type_name}_{escaped_name}_DISPATCH_ARGS{{\n\ttype ReturnType;\n\ttype Args;\n\tfn call(args:Args)->Result;\n\t//END\n}}\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bindgen.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | write!(out, "struct {name}{{obj:wrapped_mono::Object}}\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 266 | let _ = write!(out, "struct {name}{{obj:wrapped_mono::Object}}\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bindgen.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | / write!(out,"impl wrapped_mono::InteropClass for {name}{{ [INFO] [stdout] 268 | | fn get_mono_class()->wrapped_mono::Class{{ [INFO] [stdout] 269 | | extern crate lazy_static; [INFO] [stdout] 270 | | lazy_static::lazy_static!{{ [INFO] [stdout] ... | [INFO] [stdout] 280 | | }} [INFO] [stdout] 281 | | }}\n"); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 267 | let _ = write!(out,"impl wrapped_mono::InteropClass for {name}{{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut out = self.namespaces_out.get_mut(namespace).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asm_name` [INFO] [stdout] --> src/bindgen.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | asm_name: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asm_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | let mut out = self.namespaces_out.get_mut(&namespace).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | let mut out = self.namespaces_out.get_mut(&namespace).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | let mut out = self.namespaces_out.get_mut(&namespace).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let mut out = self.namespaces_out.get_mut(&escaped_namespace).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/bindgen.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(out) = self.namespaces_out.get_mut(namespace) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_index` [INFO] [stdout] --> src/metadata.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | let type_index = src & !(0b11); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/metadata.rs:516:21 [INFO] [stdout] | [INFO] [stdout] 516 | Err(err) => continue, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/metadata.rs:644:13 [INFO] [stdout] | [INFO] [stdout] 644 | for index in 0..ref_count { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/metadata.rs:641:51 [INFO] [stdout] | [INFO] [stdout] 641 | fn from_meta_table(table: &MetadataTableInfo, img: Image) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `except_managed` is never used [INFO] [stdout] --> src/exception.rs:621:15 [INFO] [stdout] | [INFO] [stdout] 621 | pub(crate) fn except_managed(option: Option, msg: &str) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `signature` is never read [INFO] [stdout] --> src/metadata.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 423 | pub struct Signature { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 424 | flags: SignatureFlags, [INFO] [stdout] 425 | signature: Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Signature` 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: fields `rva`, `impl_flags`, `flags`, and `paramlist` are never read [INFO] [stdout] --> src/metadata.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct Method { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 481 | rva: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 482 | impl_flags: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 483 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | paramlist: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/metadata.rs:547:5 [INFO] [stdout] | [INFO] [stdout] 546 | struct TypeFlags { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 547 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags` and `field_list` are never read [INFO] [stdout] --> src/metadata.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 555 | pub struct TypeDefinition { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 556 | flags: TypeFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 560 | field_list: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDefinition` 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 `scope` is never read [INFO] [stdout] --> src/metadata.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 578 | pub struct TypeReference { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 579 | scope: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeReference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomClass` is never constructed [INFO] [stdout] --> src/testing/mod.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | struct CustomClass { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VoidPtr` is never used [INFO] [stdout] --> src/tupleutilis.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type VoidPtr = *mut c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bindgen.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / write!( [INFO] [stdout] 40 | | target, [INFO] [stdout] 41 | | "// C# bindings generated by wrapped_mono 0.3.2\n#![allow(dead_code)]\n" [INFO] [stdout] 42 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = write!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bindgen.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / write!( [INFO] [stdout] 158 | | out, [INFO] [stdout] 159 | | "\n\ttype ReturnType = System::Object;\n\ttype Args = (" [INFO] [stdout] 160 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = write!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bindgen.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | ... write!(out, "trait {type_name}_{escaped_name}_DISPATCH_ARGS{{\n\ttype ReturnType;\n\ttype Args;\n\tfn call(args:Args)->Result;\n\t//END\n}}\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 235 | let _ = write!(out, "trait {type_name}_{escaped_name}_DISPATCH_ARGS{{\n\ttype ReturnType;\n\ttype Args;\n\tfn call(args:Args)->Result;\n\t//END\n}}\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bindgen.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | write!(out, "struct {name}{{obj:wrapped_mono::Object}}\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 266 | let _ = write!(out, "struct {name}{{obj:wrapped_mono::Object}}\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bindgen.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | / write!(out,"impl wrapped_mono::InteropClass for {name}{{ [INFO] [stdout] 268 | | fn get_mono_class()->wrapped_mono::Class{{ [INFO] [stdout] 269 | | extern crate lazy_static; [INFO] [stdout] 270 | | lazy_static::lazy_static!{{ [INFO] [stdout] ... | [INFO] [stdout] 280 | | }} [INFO] [stdout] 281 | | }}\n"); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 267 | let _ = write!(out,"impl wrapped_mono::InteropClass for {name}{{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `object::ObjectTrait::get_size` that must be used [INFO] [stdout] --> src/testing/gc.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | obj.get_size(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = obj.get_size(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Option`, which is not FFI-safe [INFO] [stdout] --> src/testing/internal_call.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_object() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.49s [INFO] running `Command { std: "docker" "inspect" "d625ea557d2a219d008627183dd503e7985514b88f5d7784b5ef4018082360ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d625ea557d2a219d008627183dd503e7985514b88f5d7784b5ef4018082360ec", kill_on_drop: false }` [INFO] [stdout] d625ea557d2a219d008627183dd503e7985514b88f5d7784b5ef4018082360ec