[INFO] fetching crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0... [INFO] checking lock-free-multi-producer-single-consumer-ring-buffer-0.4.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 [INFO] finished tweaking crates.io crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 [INFO] tweaked toml for crates.io crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding likely v0.1.0 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded likely v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef3c58c6843db53d1bbe1d7e03d7493835b187d0bed88fe4540510b2163e6c45 [INFO] running `Command { std: "docker" "start" "-a" "ef3c58c6843db53d1bbe1d7e03d7493835b187d0bed88fe4540510b2163e6c45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef3c58c6843db53d1bbe1d7e03d7493835b187d0bed88fe4540510b2163e6c45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3c58c6843db53d1bbe1d7e03d7493835b187d0bed88fe4540510b2163e6c45", kill_on_drop: false }` [INFO] [stdout] ef3c58c6843db53d1bbe1d7e03d7493835b187d0bed88fe4540510b2163e6c45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6231d580d3aa05456a39870baadeda2e9f1788cb9fa9bb32431fefda4ecf0fa8 [INFO] running `Command { std: "docker" "start" "-a" "6231d580d3aa05456a39870baadeda2e9f1788cb9fa9bb32431fefda4ecf0fa8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking likely v0.1.0 [INFO] [stderr] Checking lock-free-multi-producer-single-consumer-ring-buffer v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | use ::std::alloc::Alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `alloc` [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::intrinsics::atomic_cxchgweak` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | use ::std::intrinsics::atomic_cxchgweak; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `atomic_cxchgweak` in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | use ::std::alloc::Alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `alloc` [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::intrinsics::atomic_cxchgweak` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | use ::std::intrinsics::atomic_cxchgweak; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `atomic_cxchgweak` in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(allocator_api, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/RingBufferInnerHeader.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | 'workers: for _ in 0 .. self.number_of_producers [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(allocator_api, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/RingBufferInnerHeader.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | 'workers: for _ in 0 .. self.number_of_producers [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | use ::std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/lib.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | use ::std::sync::atomic::spin_loop_hint; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/RingBufferInnerHeader.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | buffer: unsafe { uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/SpinLockBackOff.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | use ::std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/lib.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | use ::std::sync::atomic::spin_loop_hint; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/RingBufferInnerHeader.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | buffer: unsafe { uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/SpinLockBackOff.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/RingBufferInner.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { Global.dealloc(NonNull::new_unchecked(self as *mut _ as *mut _), self.layout()) } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `deallocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { Global.deallocate(NonNull::new_unchecked(self as *mut _ as *mut _), self.layout()) } [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/RingBufferInner.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { Global.dealloc(NonNull::new_unchecked(self as *mut _ as *mut _), self.layout()) } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `deallocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { Global.deallocate(NonNull::new_unchecked(self as *mut _ as *mut _), self.layout()) } [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/RingBufferInner.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | let raw_this_pointer = Global.alloc(layout).expect("Out of memory"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `allocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 60 | let raw_this_pointer = Global.allocate(layout).expect("Out of memory"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/RingBufferInner.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | let raw_this_pointer = Global.alloc(layout).expect("Out of memory"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `allocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 60 | let raw_this_pointer = Global.allocate(layout).expect("Out of memory"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lock-free-multi-producer-single-consumer-ring-buffer` (lib test) due to 5 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lock-free-multi-producer-single-consumer-ring-buffer` (lib) due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6231d580d3aa05456a39870baadeda2e9f1788cb9fa9bb32431fefda4ecf0fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6231d580d3aa05456a39870baadeda2e9f1788cb9fa9bb32431fefda4ecf0fa8", kill_on_drop: false }` [INFO] [stdout] 6231d580d3aa05456a39870baadeda2e9f1788cb9fa9bb32431fefda4ecf0fa8