[INFO] fetching crate emf-core-base-rs 0.1.3... [INFO] testing emf-core-base-rs-0.1.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-2 [INFO] extracting crate emf-core-base-rs 0.1.3 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate emf-core-base-rs 0.1.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--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] Locking 20 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded emf-core-base-rs-ffi v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55b1f39687f49952f34c8eac205b2fd4b3a695ff3dfa2ba4db04df34c77da9ea [INFO] running `Command { std: "docker" "start" "-a" "55b1f39687f49952f34c8eac205b2fd4b3a695ff3dfa2ba4db04df34c77da9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55b1f39687f49952f34c8eac205b2fd4b3a695ff3dfa2ba4db04df34c77da9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b1f39687f49952f34c8eac205b2fd4b3a695ff3dfa2ba4db04df34c77da9ea", kill_on_drop: false }` [INFO] [stdout] 55b1f39687f49952f34c8eac205b2fd4b3a695ff3dfa2ba4db04df34c77da9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb40d007eb4b4d237f8e6288e3a9cbd192ad75065e3fd3a639342dba77fe874b [INFO] running `Command { std: "docker" "start" "-a" "cb40d007eb4b4d237f8e6288e3a9cbd192ad75065e3fd3a639342dba77fe874b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling emf-core-base-rs-ffi v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling 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: 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] 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.19s [INFO] running `Command { std: "docker" "inspect" "cb40d007eb4b4d237f8e6288e3a9cbd192ad75065e3fd3a639342dba77fe874b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb40d007eb4b4d237f8e6288e3a9cbd192ad75065e3fd3a639342dba77fe874b", kill_on_drop: false }` [INFO] [stdout] cb40d007eb4b4d237f8e6288e3a9cbd192ad75065e3fd3a639342dba77fe874b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7a7560f048aef05d96c4505240742e54b60684e2c196fed2196820df6a6d985 [INFO] running `Command { std: "docker" "start" "-a" "e7a7560f048aef05d96c4505240742e54b60684e2c196fed2196820df6a6d985", kill_on_drop: false }` [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: 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] 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] [stderr] Compiling emf-core-base-rs v0.1.3 (/opt/rustwide/workdir) [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] 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: 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] 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "e7a7560f048aef05d96c4505240742e54b60684e2c196fed2196820df6a6d985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a7560f048aef05d96c4505240742e54b60684e2c196fed2196820df6a6d985", kill_on_drop: false }` [INFO] [stdout] e7a7560f048aef05d96c4505240742e54b60684e2c196fed2196820df6a6d985 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8e6737680bf2ed60460c8f05ee790e37465866c974da9af0ad6f76c3afbc683 [INFO] running `Command { std: "docker" "start" "-a" "b8e6737680bf2ed60460c8f05ee790e37465866c974da9af0ad6f76c3afbc683", kill_on_drop: false }` [INFO] [stderr] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | #![feature(const_fn_trait_bound)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `c_unwind` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | #![feature(c_unwind)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/extensions/unwind_internal.rs:230:40 [INFO] [stderr] | [INFO] [stderr] 230 | use std::panic::{AssertUnwindSafe, PanicInfo, UnwindSafe}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/extensions/unwind_internal.rs:271:26 [INFO] [stderr] | [INFO] [stderr] 271 | fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/library/library_loader.rs:481:25 [INFO] [stderr] | [INFO] [stderr] 481 | internal.borrow().as_handle(), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 481 - internal.borrow().as_handle(), [INFO] [stderr] 481 + internal.as_handle(), [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `InternalLibrary`, implement `Clone` for it [INFO] [stderr] --> src/library.rs:159:1 [INFO] [stderr] | [INFO] [stderr] 159 + #[derive(Clone)] [INFO] [stderr] 160 | pub struct InternalLibrary { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/library/library_loader.rs:504:25 [INFO] [stderr] | [INFO] [stderr] 504 | internal.borrow().as_handle(), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 504 - internal.borrow().as_handle(), [INFO] [stderr] 504 + internal.as_handle(), [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `InternalLibrary`, implement `Clone` for it [INFO] [stderr] --> src/library.rs:159:1 [INFO] [stderr] | [INFO] [stderr] 159 + #[derive(Clone)] [INFO] [stderr] 160 | pub struct InternalLibrary { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/library/library_loader.rs:801:40 [INFO] [stderr] | [INFO] [stderr] 801 | .get_native_handle(internal.borrow().as_handle()) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 801 - .get_native_handle(internal.borrow().as_handle()) [INFO] [stderr] 801 + .get_native_handle(internal.as_handle()) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `InternalLibrary`, implement `Clone` for it [INFO] [stderr] --> src/library.rs:159:1 [INFO] [stderr] | [INFO] [stderr] 159 + #[derive(Clone)] [INFO] [stderr] 160 | pub struct InternalLibrary { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/global.rs:151:16 [INFO] [stderr] | [INFO] [stderr] 151 | unsafe { &*INTERFACE.as_ptr() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/global.rs:159:20 [INFO] [stderr] | [INFO] [stderr] 159 | unsafe { &mut *INTERFACE.as_mut_ptr() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/global/extensions/unwind_internal.rs:41:16 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe { &*INTERFACE.as_ptr() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/global/extensions/unwind_internal.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | unsafe { &mut *INTERFACE.as_mut_ptr() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `emf-core-base-rs` (lib) generated 11 warnings (run `cargo fix --lib -p emf-core-base-rs` to apply 3 suggestions) [INFO] [stderr] warning: `emf-core-base-rs` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/emf_core_base_rs-9456068fb158013f) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test extensions::unwind_internal::default_context::tests::test_ext_panic_empty ... ok [INFO] [stdout] test extensions::unwind_internal::default_context::tests::test_ext_panic ... ok [INFO] [stdout] test extensions::unwind_internal::default_context::tests::test_rust_panic ... ok [INFO] [stdout] test extensions::unwind_internal::default_context::tests::test_ext_shutdown ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] Doc-tests emf_core_base_rs [INFO] [stderr] warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links` [INFO] [stderr] --> src/lib.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | broken_intra_doc_links [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/global/module.rs - global::module (line 5) - compile ... ok [INFO] [stdout] test src/global/extensions/unwind_internal.rs - global::extensions::unwind_internal (line 5) - compile ... ok [INFO] [stdout] test src/library.rs - library (line 5) - compile ... ok [INFO] [stdout] test src/global/library.rs - global::library (line 5) - compile ... ok [INFO] [stdout] test src/module.rs - module (line 5) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b8e6737680bf2ed60460c8f05ee790e37465866c974da9af0ad6f76c3afbc683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e6737680bf2ed60460c8f05ee790e37465866c974da9af0ad6f76c3afbc683", kill_on_drop: false }` [INFO] [stdout] b8e6737680bf2ed60460c8f05ee790e37465866c974da9af0ad6f76c3afbc683