[INFO] fetching crate message_plugins 0.2.0... [INFO] checking message_plugins-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate message_plugins 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate message_plugins 0.2.0 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 message_plugins 0.2.0 [INFO] finished tweaking crates.io crate message_plugins 0.2.0 [INFO] tweaked toml for crates.io crate message_plugins 0.2.0 written to /workspace/builds/worker-3-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] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.7.2) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding libloading v0.6.7 (available: v0.8.5) [INFO] [stderr] Adding pin-project-lite v0.1.12 (available: v0.2.14) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.40.0) [INFO] [stderr] Adding tokio-macros v0.2.6 (available: v2.4.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a50bfd1d6e7d9a42781b1f81b9231d3caab0e48932e42877fd529aaf4d94f1cb [INFO] running `Command { std: "docker" "start" "-a" "a50bfd1d6e7d9a42781b1f81b9231d3caab0e48932e42877fd529aaf4d94f1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a50bfd1d6e7d9a42781b1f81b9231d3caab0e48932e42877fd529aaf4d94f1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a50bfd1d6e7d9a42781b1f81b9231d3caab0e48932e42877fd529aaf4d94f1cb", kill_on_drop: false }` [INFO] [stdout] a50bfd1d6e7d9a42781b1f81b9231d3caab0e48932e42877fd529aaf4d94f1cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 02192b0f0b45442bdade0f6063dea5490426c01c974a859c6e127d704b72062d [INFO] running `Command { std: "docker" "start" "-a" "02192b0f0b45442bdade0f6063dea5490426c01c974a859c6e127d704b72062d", kill_on_drop: false }` [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking message_plugins v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: references are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | if ((*instance.as_ptr()).as_ref() as *const dyn Plugin).is_null() { [INFO] [stdout] | ^-----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `&dyn Plugin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: references are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | if ((*instance.as_ptr()).as_ref() as *const dyn Plugin).is_null() { [INFO] [stdout] | ^-----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `&dyn Plugin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Option<&dyn Any>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | pub type FfiPluginInit = unsafe extern "C" fn(*mut Box>, Option<&dyn Any>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Option<&dyn Any>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | pub type FfiPluginInit = unsafe extern "C" fn(*mut Box>, Option<&dyn Any>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "02192b0f0b45442bdade0f6063dea5490426c01c974a859c6e127d704b72062d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02192b0f0b45442bdade0f6063dea5490426c01c974a859c6e127d704b72062d", kill_on_drop: false }` [INFO] [stdout] 02192b0f0b45442bdade0f6063dea5490426c01c974a859c6e127d704b72062d