[INFO] fetching crate emf-core-base-rs 0.1.3... [INFO] checking emf-core-base-rs-0.1.3 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate emf-core-base-rs 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate emf-core-base-rs 0.1.3 [INFO] finished tweaking crates.io crate emf-core-base-rs 0.1.3 [INFO] tweaked toml for crates.io crate emf-core-base-rs 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate emf-core-base-rs 0.1.3 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea54780494f20681cade00ee381a0d1bed3ca2501a4a7bde0c75b9639d60555b [INFO] running `Command { std: "docker" "start" "-a" "ea54780494f20681cade00ee381a0d1bed3ca2501a4a7bde0c75b9639d60555b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea54780494f20681cade00ee381a0d1bed3ca2501a4a7bde0c75b9639d60555b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea54780494f20681cade00ee381a0d1bed3ca2501a4a7bde0c75b9639d60555b", kill_on_drop: false }` [INFO] [stdout] ea54780494f20681cade00ee381a0d1bed3ca2501a4a7bde0c75b9639d60555b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9c7bea76526c997575d41251f06548077b472842a3fc33014a8d1a1d0c44c65 [INFO] running `Command { std: "docker" "start" "-a" "e9c7bea76526c997575d41251f06548077b472842a3fc33014a8d1a1d0c44c65", kill_on_drop: false }` [INFO] [stderr] Checking emf-core-base-rs-ffi v0.1.2 [INFO] [stderr] Checking emf-core-base-rs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn_trait_bound)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `c_unwind` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(c_unwind)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/extensions/unwind_internal.rs:230:40 [INFO] [stdout] | [INFO] [stdout] 230 | use std::panic::{AssertUnwindSafe, PanicInfo, UnwindSafe}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/extensions/unwind_internal.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 271 | fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn_trait_bound)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `c_unwind` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(c_unwind)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/extensions/unwind_internal.rs:230:40 [INFO] [stdout] | [INFO] [stdout] 230 | use std::panic::{AssertUnwindSafe, PanicInfo, UnwindSafe}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/extensions/unwind_internal.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 271 | fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn to_interface(&self) -> NonNullConst { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 245 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 267 | pub unsafe fn unload(&mut self, internal: InternalLibrary) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 332 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 355 | pub unsafe fn get_internal_interface(&self) -> LibraryLoader { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/library/library_loader.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | internal.borrow().as_handle(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `InternalLibrary` does not implement `Borrow`, so calling `borrow` on `&InternalLibrary` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 481 - internal.borrow().as_handle(), [INFO] [stdout] 481 + internal.as_handle(), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `InternalLibrary`, implement `Clone` for it [INFO] [stdout] --> src/library.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 + #[derive(Clone)] [INFO] [stdout] 160 | pub struct InternalLibrary { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/library/library_loader.rs:504:25 [INFO] [stdout] | [INFO] [stdout] 504 | internal.borrow().as_handle(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `InternalLibrary` does not implement `Borrow`, so calling `borrow` on `&InternalLibrary` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 504 - internal.borrow().as_handle(), [INFO] [stdout] 504 + internal.as_handle(), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `InternalLibrary`, implement `Clone` for it [INFO] [stdout] --> src/library.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 + #[derive(Clone)] [INFO] [stdout] 160 | pub struct InternalLibrary { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/library/library_loader.rs:801:40 [INFO] [stdout] | [INFO] [stdout] 801 | .get_native_handle(internal.borrow().as_handle()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `InternalLibrary` does not implement `Borrow`, so calling `borrow` on `&InternalLibrary` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 801 - .get_native_handle(internal.borrow().as_handle()) [INFO] [stdout] 801 + .get_native_handle(internal.as_handle()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `InternalLibrary`, implement `Clone` for it [INFO] [stdout] --> src/library.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 + #[derive(Clone)] [INFO] [stdout] 160 | pub struct InternalLibrary { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn to_interface(&self) -> NonNullConst { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 423 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 445 | pub unsafe fn remove_module(&mut self, module: InternalModule) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:466:28 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 466 | pub unsafe fn load(&mut self, module: &mut InternalModule) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:489:30 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 489 | pub unsafe fn unload(&mut self, module: &mut InternalModule) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:513:34 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 513 | pub unsafe fn initialize(&mut self, module: &mut InternalModule) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:536:33 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 536 | pub unsafe fn terminate(&mut self, module: &mut InternalModule) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 566 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 593 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 621 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 649 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 675 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 701 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 727 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:748:42 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 748 | pub unsafe fn get_internal_interface(&self) -> ModuleLoader { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/global.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { &*INTERFACE.as_ptr() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/global.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { &mut *INTERFACE.as_mut_ptr() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/global/extensions/unwind_internal.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { &*INTERFACE.as_ptr() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/global/extensions/unwind_internal.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { &mut *INTERFACE.as_mut_ptr() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn to_interface(&self) -> NonNullConst { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 245 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 267 | pub unsafe fn unload(&mut self, internal: InternalLibrary) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 332 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/library/library_loader.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 162 | / impl<'a, T, O> Deref for LibraryLoader [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: LibraryLoaderAPI<'a>, [INFO] [stdout] 165 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 166 | { [INFO] [stdout] 167 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 355 | pub unsafe fn get_internal_interface(&self) -> LibraryLoader { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/library/library_loader.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | internal.borrow().as_handle(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `InternalLibrary` does not implement `Borrow`, so calling `borrow` on `&InternalLibrary` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 481 - internal.borrow().as_handle(), [INFO] [stdout] 481 + internal.as_handle(), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `InternalLibrary`, implement `Clone` for it [INFO] [stdout] --> src/library.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 + #[derive(Clone)] [INFO] [stdout] 160 | pub struct InternalLibrary { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/library/library_loader.rs:504:25 [INFO] [stdout] | [INFO] [stdout] 504 | internal.borrow().as_handle(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `InternalLibrary` does not implement `Borrow`, so calling `borrow` on `&InternalLibrary` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 504 - internal.borrow().as_handle(), [INFO] [stdout] 504 + internal.as_handle(), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `InternalLibrary`, implement `Clone` for it [INFO] [stdout] --> src/library.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 + #[derive(Clone)] [INFO] [stdout] 160 | pub struct InternalLibrary { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/library/library_loader.rs:801:40 [INFO] [stdout] | [INFO] [stdout] 801 | .get_native_handle(internal.borrow().as_handle()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `InternalLibrary` does not implement `Borrow`, so calling `borrow` on `&InternalLibrary` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 801 - .get_native_handle(internal.borrow().as_handle()) [INFO] [stdout] 801 + .get_native_handle(internal.as_handle()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `InternalLibrary`, implement `Clone` for it [INFO] [stdout] --> src/library.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 + #[derive(Clone)] [INFO] [stdout] 160 | pub struct InternalLibrary { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn to_interface(&self) -> NonNullConst { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 423 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 445 | pub unsafe fn remove_module(&mut self, module: InternalModule) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:466:28 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 466 | pub unsafe fn load(&mut self, module: &mut InternalModule) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:489:30 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 489 | pub unsafe fn unload(&mut self, module: &mut InternalModule) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:513:34 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 513 | pub unsafe fn initialize(&mut self, module: &mut InternalModule) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:536:33 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 536 | pub unsafe fn terminate(&mut self, module: &mut InternalModule) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 566 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 593 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 621 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 649 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 675 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 701 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 727 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module/module_loader.rs:748:42 [INFO] [stdout] | [INFO] [stdout] 340 | / impl<'a, T, O> Deref for ModuleLoader [INFO] [stdout] 341 | | where [INFO] [stdout] 342 | | T: ModuleLoaderAPI<'a>, [INFO] [stdout] 343 | | O: AccessIdentifier, [INFO] [stdout] | |________________________- trait implemented here [INFO] [stdout] 344 | { [INFO] [stdout] 345 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 748 | pub unsafe fn get_internal_interface(&self) -> ModuleLoader { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/global.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { &*INTERFACE.as_ptr() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/global.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { &mut *INTERFACE.as_mut_ptr() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/global/extensions/unwind_internal.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { &*INTERFACE.as_ptr() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/global/extensions/unwind_internal.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { &mut *INTERFACE.as_mut_ptr() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `emf-core-base-rs` (lib test) due to 21 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `emf-core-base-rs` (lib) due to 21 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e9c7bea76526c997575d41251f06548077b472842a3fc33014a8d1a1d0c44c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9c7bea76526c997575d41251f06548077b472842a3fc33014a8d1a1d0c44c65", kill_on_drop: false }` [INFO] [stdout] e9c7bea76526c997575d41251f06548077b472842a3fc33014a8d1a1d0c44c65