[INFO] fetching crate smoke 0.3.1... [INFO] checking smoke-0.3.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate smoke 0.3.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate smoke 0.3.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate smoke 0.3.1 [INFO] finished tweaking crates.io crate smoke 0.3.1 [INFO] tweaked toml for crates.io crate smoke 0.3.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06f521559ded52d5bd6af928b3e495cf5640c031fd78390ba29b4599598fa8aa [INFO] running `Command { std: "docker" "start" "-a" "06f521559ded52d5bd6af928b3e495cf5640c031fd78390ba29b4599598fa8aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06f521559ded52d5bd6af928b3e495cf5640c031fd78390ba29b4599598fa8aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f521559ded52d5bd6af928b3e495cf5640c031fd78390ba29b4599598fa8aa", kill_on_drop: false }` [INFO] [stdout] 06f521559ded52d5bd6af928b3e495cf5640c031fd78390ba29b4599598fa8aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f94d4f774ee95c38af819304b710e2a4c0b2bf28e5ad79145e8558cf369f517f [INFO] running `Command { std: "docker" "start" "-a" "f94d4f774ee95c38af819304b710e2a4c0b2bf28e5ad79145e8558cf369f517f", kill_on_drop: false }` [INFO] [stderr] Checking smoke v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/run.rs:7:71 [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::{catch_unwind, set_hook, take_hook, AssertUnwindSafe, PanicInfo}; [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/run.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | fn dont_print_panic(_: &PanicInfo) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/run.rs:7:71 [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::{catch_unwind, set_hook, take_hook, AssertUnwindSafe, PanicInfo}; [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/run.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | fn dont_print_panic(_: &PanicInfo) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/property/api.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct BoxProperty(Box); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/initonce.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 46 | let cp = &self.content as *const UnsafeCell> as *const MaybeUninit [INFO] [stdout] | ______________________- [INFO] [stdout] 47 | | as *mut MaybeUninit; [INFO] [stdout] | |______________________________________- casting happend here [INFO] [stdout] ... [INFO] [stdout] 50 | let cp_ref = &mut *cp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get` [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/property/api.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct BoxProperty(Box); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/initonce.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 46 | let cp = &self.content as *const UnsafeCell> as *const MaybeUninit [INFO] [stdout] | ______________________- [INFO] [stdout] 47 | | as *mut MaybeUninit; [INFO] [stdout] | |______________________________________- casting happend here [INFO] [stdout] ... [INFO] [stdout] 50 | let cp_ref = &mut *cp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get` [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smoke` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `smoke` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f94d4f774ee95c38af819304b710e2a4c0b2bf28e5ad79145e8558cf369f517f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f94d4f774ee95c38af819304b710e2a4c0b2bf28e5ad79145e8558cf369f517f", kill_on_drop: false }` [INFO] [stdout] f94d4f774ee95c38af819304b710e2a4c0b2bf28e5ad79145e8558cf369f517f