[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] testing wherkamp/adoptopenjdk-installer against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwherkamp%2Fadoptopenjdk-installer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wherkamp/adoptopenjdk-installer on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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.32) [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.14) [INFO] [stderr] Adding serde_qs v0.9.2 (available: v0.14.0) [INFO] [stderr] Adding strum v0.24.1 (available: v0.27.1) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.27.1) [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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_qs v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 825eca8eeea06ef41d3fb61ddc0bf172a35792c25272c668c2e4480daabe8d9e [INFO] running `Command { std: "docker" "start" "-a" "825eca8eeea06ef41d3fb61ddc0bf172a35792c25272c668c2e4480daabe8d9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "825eca8eeea06ef41d3fb61ddc0bf172a35792c25272c668c2e4480daabe8d9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "825eca8eeea06ef41d3fb61ddc0bf172a35792c25272c668c2e4480daabe8d9e", kill_on_drop: false }` [INFO] [stdout] 825eca8eeea06ef41d3fb61ddc0bf172a35792c25272c668c2e4480daabe8d9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2d93830e1166a2ad259c95b13ae962c447cd59cb80aa62657d24e7bba091966 [INFO] running `Command { std: "docker" "start" "-a" "d2d93830e1166a2ad259c95b13ae962c447cd59cb80aa62657d24e7bba091966", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling xattr v1.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.9.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling 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: 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 2m 06s [INFO] running `Command { std: "docker" "inspect" "d2d93830e1166a2ad259c95b13ae962c447cd59cb80aa62657d24e7bba091966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d93830e1166a2ad259c95b13ae962c447cd59cb80aa62657d24e7bba091966", kill_on_drop: false }` [INFO] [stdout] d2d93830e1166a2ad259c95b13ae962c447cd59cb80aa62657d24e7bba091966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d7595043d89cd1ac0bd08220456c42de2630bea272047da50e695e07eac482b [INFO] running `Command { std: "docker" "start" "-a" "8d7595043d89cd1ac0bd08220456c42de2630bea272047da50e695e07eac482b", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "8d7595043d89cd1ac0bd08220456c42de2630bea272047da50e695e07eac482b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7595043d89cd1ac0bd08220456c42de2630bea272047da50e695e07eac482b", kill_on_drop: false }` [INFO] [stdout] 8d7595043d89cd1ac0bd08220456c42de2630bea272047da50e695e07eac482b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2f44a2d4d2f98169969c4b718bdc988efd1bb5ccda0f01c3db5d180b900fbd2 [INFO] running `Command { std: "docker" "start" "-a" "a2f44a2d4d2f98169969c4b718bdc988efd1bb5ccda0f01c3db5d180b900fbd2", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated unit variant `adoptopenjdk::response::Vendor::adoptopenjdk`: As far as I understand Adoptium is removing this vendor [INFO] [stderr] --> src/adoptopenjdk/response.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | adoptopenjdk, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `adoptopenjdk::response::Vendor::openjdk`: As far as I understand Adoptium is removing this vendor [INFO] [stderr] --> src/adoptopenjdk/response.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | openjdk, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:106:85 [INFO] [stderr] | [INFO] [stderr] 106 | let result1 = jdk.download_binary(binary.clone(), std::env::temp_dir().as_path().clone()).await; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 106 - let result1 = jdk.download_binary(binary.clone(), std::env::temp_dir().as_path().clone()).await; [INFO] [stderr] 106 + let result1 = jdk.download_binary(binary.clone(), std::env::temp_dir().as_path()).await; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/utils/utils.rs:17:21 [INFO] [stderr] | [INFO] [stderr] 17 | let x = location.clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 17 - let x = location.clone(); [INFO] [stderr] 17 + let x = location; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/installer/mod.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | let java = path.clone().join("bin").join("java"); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 72 - let java = path.clone().join("bin").join("java"); [INFO] [stderr] 72 + let java = path.join("bin").join("java"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/installer/mod.rs:73:25 [INFO] [stderr] | [INFO] [stderr] 73 | let javac = path.clone().join("bin").join("javac"); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 73 - let javac = path.clone().join("bin").join("javac"); [INFO] [stderr] 73 + let javac = path.join("bin").join("javac"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/installer/mod.rs:74:27 [INFO] [stderr] | [INFO] [stderr] 74 | let javadoc = path.clone().join("bin").join("javadoc"); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 74 - let javadoc = path.clone().join("bin").join("javadoc"); [INFO] [stderr] 74 + let javadoc = path.join("bin").join("javadoc"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `adoptopenjdk-installer` (bin "adoptopenjdk-installer" test) generated 7 warnings (run `cargo fix --bin "adoptopenjdk-installer" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/adoptopenjdk_installer-a2f6b0e349b32c40) [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" "a2f44a2d4d2f98169969c4b718bdc988efd1bb5ccda0f01c3db5d180b900fbd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f44a2d4d2f98169969c4b718bdc988efd1bb5ccda0f01c3db5d180b900fbd2", kill_on_drop: false }` [INFO] [stdout] a2f44a2d4d2f98169969c4b718bdc988efd1bb5ccda0f01c3db5d180b900fbd2