[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 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwherkamp%2Fadoptopenjdk-installer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wherkamp/adoptopenjdk-installer on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 349ee342cacb3901def886065c8ebbe6c6e19fd48f8451e7dce45c34b8d54e3b [INFO] running `Command { std: "docker" "start" "-a" "349ee342cacb3901def886065c8ebbe6c6e19fd48f8451e7dce45c34b8d54e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "349ee342cacb3901def886065c8ebbe6c6e19fd48f8451e7dce45c34b8d54e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "349ee342cacb3901def886065c8ebbe6c6e19fd48f8451e7dce45c34b8d54e3b", kill_on_drop: false }` [INFO] [stdout] 349ee342cacb3901def886065c8ebbe6c6e19fd48f8451e7dce45c34b8d54e3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bf6065e1ebe6e5671ad63dcf47d3430227d0a053be09450e2986180dcd4ada2 [INFO] running `Command { std: "docker" "start" "-a" "5bf6065e1ebe6e5671ad63dcf47d3430227d0a053be09450e2986180dcd4ada2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.59 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.145 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking os_str_bytes v6.5.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking whoami v1.4.0 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.19 [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.26 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [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] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adoptopenjdk-installer` (bin "adoptopenjdk-installer" test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `adoptopenjdk-installer` (bin "adoptopenjdk-installer") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5bf6065e1ebe6e5671ad63dcf47d3430227d0a053be09450e2986180dcd4ada2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bf6065e1ebe6e5671ad63dcf47d3430227d0a053be09450e2986180dcd4ada2", kill_on_drop: false }` [INFO] [stdout] 5bf6065e1ebe6e5671ad63dcf47d3430227d0a053be09450e2986180dcd4ada2