[INFO] cloning repository https://github.com/kingfree/readerwriterqueue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kingfree/readerwriterqueue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingfree%2Freaderwriterqueue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingfree%2Freaderwriterqueue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] defa33c455cff73c22b1d8928a0bc4a106859350 [INFO] testing kingfree/readerwriterqueue against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingfree%2Freaderwriterqueue" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kingfree/readerwriterqueue [INFO] finished tweaking git repo https://github.com/kingfree/readerwriterqueue [INFO] tweaked toml for git repo https://github.com/kingfree/readerwriterqueue written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kingfree/readerwriterqueue on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kingfree/readerwriterqueue already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b724d57fa64e001c6804a950a064a0074f034dc1c9ac51167c9135225792fa1 [INFO] running `Command { std: "docker" "start" "-a" "4b724d57fa64e001c6804a950a064a0074f034dc1c9ac51167c9135225792fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b724d57fa64e001c6804a950a064a0074f034dc1c9ac51167c9135225792fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b724d57fa64e001c6804a950a064a0074f034dc1c9ac51167c9135225792fa1", kill_on_drop: false }` [INFO] [stdout] 4b724d57fa64e001c6804a950a064a0074f034dc1c9ac51167c9135225792fa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ab2f4aa533a2464e15ab9948c0b60abd20a11e6388a952b6c74f687bfb1ef930 [INFO] running `Command { std: "docker" "start" "-a" "ab2f4aa533a2464e15ab9948c0b60abd20a11e6388a952b6c74f687bfb1ef930", kill_on_drop: false }` [INFO] [stderr] Compiling readerwriterqueue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/queue.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use core::mem::{self, align_of, size_of}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/queue.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | for i in 0..initial_block_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/queue.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut b = Self::make_block(other.largest_block_size); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front_block_` [INFO] [stdout] --> src/queue.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let front_block_ = self.front_block.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_block_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/queue.rs:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | fn inner_enqueue(&self, element: T, can_alloc: bool) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_alloc` [INFO] [stdout] --> src/queue.rs:301:41 [INFO] [stdout] | [INFO] [stdout] 301 | fn inner_enqueue(&self, element: T, can_alloc: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cacheline_filler` and `dequeuing` are never read [INFO] [stdout] --> src/queue.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ReaderWriterQueue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | cacheline_filler: [u8; CACHE_LINE_SIZE - size_of::>()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | dequeuing: AtomicBool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peek` and `pop` are never used [INFO] [stdout] --> src/queue.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl ReaderWriterQueue { [INFO] [stdout] | ------------------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | fn pop(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cacheline_filler0`, `local_front`, and `cacheline_filler1` are never read [INFO] [stdout] --> src/queue.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 347 | struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 350 | cacheline_filler0: [u8; CACHE_LINE_SIZE - size_of::() - size_of::()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | local_front: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 354 | cacheline_filler1: [u8; CACHE_LINE_SIZE - size_of::() - size_of::()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> src/queue.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | Box::new(Block::new(capacity, new_block_raw, new_block_data)).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/queue.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | drop(block); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut Block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 337 - drop(block); [INFO] [stdout] 337 + let _ = block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/queue.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | drop(raw_block); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut u8` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 338 - drop(raw_block); [INFO] [stdout] 338 + let _ = raw_block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "ab2f4aa533a2464e15ab9948c0b60abd20a11e6388a952b6c74f687bfb1ef930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2f4aa533a2464e15ab9948c0b60abd20a11e6388a952b6c74f687bfb1ef930", kill_on_drop: false }` [INFO] [stdout] ab2f4aa533a2464e15ab9948c0b60abd20a11e6388a952b6c74f687bfb1ef930 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e034660ec8f11b46acfc173c80a91e227dc664a79f9846667d0d30c6c353a872 [INFO] running `Command { std: "docker" "start" "-a" "e034660ec8f11b46acfc173c80a91e227dc664a79f9846667d0d30c6c353a872", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/queue.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use core::mem::{self, align_of, size_of}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/queue.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | for i in 0..initial_block_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/queue.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut b = Self::make_block(other.largest_block_size); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front_block_` [INFO] [stdout] --> src/queue.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let front_block_ = self.front_block.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_block_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/queue.rs:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | fn inner_enqueue(&self, element: T, can_alloc: bool) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_alloc` [INFO] [stdout] --> src/queue.rs:301:41 [INFO] [stdout] | [INFO] [stdout] 301 | fn inner_enqueue(&self, element: T, can_alloc: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cacheline_filler` and `dequeuing` are never read [INFO] [stdout] --> src/queue.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ReaderWriterQueue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | cacheline_filler: [u8; CACHE_LINE_SIZE - size_of::>()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | dequeuing: AtomicBool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peek` and `pop` are never used [INFO] [stdout] --> src/queue.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl ReaderWriterQueue { [INFO] [stdout] | ------------------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | fn pop(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cacheline_filler0`, `local_front`, and `cacheline_filler1` are never read [INFO] [stdout] --> src/queue.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 347 | struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 350 | cacheline_filler0: [u8; CACHE_LINE_SIZE - size_of::() - size_of::()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | local_front: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 354 | cacheline_filler1: [u8; CACHE_LINE_SIZE - size_of::() - size_of::()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> src/queue.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | Box::new(Block::new(capacity, new_block_raw, new_block_data)).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/queue.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | drop(block); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut Block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 337 - drop(block); [INFO] [stdout] 337 + let _ = block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/queue.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | drop(raw_block); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut u8` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 338 - drop(raw_block); [INFO] [stdout] 338 + let _ = raw_block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling readerwriterqueue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/stabtest.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut q = ReaderWriterQueue::::with_size(n); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> tests/stabtest.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | fn unpredictable_delay(extra: usize) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/queue.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use core::mem::{self, align_of, size_of}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/queue.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | for i in 0..initial_block_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/queue.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut b = Self::make_block(other.largest_block_size); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front_block_` [INFO] [stdout] --> src/queue.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let front_block_ = self.front_block.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_block_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/queue.rs:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | fn inner_enqueue(&self, element: T, can_alloc: bool) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_alloc` [INFO] [stdout] --> src/queue.rs:301:41 [INFO] [stdout] | [INFO] [stdout] 301 | fn inner_enqueue(&self, element: T, can_alloc: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cacheline_filler` and `dequeuing` are never read [INFO] [stdout] --> src/queue.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ReaderWriterQueue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | cacheline_filler: [u8; CACHE_LINE_SIZE - size_of::>()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | dequeuing: AtomicBool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peek` and `pop` are never used [INFO] [stdout] --> src/queue.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl ReaderWriterQueue { [INFO] [stdout] | ------------------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | fn pop(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cacheline_filler0`, `local_front`, and `cacheline_filler1` are never read [INFO] [stdout] --> src/queue.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 347 | struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 350 | cacheline_filler0: [u8; CACHE_LINE_SIZE - size_of::() - size_of::()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | local_front: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 354 | cacheline_filler1: [u8; CACHE_LINE_SIZE - size_of::() - size_of::()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> src/queue.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | Box::new(Block::new(capacity, new_block_raw, new_block_data)).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/queue.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | drop(block); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut Block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 337 - drop(block); [INFO] [stdout] 337 + let _ = block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/queue.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | drop(raw_block); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut u8` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 338 - drop(raw_block); [INFO] [stdout] 338 + let _ = raw_block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustclR79nD/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libreaderwriterqueue-a0854934d8437b38.rlib,librand-7abefa42c81cb313.rlib,librand_chacha-ab15b45d60bb13da.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-c7615b472bcf6cd5.rlib,libgetrandom-61232f72ae6e5dba.rlib,liblibc-4f68b366d820a7e9.rlib,libcfg_if-66d55f6b302e88c8.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustclR79nD/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/stabtest-44aa22c6541ea824" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-61232f72ae6e5dba.rlib(getrandom-61232f72ae6e5dba.getrandom.47dff04529851d70-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.5/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h69047b3dc201a582E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `readerwriterqueue` (test "stabtest") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e034660ec8f11b46acfc173c80a91e227dc664a79f9846667d0d30c6c353a872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e034660ec8f11b46acfc173c80a91e227dc664a79f9846667d0d30c6c353a872", kill_on_drop: false }` [INFO] [stdout] e034660ec8f11b46acfc173c80a91e227dc664a79f9846667d0d30c6c353a872