[INFO] fetching crate lazy_static 1.1.1... [INFO] checking lazy_static-1.1.1 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate lazy_static 1.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate lazy_static 1.1.1 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lazy_static 1.1.1 [INFO] finished tweaking crates.io crate lazy_static 1.1.1 [INFO] tweaked toml for crates.io crate lazy_static 1.1.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb8e3233a6dfd2782fe3d0db5200e22904c5ef4ea24441a7b44dcd998ea4e665 [INFO] running `Command { std: "docker" "start" "-a" "eb8e3233a6dfd2782fe3d0db5200e22904c5ef4ea24441a7b44dcd998ea4e665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb8e3233a6dfd2782fe3d0db5200e22904c5ef4ea24441a7b44dcd998ea4e665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb8e3233a6dfd2782fe3d0db5200e22904c5ef4ea24441a7b44dcd998ea4e665", kill_on_drop: false }` [INFO] [stdout] eb8e3233a6dfd2782fe3d0db5200e22904c5ef4ea24441a7b44dcd998ea4e665 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58a0f65ca1e6fae5b506118614682fabe99b4d5daef4c0faba8cb674cbc8793e [INFO] running `Command { std: "docker" "start" "-a" "58a0f65ca1e6fae5b506118614682fabe99b4d5daef4c0faba8cb674cbc8793e", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `lazy::std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/inline_lazy.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/inline_lazy.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | match std::mem::uninitialized::() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `lazy::std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/inline_lazy.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub const INIT: Self = Lazy(None, ONCE_INIT); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `lazy::std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/inline_lazy.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/inline_lazy.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | match std::mem::uninitialized::() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `lazy::std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/inline_lazy.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub const INIT: Self = Lazy(None, ONCE_INIT); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Void` does not permit being left uninitialized [INFO] [stdout] --> src/inline_lazy.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | match std::mem::uninitialized::() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: enums with no variants have no valid value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Void` does not permit being left uninitialized [INFO] [stdout] --> src/inline_lazy.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | match std::mem::uninitialized::() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: enums with no variants have no valid value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> tests/test.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | pub static ref VAR: i32 = { 0 }; [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/test.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | use std::sync::atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/test.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | static PRE_INIT_FLAG: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "58a0f65ca1e6fae5b506118614682fabe99b4d5daef4c0faba8cb674cbc8793e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a0f65ca1e6fae5b506118614682fabe99b4d5daef4c0faba8cb674cbc8793e", kill_on_drop: false }` [INFO] [stdout] 58a0f65ca1e6fae5b506118614682fabe99b4d5daef4c0faba8cb674cbc8793e