[INFO] fetching crate lockfree 0.5.1... [INFO] building lockfree-0.5.1 against try#d5c88c22807925c189328ef9d923c5d2b11a95b8+rustflags=-Zprofile-closures for pr-87066-3 [INFO] extracting crate lockfree 0.5.1 into /workspace/builds/worker-81/source [INFO] validating manifest of crates.io crate lockfree 0.5.1 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lockfree 0.5.1 [INFO] finished tweaking crates.io crate lockfree 0.5.1 [INFO] tweaked toml for crates.io crate lockfree 0.5.1 written to /workspace/builds/worker-81/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owned-alloc v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bcfb1d7ef4811a31bea90e4ab1686cc80accd3f973ecf13d0941730b6bd8244 [INFO] running `Command { std: "docker" "start" "-a" "0bcfb1d7ef4811a31bea90e4ab1686cc80accd3f973ecf13d0941730b6bd8244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bcfb1d7ef4811a31bea90e4ab1686cc80accd3f973ecf13d0941730b6bd8244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bcfb1d7ef4811a31bea90e4ab1686cc80accd3f973ecf13d0941730b6bd8244", kill_on_drop: false }` [INFO] [stdout] 0bcfb1d7ef4811a31bea90e4ab1686cc80accd3f973ecf13d0941730b6bd8244 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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 -Zprofile-closures" "-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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0f75254c4cc2304cb063d1a14b16f17e069b1d9a26779465d96816c28b32529 [INFO] running `Command { std: "docker" "start" "-a" "a0f75254c4cc2304cb063d1a14b16f17e069b1d9a26779465d96816c28b32529", kill_on_drop: false }` [INFO] [stderr] Compiling owned-alloc v0.2.0 [INFO] [stderr] Compiling lockfree v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / make_shared_incin! { [INFO] [stdout] 262 | | { "[`Queue`]" } [INFO] [stdout] 263 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / make_shared_incin! { [INFO] [stdout] 262 | | { "[`Queue`]" } [INFO] [stdout] 263 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stack.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / make_shared_incin! { [INFO] [stdout] 205 | | { "[`Stack`]" } [INFO] [stdout] 206 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stack.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / make_shared_incin! { [INFO] [stdout] 205 | | { "[`Stack`]" } [INFO] [stdout] 206 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | / make_shared_incin! { [INFO] [stdout] 502 | | { "[`Map`]" } [INFO] [stdout] 503 | | pub SharedIncin of Garbage [INFO] [stdout] 504 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | / make_shared_incin! { [INFO] [stdout] 502 | | { "[`Map`]" } [INFO] [stdout] 503 | | pub SharedIncin of Garbage [INFO] [stdout] 504 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/spmc.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | / make_shared_incin! { [INFO] [stdout] 330 | | { "`spmc::Receiver`" } [INFO] [stdout] 331 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/spmc.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | / make_shared_incin! { [INFO] [stdout] 330 | | { "`spmc::Receiver`" } [INFO] [stdout] 331 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/mpmc.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 446 | / make_shared_incin! { [INFO] [stdout] 447 | | { "`mpmc::Receiver`" } [INFO] [stdout] 448 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 449 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/mpmc.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 446 | / make_shared_incin! { [INFO] [stdout] 447 | | { "`mpmc::Receiver`" } [INFO] [stdout] 448 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 449 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/removable.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | mem::{replace, uninitialized, ManuallyDrop}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/removable.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | item: ManuallyDrop::new(unsafe { uninitialized() }), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/map/bucket.rs:555:31 [INFO] [stdout] | [INFO] [stdout] 555 | let res = self.atomic.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compare_exchange's failure ordering may not be `Release` or `AcqRel` [INFO] [stdout] --> src/tls/mod.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | Release, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_atomic_ordering)]` on by default [INFO] [stdout] = help: consider using ordering modes `Acquire` or `Relaxed` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, 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] ::: src/queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / make_shared_incin! { [INFO] [stdout] 262 | | { "[`Queue`]" } [INFO] [stdout] 263 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: `std::ptr::NonNull>>>>` must be non-null (in this struct field) [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, 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] ::: src/stack.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / make_shared_incin! { [INFO] [stdout] 205 | | { "[`Stack`]" } [INFO] [stdout] 206 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ptr::NonNull>>>>` must be non-null (in this struct field) [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, 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] ::: src/map/mod.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | / make_shared_incin! { [INFO] [stdout] 502 | | { "[`Map`]" } [INFO] [stdout] 503 | | pub SharedIncin of Garbage [INFO] [stdout] 504 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ptr::NonNull>>>` must be non-null (in this struct field) [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, 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] ::: src/channel/spmc.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | / make_shared_incin! { [INFO] [stdout] 330 | | { "`spmc::Receiver`" } [INFO] [stdout] 331 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ptr::NonNull>>>>` must be non-null (in this struct field) [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, 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] ::: src/channel/mpmc.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 446 | / make_shared_incin! { [INFO] [stdout] 447 | | { "`mpmc::Receiver`" } [INFO] [stdout] 448 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 449 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ptr::NonNull>>>>` must be non-null (in this struct field) [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lockfree` due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a0f75254c4cc2304cb063d1a14b16f17e069b1d9a26779465d96816c28b32529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f75254c4cc2304cb063d1a14b16f17e069b1d9a26779465d96816c28b32529", kill_on_drop: false }` [INFO] [stdout] a0f75254c4cc2304cb063d1a14b16f17e069b1d9a26779465d96816c28b32529