[INFO] fetching crate mwcas 0.2.0... [INFO] testing mwcas-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate mwcas 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate mwcas 0.2.0 [INFO] finished tweaking crates.io crate mwcas 0.2.0 [INFO] tweaked toml for crates.io crate mwcas 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mwcas 0.2.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1c5670e74684a9fc260822d986e6ef8f334c42c53b3a38700aa49b81e77b74ae [INFO] running `Command { std: "docker" "start" "-a" "1c5670e74684a9fc260822d986e6ef8f334c42c53b3a38700aa49b81e77b74ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c5670e74684a9fc260822d986e6ef8f334c42c53b3a38700aa49b81e77b74ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c5670e74684a9fc260822d986e6ef8f334c42c53b3a38700aa49b81e77b74ae", kill_on_drop: false }` [INFO] [stdout] 1c5670e74684a9fc260822d986e6ef8f334c42c53b3a38700aa49b81e77b74ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ec914b8f09b0f641c1617476a10eb219eb9a25cf5a640f9797c6b050c341402a [INFO] running `Command { std: "docker" "start" "-a" "ec914b8f09b0f641c1617476a10eb219eb9a25cf5a640f9797c6b050c341402a", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling mwcas v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `status` is never used [INFO] [stdout] --> src/lib.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 329 | impl<'g> MwCasInner<'g> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 330 | #[inline(always)] [INFO] [stdout] 331 | fn status(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&&MwCasInner<'_>` instead of dereferencing the inner type [INFO] [stdout] --> src/lib.rs:354:46 [INFO] [stdout] | [INFO] [stdout] 354 | if &mwcas_ptr != self.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:403:48 [INFO] [stdout] | [INFO] [stdout] 403 | let mwcas_ptr = MwCasPointer::from(self.deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `MwCasInner<'_>` does not implement `Deref`, so calling `deref` on `&MwCasInner<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 403 - let mwcas_ptr = MwCasPointer::from(self.deref()); [INFO] [stdout] 403 + let mwcas_ptr = MwCasPointer::from(self); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `MwCasInner<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 322 + #[derive(Clone)] [INFO] [stdout] 323 | struct MwCasInner<'g> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:544:47 [INFO] [stdout] | [INFO] [stdout] 544 | let new_val = MwCasPointer::from(mwcas.deref()).poisoned(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `MwCasInner<'_>` does not implement `Deref`, so calling `deref` on `&MwCasInner<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 544 - let new_val = MwCasPointer::from(mwcas.deref()).poisoned(); [INFO] [stdout] 544 + let new_val = MwCasPointer::from(mwcas).poisoned(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `MwCasInner<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 322 + #[derive(Clone)] [INFO] [stdout] 323 | struct MwCasInner<'g> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "ec914b8f09b0f641c1617476a10eb219eb9a25cf5a640f9797c6b050c341402a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec914b8f09b0f641c1617476a10eb219eb9a25cf5a640f9797c6b050c341402a", kill_on_drop: false }` [INFO] [stdout] ec914b8f09b0f641c1617476a10eb219eb9a25cf5a640f9797c6b050c341402a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8ffc15c4b22179e7b3878f15d4bb0dbe1ec6272946de812dbed04b449459fa8d [INFO] running `Command { std: "docker" "start" "-a" "8ffc15c4b22179e7b3878f15d4bb0dbe1ec6272946de812dbed04b449459fa8d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stdout] warning: method `status` is never used [INFO] [stdout] --> src/lib.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 329 | impl<'g> MwCasInner<'g> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 330 | #[inline(always)] [INFO] [stdout] 331 | fn status(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&&MwCasInner<'_>` instead of dereferencing the inner type [INFO] [stdout] --> src/lib.rs:354:46 [INFO] [stdout] | [INFO] [stdout] 354 | if &mwcas_ptr != self.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:403:48 [INFO] [stdout] | [INFO] [stdout] 403 | let mwcas_ptr = MwCasPointer::from(self.deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `MwCasInner<'_>` does not implement `Deref`, so calling `deref` on `&MwCasInner<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 403 - let mwcas_ptr = MwCasPointer::from(self.deref()); [INFO] [stdout] 403 + let mwcas_ptr = MwCasPointer::from(self); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `MwCasInner<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 322 + #[derive(Clone)] [INFO] [stdout] 323 | struct MwCasInner<'g> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:544:47 [INFO] [stdout] | [INFO] [stdout] 544 | let new_val = MwCasPointer::from(mwcas.deref()).poisoned(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `MwCasInner<'_>` does not implement `Deref`, so calling `deref` on `&MwCasInner<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 544 - let new_val = MwCasPointer::from(mwcas.deref()).poisoned(); [INFO] [stdout] 544 + let new_val = MwCasPointer::from(mwcas).poisoned(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `MwCasInner<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 322 + #[derive(Clone)] [INFO] [stdout] 323 | struct MwCasInner<'g> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling mwcas v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1013:17 [INFO] [stdout] | [INFO] [stdout] 1013 | let mut value = HeapPointer::new(1); [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: using `.deref()` on a double reference, which returns `&&MwCasInner<'_>` instead of dereferencing the inner type [INFO] [stdout] --> src/lib.rs:354:46 [INFO] [stdout] | [INFO] [stdout] 354 | if &mwcas_ptr != self.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:403:48 [INFO] [stdout] | [INFO] [stdout] 403 | let mwcas_ptr = MwCasPointer::from(self.deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `MwCasInner<'_>` does not implement `Deref`, so calling `deref` on `&MwCasInner<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 403 - let mwcas_ptr = MwCasPointer::from(self.deref()); [INFO] [stdout] 403 + let mwcas_ptr = MwCasPointer::from(self); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `MwCasInner<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 322 + #[derive(Clone)] [INFO] [stdout] 323 | struct MwCasInner<'g> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:544:47 [INFO] [stdout] | [INFO] [stdout] 544 | let new_val = MwCasPointer::from(mwcas.deref()).poisoned(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `MwCasInner<'_>` does not implement `Deref`, so calling `deref` on `&MwCasInner<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 544 - let new_val = MwCasPointer::from(mwcas.deref()).poisoned(); [INFO] [stdout] 544 + let new_val = MwCasPointer::from(mwcas).poisoned(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `MwCasInner<'_>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 322 + #[derive(Clone)] [INFO] [stdout] 323 | struct MwCasInner<'g> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.93s [INFO] running `Command { std: "docker" "inspect" "8ffc15c4b22179e7b3878f15d4bb0dbe1ec6272946de812dbed04b449459fa8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ffc15c4b22179e7b3878f15d4bb0dbe1ec6272946de812dbed04b449459fa8d", kill_on_drop: false }` [INFO] [stdout] 8ffc15c4b22179e7b3878f15d4bb0dbe1ec6272946de812dbed04b449459fa8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 33cbb599928ca59447857f4eda83151787d01c9cb03260fae996af3ec9fd50cc [INFO] running `Command { std: "docker" "start" "-a" "33cbb599928ca59447857f4eda83151787d01c9cb03260fae996af3ec9fd50cc", kill_on_drop: false }` [INFO] [stderr] warning: method `status` is never used [INFO] [stderr] --> src/lib.rs:331:8 [INFO] [stderr] | [INFO] [stderr] 329 | impl<'g> MwCasInner<'g> { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] 330 | #[inline(always)] [INFO] [stderr] 331 | fn status(&self) -> u8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.deref()` on a double reference, which returns `&&MwCasInner<'_>` instead of dereferencing the inner type [INFO] [stderr] --> src/lib.rs:354:46 [INFO] [stderr] | [INFO] [stderr] 354 | if &mwcas_ptr != self.deref() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:403:48 [INFO] [stderr] | [INFO] [stderr] 403 | let mwcas_ptr = MwCasPointer::from(self.deref()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `MwCasInner<'_>` does not implement `Deref`, so calling `deref` on `&MwCasInner<'_>` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 403 - let mwcas_ptr = MwCasPointer::from(self.deref()); [INFO] [stderr] 403 + let mwcas_ptr = MwCasPointer::from(self); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `MwCasInner<'_>`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 322 + #[derive(Clone)] [INFO] [stderr] 323 | struct MwCasInner<'g> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:544:47 [INFO] [stderr] | [INFO] [stderr] 544 | let new_val = MwCasPointer::from(mwcas.deref()).poisoned(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `MwCasInner<'_>` does not implement `Deref`, so calling `deref` on `&MwCasInner<'_>` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 544 - let new_val = MwCasPointer::from(mwcas.deref()).poisoned(); [INFO] [stderr] 544 + let new_val = MwCasPointer::from(mwcas).poisoned(); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `MwCasInner<'_>`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 322 + #[derive(Clone)] [INFO] [stderr] 323 | struct MwCasInner<'g> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `mwcas` (lib) generated 4 warnings (run `cargo fix --lib -p mwcas` to apply 2 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:1013:17 [INFO] [stderr] | [INFO] [stderr] 1013 | let mut value = HeapPointer::new(1); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `mwcas` (lib test) generated 4 warnings (3 duplicates) (run `cargo fix --lib -p mwcas --tests` to apply 1 suggestion) [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/mwcas-980c3b3c2a2a735a) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test tests::cas_tests::test_cas_success_completion ... ok [INFO] [stdout] test tests::cas_tests::test_complete_cas_with_failure ... ok [INFO] [stdout] test tests::cas_tests::test_same_cas_conflict ... ok [INFO] [stdout] test tests::mwcas_pointer_test::create_pointer_from_address ... ok [INFO] [stdout] test tests::mwcas_pointer_test::create_pointer_from_invalid_address ... ok [INFO] [stdout] test tests::mwcas_pointer_test::create_pointer_from_structure ... ok [INFO] [stdout] test tests::simple::test_mwcas_add_ptr ... ok [INFO] [stdout] test tests::simple::test_mwcas_fail_when_concurrent_mwcas_won_race ... ignored [INFO] [stdout] test tests::simple::test_mwcas_linearization ... ignored [INFO] [stdout] test tests::simple::test_mwcas_race_in_phase_one_after_status_update ... ignored [INFO] [stdout] test tests::simple::test_assist_not_change_cas_result ... ok [INFO] [stdout] test tests::simple::test_cas_completion_assist_on_subset_of_references ... ok [INFO] [stdout] test tests::simple::test_mwcas_race_in_phase_one_before_status_update ... ignored [INFO] [stdout] test tests::simple::test_mwcas_completion_on_pointer_read ... ok [INFO] [stdout] test tests::simple::test_prepared_cas_completion_assist ... ok [INFO] [stdout] test tests::cas_tests::test_cas_completion_with_invalid_status - should panic ... ok [INFO] [stdout] test tests::simple::test_add_same_ptr - should panic ... ok [INFO] [stdout] test tests::simple::test_add_same_u64_val - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "33cbb599928ca59447857f4eda83151787d01c9cb03260fae996af3ec9fd50cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33cbb599928ca59447857f4eda83151787d01c9cb03260fae996af3ec9fd50cc", kill_on_drop: false }` [INFO] [stdout] 33cbb599928ca59447857f4eda83151787d01c9cb03260fae996af3ec9fd50cc