[INFO] fetching crate zero-bounce 1.1.0... [INFO] building zero-bounce-1.1.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate zero-bounce 1.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate zero-bounce 1.1.0 [INFO] finished tweaking crates.io crate zero-bounce 1.1.0 [INFO] tweaked toml for crates.io crate zero-bounce 1.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zero-bounce 1.1.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zero-bounce 1.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 088231d4bcd9c7362668eecbd600e575900d1a3aab3fa2adf30426f7515381cd [INFO] running `Command { std: "docker" "start" "-a" "088231d4bcd9c7362668eecbd600e575900d1a3aab3fa2adf30426f7515381cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "088231d4bcd9c7362668eecbd600e575900d1a3aab3fa2adf30426f7515381cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "088231d4bcd9c7362668eecbd600e575900d1a3aab3fa2adf30426f7515381cd", kill_on_drop: false }` [INFO] [stdout] 088231d4bcd9c7362668eecbd600e575900d1a3aab3fa2adf30426f7515381cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b7c7462f8a7f7e3fe4c527ebef2a21ba88ad3d909ef50b330df2996290c70d0 [INFO] running `Command { std: "docker" "start" "-a" "1b7c7462f8a7f7e3fe4c527ebef2a21ba88ad3d909ef50b330df2996290c70d0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling memchr v2.6.1 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling openssl-sys v0.9.92 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling base64 v0.21.3 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling chrono v0.4.27 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.20 [INFO] [stderr] Compiling zero-bounce v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | url: crate::utility::URI.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | bulk_url: crate::utility::BULK_URI.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.58s [INFO] running `Command { std: "docker" "inspect" "1b7c7462f8a7f7e3fe4c527ebef2a21ba88ad3d909ef50b330df2996290c70d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b7c7462f8a7f7e3fe4c527ebef2a21ba88ad3d909ef50b330df2996290c70d0", kill_on_drop: false }` [INFO] [stdout] 1b7c7462f8a7f7e3fe4c527ebef2a21ba88ad3d909ef50b330df2996290c70d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56d9ecdc195532ed03ac2970a572fabdbdc8ef6932a64118599ed27b4aa15945 [INFO] running `Command { std: "docker" "start" "-a" "56d9ecdc195532ed03ac2970a572fabdbdc8ef6932a64118599ed27b4aa15945", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rustix v0.38.10 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling similar v2.2.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling mockito v1.1.0 [INFO] [stderr] Compiling reqwest v0.11.20 [INFO] [stderr] Compiling zero-bounce v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | url: crate::utility::URI.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | bulk_url: crate::utility::BULK_URI.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/ai_scoring.rs:38:64 [INFO] [stdout] | [INFO] [stdout] 38 | .with_body(mock_constants::BULK_VALIDATION_SUBMIT_ERROR.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/ai_scoring.rs:59:61 [INFO] [stdout] | [INFO] [stdout] 59 | .with_body(mock_constants::BULK_VALIDATION_SUBMIT_OK.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/ai_scoring.rs:94:56 [INFO] [stdout] | [INFO] [stdout] 94 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/ai_scoring.rs:114:61 [INFO] [stdout] | [INFO] [stdout] 114 | .with_body(mock_constants::BULK_VALIDATION_STATUS_OK.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/ai_scoring.rs:148:56 [INFO] [stdout] | [INFO] [stdout] 148 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/ai_scoring.rs:168:66 [INFO] [stdout] | [INFO] [stdout] 168 | .with_body(mock_constants::BULK_VALIDATION_RESULT_DELETED.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/ai_scoring.rs:234:56 [INFO] [stdout] | [INFO] [stdout] 234 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/ai_scoring.rs:254:68 [INFO] [stdout] | [INFO] [stdout] 254 | .with_body(mock_constants::BULK_VALIDATION_DELETE_NOT_FOUND.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/ai_scoring.rs:272:61 [INFO] [stdout] | [INFO] [stdout] 272 | .with_body(mock_constants::BULK_VALIDATION_DELETE_OK.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/validation.rs:38:64 [INFO] [stdout] | [INFO] [stdout] 38 | .with_body(mock_constants::BULK_VALIDATION_SUBMIT_ERROR.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/validation.rs:59:61 [INFO] [stdout] | [INFO] [stdout] 59 | .with_body(mock_constants::BULK_VALIDATION_SUBMIT_OK.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/validation.rs:94:56 [INFO] [stdout] | [INFO] [stdout] 94 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/validation.rs:114:61 [INFO] [stdout] | [INFO] [stdout] 114 | .with_body(mock_constants::BULK_VALIDATION_STATUS_OK.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/validation.rs:148:56 [INFO] [stdout] | [INFO] [stdout] 148 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/validation.rs:168:66 [INFO] [stdout] | [INFO] [stdout] 168 | .with_body(mock_constants::BULK_VALIDATION_RESULT_DELETED.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/validation.rs:234:56 [INFO] [stdout] | [INFO] [stdout] 234 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/validation.rs:254:68 [INFO] [stdout] | [INFO] [stdout] 254 | .with_body(mock_constants::BULK_VALIDATION_DELETE_NOT_FOUND.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/bulk/validation.rs:272:61 [INFO] [stdout] | [INFO] [stdout] 272 | .with_body(mock_constants::BULK_VALIDATION_DELETE_OK.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/activity_data.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/activity_data.rs:65:67 [INFO] [stdout] | [INFO] [stdout] 65 | .with_body(mock_constants::ACTIVITY_DATA_RESPONSE_INACTIVE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/activity_data.rs:86:65 [INFO] [stdout] | [INFO] [stdout] 86 | .with_body(mock_constants::ACTIVITY_DATA_RESPONSE_ACTIVE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/api_usage.rs:46:56 [INFO] [stdout] | [INFO] [stdout] 46 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/api_usage.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | .with_body(mock_constants::API_USAGE_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/get_credits.rs:44:56 [INFO] [stdout] | [INFO] [stdout] 44 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/get_credits.rs:64:61 [INFO] [stdout] | [INFO] [stdout] 64 | .with_body(mock_constants::CREDITS_RESPONSE_NEGATIVE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/get_credits.rs:82:55 [INFO] [stdout] | [INFO] [stdout] 82 | .with_body(mock_constants::CREDITS_RESPONSE_OK.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/find_mail.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/find_mail.rs:71:58 [INFO] [stdout] | [INFO] [stdout] 71 | .with_body(mock_constants::MOCK_FIND_MAIL_INVALID.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/find_mail.rs:94:56 [INFO] [stdout] | [INFO] [stdout] 94 | .with_body(mock_constants::MOCK_FIND_MAIL_VALID.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/find_mail.rs:153:56 [INFO] [stdout] | [INFO] [stdout] 153 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/find_mail.rs:173:58 [INFO] [stdout] | [INFO] [stdout] 173 | .with_body(mock_constants::MOCK_FIND_MAIL_INVALID.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/generic_endpoints/find_mail.rs:194:56 [INFO] [stdout] | [INFO] [stdout] 194 | .with_body(mock_constants::MOCK_FIND_MAIL_VALID.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/validation/simple_validation.rs:44:56 [INFO] [stdout] | [INFO] [stdout] 44 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/validation/simple_validation.rs:64:61 [INFO] [stdout] | [INFO] [stdout] 64 | .with_body(mock_constants::VALIDATION_RESPONSE_VALID.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/validation/simple_validation.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 81 | .with_body(mock_constants::VALIDATION_RESPONSE_VALID.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/validation/batch_validation.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 52 | .with_body(mock_constants::INVALID_API_RESPONSE.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/validation/batch_validation.rs:73:61 [INFO] [stdout] | [INFO] [stdout] 73 | .with_body(mock_constants::BATCH_VALIDATION_NO_ERROR.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | url: crate::utility::URI.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | bulk_url: crate::utility::BULK_URI.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 43.26s [INFO] running `Command { std: "docker" "inspect" "56d9ecdc195532ed03ac2970a572fabdbdc8ef6932a64118599ed27b4aa15945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d9ecdc195532ed03ac2970a572fabdbdc8ef6932a64118599ed27b4aa15945", kill_on_drop: false }` [INFO] [stdout] 56d9ecdc195532ed03ac2970a572fabdbdc8ef6932a64118599ed27b4aa15945