[INFO] fetching crate ptr-bool 0.1.0... [INFO] testing ptr-bool-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate ptr-bool 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate ptr-bool 0.1.0 [INFO] finished tweaking crates.io crate ptr-bool 0.1.0 [INFO] tweaked toml for crates.io crate ptr-bool 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ptr-bool 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a9b1681c83d9643f93533235e457a0379ab14c41e9b29e63c64b0c591a3dca9 [INFO] running `Command { std: "docker" "start" "-a" "7a9b1681c83d9643f93533235e457a0379ab14c41e9b29e63c64b0c591a3dca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a9b1681c83d9643f93533235e457a0379ab14c41e9b29e63c64b0c591a3dca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9b1681c83d9643f93533235e457a0379ab14c41e9b29e63c64b0c591a3dca9", kill_on_drop: false }` [INFO] [stdout] 7a9b1681c83d9643f93533235e457a0379ab14c41e9b29e63c64b0c591a3dca9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c644d604e7128aa9247e11fa84828c3fa7bf8e2cfe3d4be2a6f8f0d21849a8 [INFO] running `Command { std: "docker" "start" "-a" "86c644d604e7128aa9247e11fa84828c3fa7bf8e2cfe3d4be2a6f8f0d21849a8", kill_on_drop: false }` [INFO] [stderr] Compiling ptr-bool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | .field(&self.clone().get_ptr()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` 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] 313 - .field(&self.clone().get_ptr()) [INFO] [stdout] 313 + .field(&self.get_ptr()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | .field(&self.clone().get_bool()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 314 - .field(&self.clone().get_bool()) [INFO] [stdout] 314 + .field(&self.get_bool()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | .field(&self.clone().get_ptr()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 322 - .field(&self.clone().get_ptr()) [INFO] [stdout] 322 + .field(&self.get_ptr()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:323:25 [INFO] [stdout] | [INFO] [stdout] 323 | .field(&self.clone().get_bool()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 323 - .field(&self.clone().get_bool()) [INFO] [stdout] 323 + .field(&self.get_bool()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | .field(&self.clone().get_ptr()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 331 - .field(&self.clone().get_ptr()) [INFO] [stdout] 331 + .field(&self.get_ptr()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | .field(&self.clone().get_bool()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 332 - .field(&self.clone().get_bool()) [INFO] [stdout] 332 + .field(&self.get_bool()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "86c644d604e7128aa9247e11fa84828c3fa7bf8e2cfe3d4be2a6f8f0d21849a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c644d604e7128aa9247e11fa84828c3fa7bf8e2cfe3d4be2a6f8f0d21849a8", kill_on_drop: false }` [INFO] [stdout] 86c644d604e7128aa9247e11fa84828c3fa7bf8e2cfe3d4be2a6f8f0d21849a8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bec7fd6758c0d132b9972c23464b0b76993f01be9ebb780afe2f040c3a898d7 [INFO] running `Command { std: "docker" "start" "-a" "3bec7fd6758c0d132b9972c23464b0b76993f01be9ebb780afe2f040c3a898d7", kill_on_drop: false }` [INFO] [stderr] Compiling ptr-bool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | .field(&self.clone().get_ptr()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` 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] 313 - .field(&self.clone().get_ptr()) [INFO] [stdout] 313 + .field(&self.get_ptr()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | .field(&self.clone().get_bool()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 314 - .field(&self.clone().get_bool()) [INFO] [stdout] 314 + .field(&self.get_bool()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | .field(&self.clone().get_ptr()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 322 - .field(&self.clone().get_ptr()) [INFO] [stdout] 322 + .field(&self.get_ptr()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:323:25 [INFO] [stdout] | [INFO] [stdout] 323 | .field(&self.clone().get_bool()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 323 - .field(&self.clone().get_bool()) [INFO] [stdout] 323 + .field(&self.get_bool()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | .field(&self.clone().get_ptr()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 331 - .field(&self.clone().get_ptr()) [INFO] [stdout] 331 + .field(&self.get_ptr()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | .field(&self.clone().get_bool()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 332 - .field(&self.clone().get_bool()) [INFO] [stdout] 332 + .field(&self.get_bool()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | .field(&self.clone().get_ptr()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` 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] 313 - .field(&self.clone().get_ptr()) [INFO] [stdout] 313 + .field(&self.get_ptr()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | .field(&self.clone().get_bool()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 314 - .field(&self.clone().get_bool()) [INFO] [stdout] 314 + .field(&self.get_bool()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | .field(&self.clone().get_ptr()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 322 - .field(&self.clone().get_ptr()) [INFO] [stdout] 322 + .field(&self.get_ptr()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:323:25 [INFO] [stdout] | [INFO] [stdout] 323 | .field(&self.clone().get_bool()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 323 - .field(&self.clone().get_bool()) [INFO] [stdout] 323 + .field(&self.get_bool()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | .field(&self.clone().get_ptr()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 331 - .field(&self.clone().get_ptr()) [INFO] [stdout] 331 + .field(&self.get_ptr()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | .field(&self.clone().get_bool()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 332 - .field(&self.clone().get_bool()) [INFO] [stdout] 332 + .field(&self.get_bool()) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct PtrBool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "3bec7fd6758c0d132b9972c23464b0b76993f01be9ebb780afe2f040c3a898d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bec7fd6758c0d132b9972c23464b0b76993f01be9ebb780afe2f040c3a898d7", kill_on_drop: false }` [INFO] [stdout] 3bec7fd6758c0d132b9972c23464b0b76993f01be9ebb780afe2f040c3a898d7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06fd6b07188b245ff46731d551993273d95752a25cda437b2c3b44236ee517d8 [INFO] running `Command { std: "docker" "start" "-a" "06fd6b07188b245ff46731d551993273d95752a25cda437b2c3b44236ee517d8", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:313:25 [INFO] [stderr] | [INFO] [stderr] 313 | .field(&self.clone().get_ptr()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` 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] 313 - .field(&self.clone().get_ptr()) [INFO] [stderr] 313 + .field(&self.get_ptr()) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 27 + #[derive(Clone)] [INFO] [stderr] 28 | pub struct PtrBool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:314:25 [INFO] [stderr] | [INFO] [stderr] 314 | .field(&self.clone().get_bool()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 314 - .field(&self.clone().get_bool()) [INFO] [stderr] 314 + .field(&self.get_bool()) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 27 + #[derive(Clone)] [INFO] [stderr] 28 | pub struct PtrBool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:322:25 [INFO] [stderr] | [INFO] [stderr] 322 | .field(&self.clone().get_ptr()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 322 - .field(&self.clone().get_ptr()) [INFO] [stderr] 322 + .field(&self.get_ptr()) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 27 + #[derive(Clone)] [INFO] [stderr] 28 | pub struct PtrBool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:323:25 [INFO] [stderr] | [INFO] [stderr] 323 | .field(&self.clone().get_bool()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 323 - .field(&self.clone().get_bool()) [INFO] [stderr] 323 + .field(&self.get_bool()) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 27 + #[derive(Clone)] [INFO] [stderr] 28 | pub struct PtrBool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:331:25 [INFO] [stderr] | [INFO] [stderr] 331 | .field(&self.clone().get_ptr()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 331 - .field(&self.clone().get_ptr()) [INFO] [stderr] 331 + .field(&self.get_ptr()) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 27 + #[derive(Clone)] [INFO] [stderr] 28 | pub struct PtrBool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:332:25 [INFO] [stderr] | [INFO] [stderr] 332 | .field(&self.clone().get_bool()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `PtrBool` does not implement `Clone`, so calling `clone` on `&PtrBool` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 332 - .field(&self.clone().get_bool()) [INFO] [stderr] 332 + .field(&self.get_bool()) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `PtrBool`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 27 + #[derive(Clone)] [INFO] [stderr] 28 | pub struct PtrBool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ptr-bool` (lib) generated 6 warnings (run `cargo fix --lib -p ptr-bool` to apply 6 suggestions) [INFO] [stderr] warning: `ptr-bool` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ptr_bool-f5b0cdb519189350) [INFO] [stdout] [INFO] [stderr] Doc-tests ptr_bool [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - PtrBool::new (line 50) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_mut (line 258) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::null (line 78) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_ptr (line 123) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_ref_unchecked (line 222) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::is_null (line 153) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_bool (line 93) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_mut_unchecked (line 294) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_ref (line 186) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_mut_ptr (line 138) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::set_bool (line 107) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "06fd6b07188b245ff46731d551993273d95752a25cda437b2c3b44236ee517d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06fd6b07188b245ff46731d551993273d95752a25cda437b2c3b44236ee517d8", kill_on_drop: false }` [INFO] [stdout] 06fd6b07188b245ff46731d551993273d95752a25cda437b2c3b44236ee517d8