[INFO] fetching crate lazy_static 1.1.1... [INFO] checking lazy_static-1.1.1 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate lazy_static 1.1.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate lazy_static 1.1.1 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4d8f9c43c576b0b027f6a6b287cb8604ce7665d7519c643c4dadc2cf449181f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4d8f9c43c576b0b027f6a6b287cb8604ce7665d7519c643c4dadc2cf449181f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4d8f9c43c576b0b027f6a6b287cb8604ce7665d7519c643c4dadc2cf449181f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d8f9c43c576b0b027f6a6b287cb8604ce7665d7519c643c4dadc2cf449181f", kill_on_drop: false }` [INFO] [stdout] d4d8f9c43c576b0b027f6a6b287cb8604ce7665d7519c643c4dadc2cf449181f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af36549e5204a48a6231d5b9934a6ea1853c9d2c2a8c308fc9a42f27338438b8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "af36549e5204a48a6231d5b9934a6ea1853c9d2c2a8c308fc9a42f27338438b8", 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 1.07s [INFO] running `Command { std: "docker" "inspect" "af36549e5204a48a6231d5b9934a6ea1853c9d2c2a8c308fc9a42f27338438b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af36549e5204a48a6231d5b9934a6ea1853c9d2c2a8c308fc9a42f27338438b8", kill_on_drop: false }` [INFO] [stdout] af36549e5204a48a6231d5b9934a6ea1853c9d2c2a8c308fc9a42f27338438b8