[INFO] fetching crate indexed-ring-buffer 0.1.3... [INFO] checking indexed-ring-buffer-0.1.3 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate indexed-ring-buffer 0.1.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate indexed-ring-buffer 0.1.3 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate indexed-ring-buffer 0.1.3 [INFO] finished tweaking crates.io crate indexed-ring-buffer 0.1.3 [INFO] tweaked toml for crates.io crate indexed-ring-buffer 0.1.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 022ece54fa875c1d800ada80d7d7ce5838a82b6f07d78e419da2b60ec72e8b4d [INFO] running `Command { std: "docker" "start" "-a" "022ece54fa875c1d800ada80d7d7ce5838a82b6f07d78e419da2b60ec72e8b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "022ece54fa875c1d800ada80d7d7ce5838a82b6f07d78e419da2b60ec72e8b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022ece54fa875c1d800ada80d7d7ce5838a82b6f07d78e419da2b60ec72e8b4d", kill_on_drop: false }` [INFO] [stdout] 022ece54fa875c1d800ada80d7d7ce5838a82b6f07d78e419da2b60ec72e8b4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eb0ca557fbab261c91e2122c91467f6c934a5c5bafd6a9854123c515a78d8c15 [INFO] running `Command { std: "docker" "start" "-a" "eb0ca557fbab261c91e2122c91467f6c934a5c5bafd6a9854123c515a78d8c15", kill_on_drop: false }` [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking indexed-ring-buffer v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | mem::replace(buf.get_unchecked_mut(tail), MaybeUninit::new(v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Consumer`, `Producer`, `Reader` [INFO] [stdout] --> tests/test.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use indexed_ring_buffer::{indexed_ring_buffer, Consumer, Producer, Reader}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Consumer`, `Producer` [INFO] [stdout] --> tests/threads.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use indexed_ring_buffer::{indexed_ring_buffer, Consumer, Producer, Reader}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fm` [INFO] [stdout] --> tests/threads.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some((fm, to, v)) = r.get_from(last_id.wrapping_add(1), READ_SIZE) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_data` [INFO] [stdout] --> tests/threads.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let arc_data = Arc::new(in_data.clone()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | mem::replace(buf.get_unchecked_mut(tail), MaybeUninit::new(v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> tests/test.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let (mut prod, mut cons, read) = indexed_ring_buffer::(0, 1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cons` [INFO] [stdout] --> tests/test.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | let (mut prod, mut cons, read) = indexed_ring_buffer::(n, 10); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | let (mut prod, mut cons, read) = indexed_ring_buffer::(0, 10); [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: variable does not need to be mutable [INFO] [stdout] --> tests/test.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let (mut prod, mut cons, read) = indexed_ring_buffer::(0, 10); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | let (mut prod, mut cons, read) = indexed_ring_buffer::(n, 10); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.59s [INFO] running `Command { std: "docker" "inspect" "eb0ca557fbab261c91e2122c91467f6c934a5c5bafd6a9854123c515a78d8c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0ca557fbab261c91e2122c91467f6c934a5c5bafd6a9854123c515a78d8c15", kill_on_drop: false }` [INFO] [stdout] eb0ca557fbab261c91e2122c91467f6c934a5c5bafd6a9854123c515a78d8c15