[INFO] fetching crate lazy_static 1.1.1... [INFO] checking lazy_static-1.1.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate lazy_static 1.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate lazy_static 1.1.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7e1b574d8ebcdcd79c97f2ee16a740a2a820ce334162e44e784c74510bd21fc [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" "f7e1b574d8ebcdcd79c97f2ee16a740a2a820ce334162e44e784c74510bd21fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7e1b574d8ebcdcd79c97f2ee16a740a2a820ce334162e44e784c74510bd21fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e1b574d8ebcdcd79c97f2ee16a740a2a820ce334162e44e784c74510bd21fc", kill_on_drop: false }` [INFO] [stdout] f7e1b574d8ebcdcd79c97f2ee16a740a2a820ce334162e44e784c74510bd21fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74aab473c336e9f791850357c8585b21a4bc1cb4dc99ab5c423f566c5632f57f [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" "74aab473c336e9f791850357c8585b21a4bc1cb4dc99ab5c423f566c5632f57f", 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: 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: 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.51s [INFO] running `Command { std: "docker" "inspect" "74aab473c336e9f791850357c8585b21a4bc1cb4dc99ab5c423f566c5632f57f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74aab473c336e9f791850357c8585b21a4bc1cb4dc99ab5c423f566c5632f57f", kill_on_drop: false }` [INFO] [stdout] 74aab473c336e9f791850357c8585b21a4bc1cb4dc99ab5c423f566c5632f57f