[INFO] fetching crate wrapped_mono 0.4.0... [INFO] testing wrapped_mono-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wrapped_mono 0.4.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wrapped_mono 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53e456234650786bccc842efa467d8ccc9406427f8e547cd78fb79d531431fba [INFO] running `Command { std: "docker" "start" "-a" "53e456234650786bccc842efa467d8ccc9406427f8e547cd78fb79d531431fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53e456234650786bccc842efa467d8ccc9406427f8e547cd78fb79d531431fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e456234650786bccc842efa467d8ccc9406427f8e547cd78fb79d531431fba", kill_on_drop: false }` [INFO] [stdout] 53e456234650786bccc842efa467d8ccc9406427f8e547cd78fb79d531431fba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40e2b5bf7d4e53c7db3d251dd86d71b42e1aae88f59eb902b96746483690a9d3 [INFO] running `Command { std: "docker" "start" "-a" "40e2b5bf7d4e53c7db3d251dd86d71b42e1aae88f59eb902b96746483690a9d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wrapped_mono v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling document-features v0.2.10 [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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: 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: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)]` (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 7.01s [INFO] running `Command { std: "docker" "inspect" "40e2b5bf7d4e53c7db3d251dd86d71b42e1aae88f59eb902b96746483690a9d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e2b5bf7d4e53c7db3d251dd86d71b42e1aae88f59eb902b96746483690a9d3", kill_on_drop: false }` [INFO] [stdout] 40e2b5bf7d4e53c7db3d251dd86d71b42e1aae88f59eb902b96746483690a9d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29184ade14adb53c865156d0fd3e141cfbab719ee8338e873e3916e83cf7c692 [INFO] running `Command { std: "docker" "start" "-a" "29184ade14adb53c865156d0fd3e141cfbab719ee8338e873e3916e83cf7c692", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rustix v0.38.42 [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 quick-error v1.2.3 [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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: 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: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)]` (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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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: 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: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)]` (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/rustcA8O6ag/symbols.o" "<17 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-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{librusty_fork-0046561d390ae571,libwait_timeout-f357eaa333d1e543,liblibc-2ac1cb2f7679afc6,libtempfile-3e3311a3d568b7f1,libfastrand-503f12a96d791409,librustix-fa58a23b6190f51b,libbitflags-eb92e23a18d5cc91,liblinux_raw_sys-dd10f1d1b50fcb6c,libcfg_if-33ef6c02a07f9fec,libonce_cell-f11fc08f457bd5c4,libfnv-2d77ec4f6f971b24,libquick_error-d40abd8d97f0f2e3}.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/rustcA8O6ag/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-a080fd4c05d1d7ef" "-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" "29184ade14adb53c865156d0fd3e141cfbab719ee8338e873e3916e83cf7c692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29184ade14adb53c865156d0fd3e141cfbab719ee8338e873e3916e83cf7c692", kill_on_drop: false }` [INFO] [stdout] 29184ade14adb53c865156d0fd3e141cfbab719ee8338e873e3916e83cf7c692