[INFO] fetching crate wrapped_mono 0.4.0... [INFO] testing wrapped_mono-0.4.0 against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] extracting crate wrapped_mono 0.4.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wrapped_mono 0.4.0 on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wrapped_mono_macros v0.4.0 [INFO] [stderr] Downloaded rusty-fork v0.3.0 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded tempfile v3.14.0 [INFO] [stderr] Downloaded windows-targets v0.52.6 [INFO] [stderr] Downloaded strsim v0.10.0 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded home v0.5.11 [INFO] [stderr] Downloaded autocfg v1.4.0 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded humantime v2.1.0 [INFO] [stderr] Downloaded libloading v0.8.6 [INFO] [stderr] Downloaded bencher v0.1.5 [INFO] [stderr] Downloaded clang-sys v1.8.1 [INFO] [stderr] Downloaded log v0.4.22 [INFO] [stderr] Downloaded bitflags v2.6.0 [INFO] [stderr] Downloaded indexmap v1.9.3 [INFO] [stderr] Downloaded minimal-lexical v0.2.1 [INFO] [stderr] Downloaded nom v7.1.3 [INFO] [stderr] Downloaded hashbrown v0.12.3 [INFO] [stderr] Downloaded bindgen v0.60.1 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.6 [INFO] [stderr] Downloaded regex v1.11.1 [INFO] [stderr] Downloaded memchr v2.7.4 [INFO] [stderr] Downloaded aho-corasick v1.1.3 [INFO] [stderr] Downloaded litrs v0.4.1 [INFO] [stderr] Downloaded either v1.13.0 [INFO] [stderr] Downloaded regex-syntax v0.8.5 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded cexpr v0.6.0 [INFO] [stderr] Downloaded glob v0.3.1 [INFO] [stderr] Downloaded bitflags v1.3.2 [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded termcolor v1.4.1 [INFO] [stderr] Downloaded env_logger v0.9.3 [INFO] [stderr] Downloaded rustix v0.38.42 [INFO] [stderr] Downloaded once_cell v1.20.2 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.6 [INFO] [stderr] Downloaded textwrap v0.16.1 [INFO] [stderr] Downloaded winapi-util v0.1.9 [INFO] [stderr] Downloaded errno v0.3.10 [INFO] [stderr] Downloaded libc v0.2.169 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.52.6 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.6 [INFO] [stderr] Downloaded peeking_take_while v0.1.2 [INFO] [stderr] Downloaded rustc-hash v1.1.0 [INFO] [stderr] Downloaded which v4.4.2 [INFO] [stderr] Downloaded document-features v0.2.10 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded cfg-if v1.0.0 [INFO] [stderr] Downloaded regex-automata v0.4.9 [INFO] [stderr] Downloaded lazycell v1.3.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.6 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.6 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.6 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.6 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded linux-raw-sys v0.4.14 [INFO] [stderr] Downloaded windows-sys v0.59.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f0aacfe8f747070ddd86b7c5b4da2483a8736a8eab8abedcd8589cfe796a313 [INFO] running `Command { std: "docker" "start" "-a" "9f0aacfe8f747070ddd86b7c5b4da2483a8736a8eab8abedcd8589cfe796a313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f0aacfe8f747070ddd86b7c5b4da2483a8736a8eab8abedcd8589cfe796a313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0aacfe8f747070ddd86b7c5b4da2483a8736a8eab8abedcd8589cfe796a313", kill_on_drop: false }` [INFO] [stdout] 9f0aacfe8f747070ddd86b7c5b4da2483a8736a8eab8abedcd8589cfe796a313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b10bfa08e8f0d250620e3a0dae217f32e85d84b57af5677f3ae2c422cb7e6361 [INFO] running `Command { std: "docker" "start" "-a" "b10bfa08e8f0d250620e3a0dae217f32e85d84b57af5677f3ae2c422cb7e6361", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling wrapped_mono v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling litrs v0.4.1 [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 4.90s [INFO] running `Command { std: "docker" "inspect" "b10bfa08e8f0d250620e3a0dae217f32e85d84b57af5677f3ae2c422cb7e6361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b10bfa08e8f0d250620e3a0dae217f32e85d84b57af5677f3ae2c422cb7e6361", kill_on_drop: false }` [INFO] [stdout] b10bfa08e8f0d250620e3a0dae217f32e85d84b57af5677f3ae2c422cb7e6361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 342c15fbc4a91ca561e8a25650644380fe67476f141339151f065c805b081899 [INFO] running `Command { std: "docker" "start" "-a" "342c15fbc4a91ca561e8a25650644380fe67476f141339151f065c805b081899", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling wait-timeout v0.2.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] Compiling tempfile v3.14.0 [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmeta8g7j6I" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tempfile` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustix` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/bin/rustc --crate-name rustix --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.38.42/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --warn=unexpected_cfgs --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(target_arch, values("xtensa"))' --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "cc", "compiler_builtins", "core", "default", "event", "fs", "io_uring", "itoa", "libc", "libc-extra-traits", "libc_errno", "linux_4_11", "linux_latest", "mm", "mount", "net", "once_cell", "param", "pipe", "process", "procfs", "pty", "rand", "runtime", "rustc-dep-of-std", "rustc-std-workspace-alloc", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=4d64adca575f6ca9 -C extra-filename=-0523d09b38c8b3c6 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-eb92e23a18d5cc91.rmeta --extern linux_raw_sys=/opt/rustwide/target/debug/deps/liblinux_raw_sys-dd10f1d1b50fcb6c.rmeta --cap-lints allow --cap-lints=forbid --cfg linux_raw --cfg linux_like --cfg linux_kernel` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "342c15fbc4a91ca561e8a25650644380fe67476f141339151f065c805b081899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342c15fbc4a91ca561e8a25650644380fe67476f141339151f065c805b081899", kill_on_drop: false }` [INFO] [stdout] 342c15fbc4a91ca561e8a25650644380fe67476f141339151f065c805b081899