[INFO] fetching crate ptr-bool 0.1.0... [INFO] testing ptr-bool-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ptr-bool 0.1.0 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ptr-bool 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d5d98994cba21acf251a29d4c758cfdd2529e56c1876342f39a5b13394b20e0 [INFO] running `Command { std: "docker" "start" "-a" "9d5d98994cba21acf251a29d4c758cfdd2529e56c1876342f39a5b13394b20e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d5d98994cba21acf251a29d4c758cfdd2529e56c1876342f39a5b13394b20e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d5d98994cba21acf251a29d4c758cfdd2529e56c1876342f39a5b13394b20e0", kill_on_drop: false }` [INFO] [stdout] 9d5d98994cba21acf251a29d4c758cfdd2529e56c1876342f39a5b13394b20e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7851a64d568a9bf12d5b0d941389190cde8467fa7e663f1e775dbb597d472b4e [INFO] running `Command { std: "docker" "start" "-a" "7851a64d568a9bf12d5b0d941389190cde8467fa7e663f1e775dbb597d472b4e", 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.12s [INFO] running `Command { std: "docker" "inspect" "7851a64d568a9bf12d5b0d941389190cde8467fa7e663f1e775dbb597d472b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7851a64d568a9bf12d5b0d941389190cde8467fa7e663f1e775dbb597d472b4e", kill_on_drop: false }` [INFO] [stdout] 7851a64d568a9bf12d5b0d941389190cde8467fa7e663f1e775dbb597d472b4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 174d6b1bd68a1c72639a030f91d59db5711e7685556fd83200dec7aaf24407ef [INFO] running `Command { std: "docker" "start" "-a" "174d6b1bd68a1c72639a030f91d59db5711e7685556fd83200dec7aaf24407ef", 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] [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] [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: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.41s [INFO] running `Command { std: "docker" "inspect" "174d6b1bd68a1c72639a030f91d59db5711e7685556fd83200dec7aaf24407ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "174d6b1bd68a1c72639a030f91d59db5711e7685556fd83200dec7aaf24407ef", kill_on_drop: false }` [INFO] [stdout] 174d6b1bd68a1c72639a030f91d59db5711e7685556fd83200dec7aaf24407ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b347677624c1f85d09c35dae605d2e74751f203bb0d6105ec9ea040588193295 [INFO] running `Command { std: "docker" "start" "-a" "b347677624c1f85d09c35dae605d2e74751f203bb0d6105ec9ea040588193295", 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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ptr_bool-f5b0cdb519189350) [INFO] [stdout] [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] [stderr] Doc-tests ptr_bool [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - PtrBool::as_mut (line 258) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_ref_unchecked (line 222) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_bool (line 93) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_mut_ptr (line 138) ... 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::is_null (line 153) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_ref (line 186) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_mut_unchecked (line 294) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::set_bool (line 107) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::new (line 50) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b347677624c1f85d09c35dae605d2e74751f203bb0d6105ec9ea040588193295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b347677624c1f85d09c35dae605d2e74751f203bb0d6105ec9ea040588193295", kill_on_drop: false }` [INFO] [stdout] b347677624c1f85d09c35dae605d2e74751f203bb0d6105ec9ea040588193295