[INFO] fetching crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0... [INFO] testing lock-free-multi-producer-single-consumer-ring-buffer-0.4.0 against 1.91.0 for beta-1.92-2 [INFO] extracting crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ef9440d8341fc8c5c234bfc7e2dfb900ab5a6156dd60a8a5ca1eb4d59f9ae3c [INFO] running `Command { std: "docker" "start" "-a" "1ef9440d8341fc8c5c234bfc7e2dfb900ab5a6156dd60a8a5ca1eb4d59f9ae3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ef9440d8341fc8c5c234bfc7e2dfb900ab5a6156dd60a8a5ca1eb4d59f9ae3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ef9440d8341fc8c5c234bfc7e2dfb900ab5a6156dd60a8a5ca1eb4d59f9ae3c", kill_on_drop: false }` [INFO] [stdout] 1ef9440d8341fc8c5c234bfc7e2dfb900ab5a6156dd60a8a5ca1eb4d59f9ae3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ec774b6fccb9b79f157d2f8d2871ddda144ef1eb48b8dea0b6f28009ec2c94f [INFO] running `Command { std: "docker" "start" "-a" "5ec774b6fccb9b79f157d2f8d2871ddda144ef1eb48b8dea0b6f28009ec2c94f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling likely v0.1.0 [INFO] [stderr] Compiling 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[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(allocator_api, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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)]` (part of `#[warn(unused)]`) 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] 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[E0284]: type annotations needed [INFO] [stdout] --> src/VolatileRingBufferOffset.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let (_new, ok) = unsafe { atomic_cxchgweak(self.unsafe_cell_contents(), old, source) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer the value of the const parameter `ORD_SUCC` declared on the function `atomic_cxchgweak` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `atomic_cxchgweak` [INFO] [stdout] --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/intrinsics/mod.rs:114:1 [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 35 | let (_new, ok) = unsafe { atomic_cxchgweak::(self.unsafe_cell_contents(), old, source) }; [INFO] [stdout] | +++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed [INFO] [stdout] --> src/VolatileRingBufferOffset.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let (_new, ok) = unsafe { atomic_cxchgweak(self.unsafe_cell_contents(), old, source) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer the value of the const parameter `ORD_FAIL` declared on the function `atomic_cxchgweak` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `atomic_cxchgweak` [INFO] [stdout] --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/intrinsics/mod.rs:114:1 [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 35 | let (_new, ok) = unsafe { atomic_cxchgweak::(self.unsafe_cell_contents(), old, source) }; [INFO] [stdout] | +++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0284, E0432, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lock-free-multi-producer-single-consumer-ring-buffer` (lib) due to 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5ec774b6fccb9b79f157d2f8d2871ddda144ef1eb48b8dea0b6f28009ec2c94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec774b6fccb9b79f157d2f8d2871ddda144ef1eb48b8dea0b6f28009ec2c94f", kill_on_drop: false }` [INFO] [stdout] 5ec774b6fccb9b79f157d2f8d2871ddda144ef1eb48b8dea0b6f28009ec2c94f