[INFO] fetching crate zero-bounce 1.1.0... [INFO] checking zero-bounce-1.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate zero-bounce 1.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate zero-bounce 1.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.6.1 [INFO] [stderr] Downloaded chrono v0.4.27 [INFO] [stderr] Downloaded mockito v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7945d2e27a77f3c172b5db8b318c1d33c18b2d69f648c6d18fe5e5aa0cd34c1a [INFO] running `Command { std: "docker" "start" "-a" "7945d2e27a77f3c172b5db8b318c1d33c18b2d69f648c6d18fe5e5aa0cd34c1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7945d2e27a77f3c172b5db8b318c1d33c18b2d69f648c6d18fe5e5aa0cd34c1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7945d2e27a77f3c172b5db8b318c1d33c18b2d69f648c6d18fe5e5aa0cd34c1a", kill_on_drop: false }` [INFO] [stdout] 7945d2e27a77f3c172b5db8b318c1d33c18b2d69f648c6d18fe5e5aa0cd34c1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2578ce9de94281e29d830bb6cc868441f134bcf20fd59d988a3087442becc776 [INFO] running `Command { std: "docker" "start" "-a" "2578ce9de94281e29d830bb6cc868441f134bcf20fd59d988a3087442becc776", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking memchr v2.6.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling rustix v0.38.10 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.92 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking chrono v0.4.27 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking regex v1.9.4 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking mockito v1.1.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking 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: 2 warnings emitted [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] [stdout] warning: 2 warnings emitted [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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.19s [INFO] running `Command { std: "docker" "inspect" "2578ce9de94281e29d830bb6cc868441f134bcf20fd59d988a3087442becc776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2578ce9de94281e29d830bb6cc868441f134bcf20fd59d988a3087442becc776", kill_on_drop: false }` [INFO] [stdout] 2578ce9de94281e29d830bb6cc868441f134bcf20fd59d988a3087442becc776