[INFO] fetching crate wrapped_mono 0.4.0... [INFO] testing wrapped_mono-0.4.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate wrapped_mono 0.4.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wrapped_mono 0.4.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ddf98dfd157e6ac873168d1559ff5713a1bb6a6fc2671f8a3b400c9f59c90f6 [INFO] running `Command { std: "docker" "start" "-a" "4ddf98dfd157e6ac873168d1559ff5713a1bb6a6fc2671f8a3b400c9f59c90f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ddf98dfd157e6ac873168d1559ff5713a1bb6a6fc2671f8a3b400c9f59c90f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ddf98dfd157e6ac873168d1559ff5713a1bb6a6fc2671f8a3b400c9f59c90f6", kill_on_drop: false }` [INFO] [stdout] 4ddf98dfd157e6ac873168d1559ff5713a1bb6a6fc2671f8a3b400c9f59c90f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1789848a466c818cb93909a9e20f19ad6bee8e3e9c86dff7f3d7f475b0bd3d33 [INFO] running `Command { std: "docker" "start" "-a" "1789848a466c818cb93909a9e20f19ad6bee8e3e9c86dff7f3d7f475b0bd3d33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling wrapped_mono v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [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)]` (part of `#[warn(unused)]`) 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]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/array.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/array.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/exception.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 663 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/exception.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/mstring.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [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: `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: 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.19s [INFO] running `Command { std: "docker" "inspect" "1789848a466c818cb93909a9e20f19ad6bee8e3e9c86dff7f3d7f475b0bd3d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1789848a466c818cb93909a9e20f19ad6bee8e3e9c86dff7f3d7f475b0bd3d33", kill_on_drop: false }` [INFO] [stdout] 1789848a466c818cb93909a9e20f19ad6bee8e3e9c86dff7f3d7f475b0bd3d33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16e7c9d2e85f0d66cb7e35db0ae0d9c6fc2b1d29ed7098fd8525fa3c8d468e37 [INFO] running `Command { std: "docker" "start" "-a" "16e7c9d2e85f0d66cb7e35db0ae0d9c6fc2b1d29ed7098fd8525fa3c8d468e37", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bencher v0.1.5 [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)]` (part of `#[warn(unused)]`) 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]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/array.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/array.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/exception.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 663 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/exception.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/mstring.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [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: `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: 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling wrapped_mono v0.4.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/array.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/array.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/exception.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 663 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/exception.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/mstring.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [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: `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: 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcwssjC4/symbols.o" "<11 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lmono-2.0" "-lstdc++" "-lz" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{librusty_fork-5779fc2f6cb5c353,libwait_timeout-43e98a44e1dfa663,liblibc-443b079b1166f8d5,libtempfile-86523a8e8b0fc8b0,libfastrand-751bcde24b8aa073,librustix-6a4d7fe3ba882e81,libbitflags-c95e5b195a86a9bf,liblinux_raw_sys-07d08e485b51e8af,libcfg_if-3e7fc4e38d4a72b5,libonce_cell-6e55604dfe6ae9d1,libfnv-79e2cbfbe03dcd16,libquick_error-9f96d0cb10ca2956}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcwssjC4/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/wrapped_mono-a7cceb982da1e335" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lmono-2.0 [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wrapped_mono` (lib test) due to 1 previous error; 48 warnings emitted [INFO] running `Command { std: "docker" "inspect" "16e7c9d2e85f0d66cb7e35db0ae0d9c6fc2b1d29ed7098fd8525fa3c8d468e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e7c9d2e85f0d66cb7e35db0ae0d9c6fc2b1d29ed7098fd8525fa3c8d468e37", kill_on_drop: false }` [INFO] [stdout] 16e7c9d2e85f0d66cb7e35db0ae0d9c6fc2b1d29ed7098fd8525fa3c8d468e37