[INFO] fetching crate emf-core-base-rs 0.1.3... [INFO] checking emf-core-base-rs-0.1.3 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate emf-core-base-rs 0.1.3 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate emf-core-base-rs 0.1.3 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d965055f44fd4aa8a887816e169fbbe759944a2b289f0d85c0794413c18e45e [INFO] running `Command { std: "docker" "start" "-a" "5d965055f44fd4aa8a887816e169fbbe759944a2b289f0d85c0794413c18e45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d965055f44fd4aa8a887816e169fbbe759944a2b289f0d85c0794413c18e45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d965055f44fd4aa8a887816e169fbbe759944a2b289f0d85c0794413c18e45e", kill_on_drop: false }` [INFO] [stdout] 5d965055f44fd4aa8a887816e169fbbe759944a2b289f0d85c0794413c18e45e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55485e4d7c57b68bd025815a0c6e787cf8cf158805ce4474ef8d2ea0edf8c094 [INFO] running `Command { std: "docker" "start" "-a" "55485e4d7c57b68bd025815a0c6e787cf8cf158805ce4474ef8d2ea0edf8c094", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking emf-core-base-rs-ffi v0.1.2 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking backtrace v0.3.75 [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: 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: 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)]` 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] 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)]` 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 4.61s [INFO] running `Command { std: "docker" "inspect" "55485e4d7c57b68bd025815a0c6e787cf8cf158805ce4474ef8d2ea0edf8c094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55485e4d7c57b68bd025815a0c6e787cf8cf158805ce4474ef8d2ea0edf8c094", kill_on_drop: false }` [INFO] [stdout] 55485e4d7c57b68bd025815a0c6e787cf8cf158805ce4474ef8d2ea0edf8c094