[INFO] fetching crate lazy_static 1.1.1... [INFO] checking lazy_static-1.1.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate lazy_static 1.1.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate lazy_static 1.1.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0deb6ada9f98fbe58ce0a8f428809ac551923c4e0374aa21c39b35700469cc61 [INFO] running `Command { std: "docker" "start" "-a" "0deb6ada9f98fbe58ce0a8f428809ac551923c4e0374aa21c39b35700469cc61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0deb6ada9f98fbe58ce0a8f428809ac551923c4e0374aa21c39b35700469cc61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0deb6ada9f98fbe58ce0a8f428809ac551923c4e0374aa21c39b35700469cc61", kill_on_drop: false }` [INFO] [stdout] 0deb6ada9f98fbe58ce0a8f428809ac551923c4e0374aa21c39b35700469cc61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 308b17eb5e5ef38c6d78275ca840c7342b2786df6f717524211a08b570ed9502 [INFO] running `Command { std: "docker" "start" "-a" "308b17eb5e5ef38c6d78275ca840c7342b2786df6f717524211a08b570ed9502", 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: 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: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 1.31s [INFO] running `Command { std: "docker" "inspect" "308b17eb5e5ef38c6d78275ca840c7342b2786df6f717524211a08b570ed9502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308b17eb5e5ef38c6d78275ca840c7342b2786df6f717524211a08b570ed9502", kill_on_drop: false }` [INFO] [stdout] 308b17eb5e5ef38c6d78275ca840c7342b2786df6f717524211a08b570ed9502