[INFO] fetching crate ptr-bool 0.1.0... [INFO] testing ptr-bool-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate ptr-bool 0.1.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ptr-bool 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcfba04f9ec23ddae5eddc9942be6596f9b3795cc957ea36f349f59369003c99 [INFO] running `Command { std: "docker" "start" "-a" "bcfba04f9ec23ddae5eddc9942be6596f9b3795cc957ea36f349f59369003c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcfba04f9ec23ddae5eddc9942be6596f9b3795cc957ea36f349f59369003c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcfba04f9ec23ddae5eddc9942be6596f9b3795cc957ea36f349f59369003c99", kill_on_drop: false }` [INFO] [stdout] bcfba04f9ec23ddae5eddc9942be6596f9b3795cc957ea36f349f59369003c99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0379d3a869c369db5b2b065c303c4141f3765b34922ce30fddb57937e11c2cc9 [INFO] running `Command { std: "docker" "start" "-a" "0379d3a869c369db5b2b065c303c4141f3765b34922ce30fddb57937e11c2cc9", 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.17s [INFO] running `Command { std: "docker" "inspect" "0379d3a869c369db5b2b065c303c4141f3765b34922ce30fddb57937e11c2cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0379d3a869c369db5b2b065c303c4141f3765b34922ce30fddb57937e11c2cc9", kill_on_drop: false }` [INFO] [stdout] 0379d3a869c369db5b2b065c303c4141f3765b34922ce30fddb57937e11c2cc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff3fc8fe47f6d181e423d42efb7dea6c93818a19834a8a27a42653bb4e2af473 [INFO] running `Command { std: "docker" "start" "-a" "ff3fc8fe47f6d181e423d42efb7dea6c93818a19834a8a27a42653bb4e2af473", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "ff3fc8fe47f6d181e423d42efb7dea6c93818a19834a8a27a42653bb4e2af473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3fc8fe47f6d181e423d42efb7dea6c93818a19834a8a27a42653bb4e2af473", kill_on_drop: false }` [INFO] [stdout] ff3fc8fe47f6d181e423d42efb7dea6c93818a19834a8a27a42653bb4e2af473 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 427ad80b2fca793830a21c44e6252793fbb2089cd5f8c4a138a0de0666c93312 [INFO] running `Command { std: "docker" "start" "-a" "427ad80b2fca793830a21c44e6252793fbb2089cd5f8c4a138a0de0666c93312", 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.04s [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_ptr (line 138) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_ref_unchecked (line 222) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::new (line 50) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::null (line 78) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_ref (line 186) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_ptr (line 123) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::set_bool (line 107) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_mut_unchecked (line 294) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_mut (line 258) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::as_bool (line 93) ... ok [INFO] [stdout] test src/lib.rs - PtrBool::is_null (line 153) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "427ad80b2fca793830a21c44e6252793fbb2089cd5f8c4a138a0de0666c93312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427ad80b2fca793830a21c44e6252793fbb2089cd5f8c4a138a0de0666c93312", kill_on_drop: false }` [INFO] [stdout] 427ad80b2fca793830a21c44e6252793fbb2089cd5f8c4a138a0de0666c93312