[INFO] fetching crate mwcas 0.2.0... [INFO] checking mwcas-0.2.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate mwcas 0.2.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mwcas 0.2.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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 82 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1c2e0383bae996adddefa63398db9c32f9fd7e922496aaa7d00049048bb6ce9 [INFO] running `Command { std: "docker" "start" "-a" "c1c2e0383bae996adddefa63398db9c32f9fd7e922496aaa7d00049048bb6ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1c2e0383bae996adddefa63398db9c32f9fd7e922496aaa7d00049048bb6ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c2e0383bae996adddefa63398db9c32f9fd7e922496aaa7d00049048bb6ce9", kill_on_drop: false }` [INFO] [stdout] c1c2e0383bae996adddefa63398db9c32f9fd7e922496aaa7d00049048bb6ce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc31c3f6af5f5793fc6581573c36871220a5e1615fde0f01f28ad6d6456ef435 [INFO] running `Command { std: "docker" "start" "-a" "cc31c3f6af5f5793fc6581573c36871220a5e1615fde0f01f28ad6d6456ef435", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking 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] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error: couldn't read `benches/bench.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mwcas` (bench "mwcas_bench") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "cc31c3f6af5f5793fc6581573c36871220a5e1615fde0f01f28ad6d6456ef435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc31c3f6af5f5793fc6581573c36871220a5e1615fde0f01f28ad6d6456ef435", kill_on_drop: false }` [INFO] [stdout] cc31c3f6af5f5793fc6581573c36871220a5e1615fde0f01f28ad6d6456ef435