[INFO] fetching crate ptr-bool 0.1.0... [INFO] testing ptr-bool-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efda76e11aaa73769464e95475a1113b73c408080067f88aa785f505cbb0454a [INFO] running `Command { std: "docker" "start" "-a" "efda76e11aaa73769464e95475a1113b73c408080067f88aa785f505cbb0454a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efda76e11aaa73769464e95475a1113b73c408080067f88aa785f505cbb0454a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efda76e11aaa73769464e95475a1113b73c408080067f88aa785f505cbb0454a", kill_on_drop: false }` [INFO] [stdout] efda76e11aaa73769464e95475a1113b73c408080067f88aa785f505cbb0454a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 639cdfdf4b51410247eca85bca269b6c95a61fb3b99a72e2b7000e68db084285 [INFO] running `Command { std: "docker" "start" "-a" "639cdfdf4b51410247eca85bca269b6c95a61fb3b99a72e2b7000e68db084285", 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.11s [INFO] running `Command { std: "docker" "inspect" "639cdfdf4b51410247eca85bca269b6c95a61fb3b99a72e2b7000e68db084285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639cdfdf4b51410247eca85bca269b6c95a61fb3b99a72e2b7000e68db084285", kill_on_drop: false }` [INFO] [stdout] 639cdfdf4b51410247eca85bca269b6c95a61fb3b99a72e2b7000e68db084285 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d26a81ff9ed08e6d236e22e25657bc004861d77cf0fd16b299598c6becd42e78 [INFO] running `Command { std: "docker" "start" "-a" "d26a81ff9ed08e6d236e22e25657bc004861d77cf0fd16b299598c6becd42e78", 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] [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: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.40s [INFO] running `Command { std: "docker" "inspect" "d26a81ff9ed08e6d236e22e25657bc004861d77cf0fd16b299598c6becd42e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26a81ff9ed08e6d236e22e25657bc004861d77cf0fd16b299598c6becd42e78", kill_on_drop: false }` [INFO] [stdout] d26a81ff9ed08e6d236e22e25657bc004861d77cf0fd16b299598c6becd42e78 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2440362a2bb9a0712a4d51d43075075a7c44c685f8f14bfa5fdc5f983c07aeb0 [INFO] running `Command { std: "docker" "start" "-a" "2440362a2bb9a0712a4d51d43075075a7c44c685f8f14bfa5fdc5f983c07aeb0", 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] [stdout] [INFO] [stderr] | ^^^^^^^^ [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [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] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] help: remove this redundant call [INFO] [stdout] [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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ptr_bool-7296c0fd91ed18c2) [INFO] running `Command { std: "docker" "inspect" "2440362a2bb9a0712a4d51d43075075a7c44c685f8f14bfa5fdc5f983c07aeb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2440362a2bb9a0712a4d51d43075075a7c44c685f8f14bfa5fdc5f983c07aeb0", kill_on_drop: false }` [INFO] [stdout] 2440362a2bb9a0712a4d51d43075075a7c44c685f8f14bfa5fdc5f983c07aeb0