[INFO] fetching crate lazy_static 1.1.1... [INFO] checking lazy_static-1.1.1 against master#a09c668c965f735f4cd59e7158662b9daa0b71ba for pr-98370 [INFO] extracting crate lazy_static 1.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate lazy_static 1.1.1 on toolchain a09c668c965f735f4cd59e7158662b9daa0b71ba [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a09c668c965f735f4cd59e7158662b9daa0b71ba" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a09c668c965f735f4cd59e7158662b9daa0b71ba" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a09c668c965f735f4cd59e7158662b9daa0b71ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin v0.4.10 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+a09c668c965f735f4cd59e7158662b9daa0b71ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e29d2723d11dac0be822c8217ef4ed04899cb4c6d9a2fca8c793ed34159f134 [INFO] running `Command { std: "docker" "start" "-a" "1e29d2723d11dac0be822c8217ef4ed04899cb4c6d9a2fca8c793ed34159f134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e29d2723d11dac0be822c8217ef4ed04899cb4c6d9a2fca8c793ed34159f134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e29d2723d11dac0be822c8217ef4ed04899cb4c6d9a2fca8c793ed34159f134", kill_on_drop: false }` [INFO] [stdout] 1e29d2723d11dac0be822c8217ef4ed04899cb4c6d9a2fca8c793ed34159f134 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+a09c668c965f735f4cd59e7158662b9daa0b71ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 249c79ee9923b3e7b7736c7de306cc288c8056525edc8693cbe87577a13ef786 [INFO] running `Command { std: "docker" "start" "-a" "249c79ee9923b3e7b7736c7de306cc288c8056525edc8693cbe87577a13ef786", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [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:26 [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:21 [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:26 [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:21 [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: unreachable expression [INFO] [stdout] --> src/inline_lazy.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | match std::mem::uninitialized::() {} [INFO] [stdout] | ^^^^^^---------------------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] note: this expression has type `Void`, which is uninhabited [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: unreachable expression [INFO] [stdout] --> src/inline_lazy.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | match std::mem::uninitialized::() {} [INFO] [stdout] | ^^^^^^---------------------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] note: this expression has type `Void`, which is uninhabited [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: 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: 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 105 - pub static ref VAR: i32 = { 0 }; [INFO] [stdout] 105 + pub static ref VAR: i32 = 0; [INFO] [stdout] | [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:24 [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" "249c79ee9923b3e7b7736c7de306cc288c8056525edc8693cbe87577a13ef786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "249c79ee9923b3e7b7736c7de306cc288c8056525edc8693cbe87577a13ef786", kill_on_drop: false }` [INFO] [stdout] 249c79ee9923b3e7b7736c7de306cc288c8056525edc8693cbe87577a13ef786