Skip to content

test push_front_slice_ring_buffer fails on i386 with default features and --no-default-features #11

@dkg

Description

@dkg

On Debian CI infrastructure, on i386, running cargo test --no-default-features and cargo test both have the push_front_slice_ring_buffer failing, with the same backtrace:

155s test push_front_slice_ring_buffer ... FAILED
155s 
155s failures:
155s 
155s ---- push_front_slice_ring_buffer stdout ----
155s thread 'push_front_slice_ring_buffer' panicked at /usr/share/cargo/registry/slice-ring-buffer-0.3.4/src/lib.rs:413:17:
155s "ut-of-memoryocate a buffer with capacity "stack backtrace:
155s    0: rust_begin_unwind
155s              at /usr/src/rustc-1.80.1/library/std/src/panicking.rs:652:5
155s    1: core::panicking::panic_fmt
155s              at /usr/src/rustc-1.80.1/library/core/src/panicking.rs:72:14
155s    2: core::panicking::panic_display
155s              at /usr/src/rustc-1.80.1/library/core/src/panicking.rs:262:5
155s    3: slice_ring_buffer::SliceRingBuffer<T>::with_capacity::{{closure}}
155s              at ./src/lib.rs:413:17
155s    4: core::result::Result<T,E>::unwrap_or_else
155s              at /usr/src/rustc-1.80.1/library/core/src/result.rs:1456:23
155s    5: slice_ring_buffer::SliceRingBuffer<T>::with_capacity
155s              at ./src/lib.rs:408:23
155s    6: push_front::push_front_slice_ring_buffer
155s              at ./benches/push_front.rs:22:9
155s    7: push_front::push_front_slice_ring_buffer::{{closure}}
155s              at ./benches/push_front.rs:20:55
155s    8: core::ops::function::FnOnce::call_once
155s              at /usr/src/rustc-1.80.1/library/core/src/ops/function.rs:250:5
155s    9: test::types::RunnableTest::run::{{closure}}::{{closure}}
155s              at /usr/src/rustc-1.80.1/library/test/src/types.rs:149:76
155s note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
155s 
155s 
155s failures:
155s     push_front_slice_ring_buffer
155s 

These failures do not seem to happen on non-i386 platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions