[INFO] cloning repository https://github.com/unacowa/vecmap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/unacowa/vecmap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funacowa%2Fvecmap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funacowa%2Fvecmap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ae3222c7f40e779c5bae3f970161eea5ab68d75 [INFO] testing unacowa/vecmap against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funacowa%2Fvecmap" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/unacowa/vecmap [INFO] finished tweaking git repo https://github.com/unacowa/vecmap [INFO] tweaked toml for git repo https://github.com/unacowa/vecmap written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/unacowa/vecmap on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/unacowa/vecmap 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d29a95a2f132a01f53ca61fa43cf4901eb3f09832445f0ae422648eceb9f26f [INFO] running `Command { std: "docker" "start" "-a" "6d29a95a2f132a01f53ca61fa43cf4901eb3f09832445f0ae422648eceb9f26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d29a95a2f132a01f53ca61fa43cf4901eb3f09832445f0ae422648eceb9f26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d29a95a2f132a01f53ca61fa43cf4901eb3f09832445f0ae422648eceb9f26f", kill_on_drop: false }` [INFO] [stdout] 6d29a95a2f132a01f53ca61fa43cf4901eb3f09832445f0ae422648eceb9f26f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8b8093fd5225b0351aebba98d6f7d62af04ca0f177b610e09d8d7b0c0df30e1f [INFO] running `Command { std: "docker" "start" "-a" "8b8093fd5225b0351aebba98d6f7d62af04ca0f177b610e09d8d7b0c0df30e1f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling vecmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn borrow(&self, idx: usize) -> SliceReadGuard { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn borrow(&self, idx: usize) -> SliceReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn borrow_mut(&self, idx: usize) -> SliceWriteGuard { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn borrow_mut(&self, idx: usize) -> SliceWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:196:2 [INFO] [stdout] | [INFO] [stdout] 196 | drop(&mut self.guard); [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut parking_lot::lock_api::RwLockReadGuard<'_, parking_lot::RawRwLock, usize>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 196 - drop(&mut self.guard); [INFO] [stdout] 196 + let _ = &mut self.guard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:222:2 [INFO] [stdout] | [INFO] [stdout] 222 | drop(&mut self.guard); [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, usize>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 222 - drop(&mut self.guard); [INFO] [stdout] 222 + let _ = &mut self.guard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "8b8093fd5225b0351aebba98d6f7d62af04ca0f177b610e09d8d7b0c0df30e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8093fd5225b0351aebba98d6f7d62af04ca0f177b610e09d8d7b0c0df30e1f", kill_on_drop: false }` [INFO] [stdout] 8b8093fd5225b0351aebba98d6f7d62af04ca0f177b610e09d8d7b0c0df30e1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fa63510fd5f96b095700d0d9d807a803eb69d9691036935d788769bc7712447e [INFO] running `Command { std: "docker" "start" "-a" "fa63510fd5f96b095700d0d9d807a803eb69d9691036935d788769bc7712447e", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn borrow(&self, idx: usize) -> SliceReadGuard { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn borrow(&self, idx: usize) -> SliceReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn borrow_mut(&self, idx: usize) -> SliceWriteGuard { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn borrow_mut(&self, idx: usize) -> SliceWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:196:2 [INFO] [stdout] | [INFO] [stdout] 196 | drop(&mut self.guard); [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut parking_lot::lock_api::RwLockReadGuard<'_, parking_lot::RawRwLock, usize>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 196 - drop(&mut self.guard); [INFO] [stdout] 196 + let _ = &mut self.guard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:222:2 [INFO] [stdout] | [INFO] [stdout] 222 | drop(&mut self.guard); [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, usize>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 222 - drop(&mut self.guard); [INFO] [stdout] 222 + let _ = &mut self.guard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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 crossbeam-channel v0.5.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling vecmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn borrow(&self, idx: usize) -> SliceReadGuard { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn borrow(&self, idx: usize) -> SliceReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn borrow_mut(&self, idx: usize) -> SliceWriteGuard { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn borrow_mut(&self, idx: usize) -> SliceWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:196:2 [INFO] [stdout] | [INFO] [stdout] 196 | drop(&mut self.guard); [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut parking_lot::lock_api::RwLockReadGuard<'_, parking_lot::RawRwLock, usize>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 196 - drop(&mut self.guard); [INFO] [stdout] 196 + let _ = &mut self.guard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:222:2 [INFO] [stdout] | [INFO] [stdout] 222 | drop(&mut self.guard); [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, usize>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 222 - drop(&mut self.guard); [INFO] [stdout] 222 + let _ = &mut self.guard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.56s [INFO] running `Command { std: "docker" "inspect" "fa63510fd5f96b095700d0d9d807a803eb69d9691036935d788769bc7712447e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa63510fd5f96b095700d0d9d807a803eb69d9691036935d788769bc7712447e", kill_on_drop: false }` [INFO] [stdout] fa63510fd5f96b095700d0d9d807a803eb69d9691036935d788769bc7712447e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 68a21051af2a6eac0c9e08f978a6caa020f27a2c2d8f6b6aa2c8edb05539bf67 [INFO] running `Command { std: "docker" "start" "-a" "68a21051af2a6eac0c9e08f978a6caa020f27a2c2d8f6b6aa2c8edb05539bf67", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:142:19 [INFO] [stdout] running 12 tests [INFO] [stderr] | [INFO] [stderr] 142 | pub fn borrow(&self, idx: usize) -> SliceReadGuard { [INFO] [stderr] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 142 | pub fn borrow(&self, idx: usize) -> SliceReadGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn borrow_mut(&self, idx: usize) -> SliceWriteGuard { [INFO] [stderr] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 168 | pub fn borrow_mut(&self, idx: usize) -> SliceWriteGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/lib.rs:196:2 [INFO] [stderr] | [INFO] [stderr] 196 | drop(&mut self.guard); [INFO] [stderr] | ^^^^^---------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut parking_lot::lock_api::RwLockReadGuard<'_, parking_lot::RawRwLock, usize>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 196 - drop(&mut self.guard); [INFO] [stderr] 196 + let _ = &mut self.guard; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/lib.rs:222:2 [INFO] [stderr] | [INFO] [stderr] 222 | drop(&mut self.guard); [INFO] [stderr] | ^^^^^---------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, usize>` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 222 - drop(&mut self.guard); [INFO] [stderr] 222 + let _ = &mut self.guard; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `vecmap` (lib) generated 4 warnings (run `cargo fix --lib -p vecmap` to apply 2 suggestions) [INFO] [stderr] warning: `vecmap` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/vecmap-1d4363d2c6000c6e) [INFO] [stdout] test vac_store_tests::bench_serialized_read ... ok [INFO] [stdout] test mut_vac_store_tests::bench_serialized_update ... ok [INFO] [stdout] test vac_store_tests::read_concurrent ... ok [INFO] [stdout] test mut_vac_store_tests::bench_concurrent_update ... ok [INFO] [stdout] test mut_vac_store_tests::read_concurrent ... ok [INFO] [stdout] test mut_vac_store_tests::bench_concurrent_read ... ok [INFO] [stdout] test vac_store_tests::bench_concurrent_read ... ok [INFO] [stdout] test mut_vac_store_tests::builder_allocates_concurrent ... ok [INFO] [stdout] test mut_vac_store_tests::bench_for_compare_fully_concurrent_update ... ok [INFO] [stdout] test mut_vac_store_tests::update_concurrent ... ok [INFO] [stdout] test mut_vac_store_tests::bench_concurrent_insert ... ok [INFO] [stdout] test mut_vac_store_tests::bench_serialized_insert ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.94s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68a21051af2a6eac0c9e08f978a6caa020f27a2c2d8f6b6aa2c8edb05539bf67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a21051af2a6eac0c9e08f978a6caa020f27a2c2d8f6b6aa2c8edb05539bf67", kill_on_drop: false }` [INFO] [stdout] 68a21051af2a6eac0c9e08f978a6caa020f27a2c2d8f6b6aa2c8edb05539bf67