[INFO] fetching crate sogar-core 0.2.0... [INFO] testing sogar-core-0.2.0 against try#f23b22458132fb20faeb8a915b1c252478696f25 for pr-131095 [INFO] extracting crate sogar-core 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate sogar-core 0.2.0 on toolchain f23b22458132fb20faeb8a915b1c252478696f25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sogar-core 0.2.0 [INFO] finished tweaking crates.io crate sogar-core 0.2.0 [INFO] tweaked toml for crates.io crate sogar-core 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 277 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.19) [INFO] [stderr] Adding config v0.10.1 (available: v0.14.0) [INFO] [stderr] Adding hyper v0.13.10 (available: v1.4.1) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.8) [INFO] [stderr] Adding saphir v2.8.2 (available: v3.1.1) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.8) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.40.0) [INFO] [stderr] Adding tokio-util v0.6.10 (available: v0.7.12) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.2) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63192f0106e51dfc23afff02288bebdfe7ab5b87b7d221eac824abbbc03e100d [INFO] running `Command { std: "docker" "start" "-a" "63192f0106e51dfc23afff02288bebdfe7ab5b87b7d221eac824abbbc03e100d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63192f0106e51dfc23afff02288bebdfe7ab5b87b7d221eac824abbbc03e100d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63192f0106e51dfc23afff02288bebdfe7ab5b87b7d221eac824abbbc03e100d", kill_on_drop: false }` [INFO] [stdout] 63192f0106e51dfc23afff02288bebdfe7ab5b87b7d221eac824abbbc03e100d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2457bc8244ebe5091a7dca05f94b3ead4ce0ed253108b9dca11f75a0adc9743c [INFO] running `Command { std: "docker" "start" "-a" "2457bc8244ebe5091a7dca05f94b3ead4ce0ed253108b9dca11f75a0adc9743c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling saphir-cookie v0.13.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling slog-stdlog v4.1.1 [INFO] [stderr] Compiling slog-term v2.9.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling slog-scope-futures v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling saphir_macro v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling saphir v2.8.2 [INFO] [stderr] Compiling sogar-core v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sogar.rs:373:34 [INFO] [stdout] | [INFO] [stdout] 373 | .bearer_auth(access_token.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] --> src/sogar.rs:502:34 [INFO] [stdout] | [INFO] [stdout] 502 | .bearer_auth(access_token.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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "2457bc8244ebe5091a7dca05f94b3ead4ce0ed253108b9dca11f75a0adc9743c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2457bc8244ebe5091a7dca05f94b3ead4ce0ed253108b9dca11f75a0adc9743c", kill_on_drop: false }` [INFO] [stdout] 2457bc8244ebe5091a7dca05f94b3ead4ce0ed253108b9dca11f75a0adc9743c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7df163c9a8a3675125efefb562d7eb9900d501bcae5442630ee67101ae0288c3 [INFO] running `Command { std: "docker" "start" "-a" "7df163c9a8a3675125efefb562d7eb9900d501bcae5442630ee67101ae0288c3", kill_on_drop: false }` [INFO] [stderr] Compiling sogar-core v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sogar.rs:373:34 [INFO] [stdout] | [INFO] [stdout] 373 | .bearer_auth(access_token.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] --> src/sogar.rs:502:34 [INFO] [stdout] | [INFO] [stdout] 502 | .bearer_auth(access_token.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/sogar.rs:373:34 [INFO] [stdout] | [INFO] [stdout] 373 | .bearer_auth(access_token.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] --> src/sogar.rs:502:34 [INFO] [stdout] | [INFO] [stdout] 502 | .bearer_auth(access_token.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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.24s [INFO] running `Command { std: "docker" "inspect" "7df163c9a8a3675125efefb562d7eb9900d501bcae5442630ee67101ae0288c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df163c9a8a3675125efefb562d7eb9900d501bcae5442630ee67101ae0288c3", kill_on_drop: false }` [INFO] [stdout] 7df163c9a8a3675125efefb562d7eb9900d501bcae5442630ee67101ae0288c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7b429ca11ebb9e123433c4437ecc98dd1a8d50aafedce63b95361505c450d0d [INFO] running `Command { std: "docker" "start" "-a" "f7b429ca11ebb9e123433c4437ecc98dd1a8d50aafedce63b95361505c450d0d", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/sogar.rs:373:34 [INFO] [stderr] | [INFO] [stderr] 373 | .bearer_auth(access_token.clone()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/sogar.rs:502:34 [INFO] [stderr] | [INFO] [stderr] 502 | .bearer_auth(access_token.clone()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `sogar-core` (lib) generated 2 warnings (run `cargo fix --lib -p sogar-core` to apply 2 suggestions) [INFO] [stderr] warning: `sogar-core` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sogar_core-33d72d81f05a7bea) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test config::tests::test_map_contains_value ... ok [INFO] [stdout] test config::tests::test_map_not_contains_value ... ok [INFO] [stdout] test sogar::tests::test_incorrect_digest ... ok [INFO] [stdout] test sogar::tests::test_correct_digest ... ok [INFO] [stdout] test sogar::tests::test_reference_with_tag ... ok [INFO] [stdout] test sogar::tests::create_file_name_from_layer_created_from_digest ... ok [INFO] [stdout] test sogar::tests::test_reference_no_tag ... ok [INFO] [stdout] test sogar::tests::create_file_name_from_layer_created_from_annotation ... ok [INFO] [stdout] test sogar::tests::test_incorrect_reference ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests sogar_core [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] running `Command { std: "docker" "inspect" "f7b429ca11ebb9e123433c4437ecc98dd1a8d50aafedce63b95361505c450d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b429ca11ebb9e123433c4437ecc98dd1a8d50aafedce63b95361505c450d0d", kill_on_drop: false }` [INFO] [stdout] f7b429ca11ebb9e123433c4437ecc98dd1a8d50aafedce63b95361505c450d0d