[INFO] cloning repository https://github.com/wherkamp/adoptopenjdk-installer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wherkamp/adoptopenjdk-installer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwherkamp%2Fadoptopenjdk-installer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwherkamp%2Fadoptopenjdk-installer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ab67a50e308b81a0b64c904de7d6b1a658954a0 [INFO] checking wherkamp/adoptopenjdk-installer/1ab67a50e308b81a0b64c904de7d6b1a658954a0 against master#cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwherkamp%2Fadoptopenjdk-installer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wherkamp/adoptopenjdk-installer on toolchain cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wherkamp/adoptopenjdk-installer [INFO] finished tweaking git repo https://github.com/wherkamp/adoptopenjdk-installer [INFO] tweaked toml for git repo https://github.com/wherkamp/adoptopenjdk-installer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 202 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.29) [INFO] [stderr] Adding colored v2.2.0 (available: v3.0.0) [INFO] [stderr] Adding derive_more v0.99.19 (available: v2.0.1) [INFO] [stderr] Adding indicatif v0.16.2 (available: v0.17.11) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.12) [INFO] [stderr] Adding serde_qs v0.9.2 (available: v0.13.0) [INFO] [stderr] Adding strum v0.24.1 (available: v0.27.0) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.27.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.20) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac4c897a84bf664d9a9e0eae03d1a86de03d238343494ade7d93f975308f810a [INFO] running `Command { std: "docker" "start" "-a" "ac4c897a84bf664d9a9e0eae03d1a86de03d238343494ade7d93f975308f810a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac4c897a84bf664d9a9e0eae03d1a86de03d238343494ade7d93f975308f810a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4c897a84bf664d9a9e0eae03d1a86de03d238343494ade7d93f975308f810a", kill_on_drop: false }` [INFO] [stdout] ac4c897a84bf664d9a9e0eae03d1a86de03d238343494ade7d93f975308f810a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc9283412570059a0e15b4e53dc3e891c0165790d0b89f236fe7358781f6f091 [INFO] running `Command { std: "docker" "start" "-a" "fc9283412570059a0e15b4e53dc3e891c0165790d0b89f236fe7358781f6f091", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking miniz_oxide v0.8.4 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking xattr v1.4.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking tar v0.4.43 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_qs v0.9.2 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking adoptopenjdk-installer v1.0.0-RC0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated unit variant `adoptopenjdk::response::Vendor::adoptopenjdk`: As far as I understand Adoptium is removing this vendor [INFO] [stdout] --> src/adoptopenjdk/response.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | adoptopenjdk, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `adoptopenjdk::response::Vendor::openjdk`: As far as I understand Adoptium is removing this vendor [INFO] [stdout] --> src/adoptopenjdk/response.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | openjdk, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `adoptopenjdk::response::Vendor::adoptopenjdk`: As far as I understand Adoptium is removing this vendor [INFO] [stdout] --> src/adoptopenjdk/response.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | adoptopenjdk, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `adoptopenjdk::response::Vendor::openjdk`: As far as I understand Adoptium is removing this vendor [INFO] [stdout] --> src/adoptopenjdk/response.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | openjdk, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:106:85 [INFO] [stdout] | [INFO] [stdout] 106 | let result1 = jdk.download_binary(binary.clone(), std::env::temp_dir().as_path().clone()).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` 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] 106 - let result1 = jdk.download_binary(binary.clone(), std::env::temp_dir().as_path().clone()).await; [INFO] [stdout] 106 + let result1 = jdk.download_binary(binary.clone(), std::env::temp_dir().as_path()).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils/utils.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let x = location.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 17 - let x = location.clone(); [INFO] [stdout] 17 + let x = location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/installer/mod.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let java = path.clone().join("bin").join("java"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 72 - let java = path.clone().join("bin").join("java"); [INFO] [stdout] 72 + let java = path.join("bin").join("java"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/installer/mod.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let javac = path.clone().join("bin").join("javac"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 73 - let javac = path.clone().join("bin").join("javac"); [INFO] [stdout] 73 + let javac = path.join("bin").join("javac"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/installer/mod.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | let javadoc = path.clone().join("bin").join("javadoc"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 74 - let javadoc = path.clone().join("bin").join("javadoc"); [INFO] [stdout] 74 + let javadoc = path.join("bin").join("javadoc"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:106:85 [INFO] [stdout] | [INFO] [stdout] 106 | let result1 = jdk.download_binary(binary.clone(), std::env::temp_dir().as_path().clone()).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` 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] 106 - let result1 = jdk.download_binary(binary.clone(), std::env::temp_dir().as_path().clone()).await; [INFO] [stdout] 106 + let result1 = jdk.download_binary(binary.clone(), std::env::temp_dir().as_path()).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils/utils.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let x = location.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 17 - let x = location.clone(); [INFO] [stdout] 17 + let x = location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/installer/mod.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let java = path.clone().join("bin").join("java"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 72 - let java = path.clone().join("bin").join("java"); [INFO] [stdout] 72 + let java = path.join("bin").join("java"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/installer/mod.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let javac = path.clone().join("bin").join("javac"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 73 - let javac = path.clone().join("bin").join("javac"); [INFO] [stdout] 73 + let javac = path.join("bin").join("javac"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/installer/mod.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | let javadoc = path.clone().join("bin").join("javadoc"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 74 - let javadoc = path.clone().join("bin").join("javadoc"); [INFO] [stdout] 74 + let javadoc = path.join("bin").join("javadoc"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "fc9283412570059a0e15b4e53dc3e891c0165790d0b89f236fe7358781f6f091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc9283412570059a0e15b4e53dc3e891c0165790d0b89f236fe7358781f6f091", kill_on_drop: false }` [INFO] [stdout] fc9283412570059a0e15b4e53dc3e891c0165790d0b89f236fe7358781f6f091