[INFO] fetching crate indexed-ring-buffer 0.1.3...
[INFO] checking indexed-ring-buffer-0.1.3 against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] extracting crate indexed-ring-buffer 0.1.3 into /workspace/builds/worker-0-tc2/source
[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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate indexed-ring-buffer 0.1.3 on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "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" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 60 packages to latest compatible versions
[INFO] [stderr]       Adding criterion v0.2.11 (available: v0.8.2)
[INFO] [stderr]       Adding parking_lot v0.10.2 (available: v0.12.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d49f94cb36418f0cdfe6cf1d39fac0589727124d7ac88f0e34561a422159ee34
[INFO] running `Command { std: "docker" "start" "d49f94cb36418f0cdfe6cf1d39fac0589727124d7ac88f0e34561a422159ee34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d49f94cb36418f0cdfe6cf1d39fac0589727124d7ac88f0e34561a422159ee34" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d49f94cb36418f0cdfe6cf1d39fac0589727124d7ac88f0e34561a422159ee34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d49f94cb36418f0cdfe6cf1d39fac0589727124d7ac88f0e34561a422159ee34" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]     Checking rand_xoshiro v0.1.0
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking csv v1.4.0
[INFO] [stderr]     Checking parking_lot_core v0.7.3
[INFO] [stderr]     Checking itertools v0.8.2
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking criterion-plot v0.3.1
[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: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 168 |             let _ = mem::replace(buf.get_unchecked_mut(tail), MaybeUninit::new(v));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking criterion v0.2.11
[INFO] [stdout] warning: unused imports: `Consumer` and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 168 |             let _ = mem::replace(buf.get_unchecked_mut(tail), MaybeUninit::new(v));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Consumer`, `Producer`, and `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)]` (part of `#[warn(unused)]`) on by default
[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::<usize>(0, 1);
[INFO] [stdout]   |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_read`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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::<usize>(0, 10);
[INFO] [stdout]    |          ----^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) 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::<usize>(0, 10);
[INFO] [stdout]    |                    ----^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    help: remove this `mut`
[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::<usize>(n, 10);
[INFO] [stdout]    |                    ----^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    help: remove this `mut`
[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::<usize>(n, 10);
[INFO] [stdout]    |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cons`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "d49f94cb36418f0cdfe6cf1d39fac0589727124d7ac88f0e34561a422159ee34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d49f94cb36418f0cdfe6cf1d39fac0589727124d7ac88f0e34561a422159ee34", kill_on_drop: false }`
[INFO] [stdout] d49f94cb36418f0cdfe6cf1d39fac0589727124d7ac88f0e34561a422159ee34
