[INFO] fetching crate ptr-bool 0.1.0... [INFO] building ptr-bool-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate ptr-bool 0.1.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ptr-bool 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f258388e9637840524f6fa9e03e0f49226193d75c1dea13cb3c76aaa56f6180 [INFO] running `Command { std: "docker" "start" "-a" "4f258388e9637840524f6fa9e03e0f49226193d75c1dea13cb3c76aaa56f6180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f258388e9637840524f6fa9e03e0f49226193d75c1dea13cb3c76aaa56f6180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f258388e9637840524f6fa9e03e0f49226193d75c1dea13cb3c76aaa56f6180", kill_on_drop: false }` [INFO] [stdout] 4f258388e9637840524f6fa9e03e0f49226193d75c1dea13cb3c76aaa56f6180 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd15322986539650f22d41012d7fafa7f5f1177d0c8f2bed6f639a7583b49295 [INFO] running `Command { std: "docker" "start" "-a" "fd15322986539650f22d41012d7fafa7f5f1177d0c8f2bed6f639a7583b49295", 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.14s [INFO] running `Command { std: "docker" "inspect" "fd15322986539650f22d41012d7fafa7f5f1177d0c8f2bed6f639a7583b49295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd15322986539650f22d41012d7fafa7f5f1177d0c8f2bed6f639a7583b49295", kill_on_drop: false }` [INFO] [stdout] fd15322986539650f22d41012d7fafa7f5f1177d0c8f2bed6f639a7583b49295 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97821133b25d020bae285a75cd7cd36099d55bdb83ceb6645210744e21ecfc82 [INFO] running `Command { std: "docker" "start" "-a" "97821133b25d020bae285a75cd7cd36099d55bdb83ceb6645210744e21ecfc82", kill_on_drop: false }` [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] [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: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.13s [INFO] running `Command { std: "docker" "inspect" "97821133b25d020bae285a75cd7cd36099d55bdb83ceb6645210744e21ecfc82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97821133b25d020bae285a75cd7cd36099d55bdb83ceb6645210744e21ecfc82", kill_on_drop: false }` [INFO] [stdout] 97821133b25d020bae285a75cd7cd36099d55bdb83ceb6645210744e21ecfc82