[INFO] fetching crate emf-core-base-rs 0.1.3... [INFO] checking emf-core-base-rs-0.1.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate emf-core-base-rs 0.1.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate emf-core-base-rs 0.1.3 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 524d5ad9364708a3665e0fbdc82cbaf784f67f5ab06270856ef1a007d97e774b [INFO] running `Command { std: "docker" "start" "-a" "524d5ad9364708a3665e0fbdc82cbaf784f67f5ab06270856ef1a007d97e774b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "524d5ad9364708a3665e0fbdc82cbaf784f67f5ab06270856ef1a007d97e774b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "524d5ad9364708a3665e0fbdc82cbaf784f67f5ab06270856ef1a007d97e774b", kill_on_drop: false }` [INFO] [stdout] 524d5ad9364708a3665e0fbdc82cbaf784f67f5ab06270856ef1a007d97e774b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 320dcbbdd51c8ccf02bf25e6e02cbd350691d7aeb360cc7ad065661987a0ec9c [INFO] running `Command { std: "docker" "start" "-a" "320dcbbdd51c8ccf02bf25e6e02cbd350691d7aeb360cc7ad065661987a0ec9c", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking emf-core-base-rs-ffi v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking emf-core-base-rs v0.1.3 (/opt/rustwide/workdir) [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] 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: 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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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: 11 warnings emitted [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.20s [INFO] running `Command { std: "docker" "inspect" "320dcbbdd51c8ccf02bf25e6e02cbd350691d7aeb360cc7ad065661987a0ec9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "320dcbbdd51c8ccf02bf25e6e02cbd350691d7aeb360cc7ad065661987a0ec9c", kill_on_drop: false }` [INFO] [stdout] 320dcbbdd51c8ccf02bf25e6e02cbd350691d7aeb360cc7ad065661987a0ec9c