[INFO] cloning repository https://github.com/Duckifo/modrinth-modpack-downloader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Duckifo/modrinth-modpack-downloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuckifo%2Fmodrinth-modpack-downloader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuckifo%2Fmodrinth-modpack-downloader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1a2391bac041045d6153f392261713cd0f7cc440
[INFO] checking Duckifo/modrinth-modpack-downloader/1a2391bac041045d6153f392261713cd0f7cc440 against 1ed2df61a19042f231709eb05d032ae9e2cb2084 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuckifo%2Fmodrinth-modpack-downloader" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Duckifo/modrinth-modpack-downloader
[INFO] finished tweaking git repo https://github.com/Duckifo/modrinth-modpack-downloader
[INFO] tweaked toml for git repo https://github.com/Duckifo/modrinth-modpack-downloader written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Duckifo/modrinth-modpack-downloader on toolchain 1ed2df61a19042f231709eb05d032ae9e2cb2084
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Duckifo/modrinth-modpack-downloader 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" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded jobserver v0.1.33
[INFO] [stderr]   Downloaded crc v3.2.1
[INFO] [stderr]   Downloaded zip v2.6.1
[INFO] [stderr]   Downloaded wit-bindgen-rt v0.39.0
[INFO] [stderr]   Downloaded lzma-rs v0.3.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.100
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.100
[INFO] [stderr]   Downloaded errno v0.3.11
[INFO] [stderr]   Downloaded home v0.5.11
[INFO] [stderr]   Downloaded time-core v0.1.4
[INFO] [stderr]   Downloaded cc v1.2.19
[INFO] [stderr]   Downloaded windows-result v0.3.2
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.100
[INFO] [stderr]   Downloaded windows-registry v0.4.0
[INFO] [stderr]   Downloaded deranged v0.4.0
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.100
[INFO] [stderr]   Downloaded openssl-probe v0.1.6
[INFO] [stderr]   Downloaded log v0.4.27
[INFO] [stderr]   Downloaded windows-strings v0.3.1
[INFO] [stderr]   Downloaded deflate64 v0.1.9
[INFO] [stderr]   Downloaded windows-targets v0.53.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.50
[INFO] [stderr]   Downloaded derive_arbitrary v1.4.1
[INFO] [stderr]   Downloaded icu_locid_transform_data v1.5.1
[INFO] [stderr]   Downloaded native-tls v0.2.14
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.100
[INFO] [stderr]   Downloaded smallvec v1.15.0
[INFO] [stderr]   Downloaded security-framework-sys v2.14.0
[INFO] [stderr]   Downloaded getrandom v0.3.2
[INFO] [stderr]   Downloaded arbitrary v1.4.1
[INFO] [stderr]   Downloaded icu_normalizer_data v1.5.1
[INFO] [stderr]   Downloaded bzip2 v0.5.2
[INFO] [stderr]   Downloaded openssl-sys v0.9.107
[INFO] [stderr]   Downloaded r-efi v5.2.0
[INFO] [stderr]   Downloaded js-sys v0.3.77
[INFO] [stderr]   Downloaded tempfile v3.19.1
[INFO] [stderr]   Downloaded typenum v1.18.0
[INFO] [stderr]   Downloaded flate2 v1.1.1
[INFO] [stderr]   Downloaded socket2 v0.5.9
[INFO] [stderr]   Downloaded hyper-util v0.1.11
[INFO] [stderr]   Downloaded indexmap v2.9.0
[INFO] [stderr]   Downloaded miniz_oxide v0.8.8
[INFO] [stderr]   Downloaded mio v1.0.3
[INFO] [stderr]   Downloaded tokio-util v0.7.14
[INFO] [stderr]   Downloaded wasi v0.14.2+wasi-0.2.4
[INFO] [stderr]   Downloaded h2 v0.4.9
[INFO] [stderr]   Downloaded time v0.3.41
[INFO] [stderr]   Downloaded reqwest v0.12.15
[INFO] [stderr]   Downloaded icu_properties_data v1.5.1
[INFO] [stderr]   Downloaded openssl v0.10.72
[INFO] [stderr]   Downloaded rustls v0.23.26
[INFO] [stderr]   Downloaded object v0.36.7
[INFO] [stderr]   Downloaded rustix v1.0.5
[INFO] [stderr]   Downloaded zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]   Downloaded web-sys v0.3.77
[INFO] [stderr]   Downloaded libc v0.2.172
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.53.0
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.53.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.53.0
[INFO] [stderr]   Downloaded rustls-webpki v0.103.1
[INFO] [stderr]   Downloaded windows_i686_gnullvm v0.53.0
[INFO] [stderr]   Downloaded tokio v1.44.2
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.53.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.53.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.53.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.53.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.9.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e65339d589a87280c7017621e95ec306142886ae167af8a25a24fbca155c3f44
[INFO] running `Command { std: "docker" "start" "e65339d589a87280c7017621e95ec306142886ae167af8a25a24fbca155c3f44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e65339d589a87280c7017621e95ec306142886ae167af8a25a24fbca155c3f44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e65339d589a87280c7017621e95ec306142886ae167af8a25a24fbca155c3f44" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e65339d589a87280c7017621e95ec306142886ae167af8a25a24fbca155c3f44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e65339d589a87280c7017621e95ec306142886ae167af8a25a24fbca155c3f44" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking crc-catalog v2.4.0
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking miniz_oxide v0.8.8
[INFO] [stderr]     Checking crc v3.2.1
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking time-core v0.1.4
[INFO] [stderr]     Checking rustls-pki-types v1.11.0
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking lockfree-object-pool v0.1.6
[INFO] [stderr]     Checking bumpalo v3.17.0
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling zip v2.6.1
[INFO] [stderr]     Checking lzma-rs v0.3.0
[INFO] [stderr]     Checking zopfli v0.8.1
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking xz2 v0.1.7
[INFO] [stderr]     Checking bzip2 v0.5.2
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking flate2 v1.1.1
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking deflate64 v0.1.9
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking constant_time_eq v0.3.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]     Checking home v0.5.11
[INFO] [stderr]     Checking json v0.12.4
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking h2 v0.4.9
[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]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking zeroize v1.8.1
[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 hyper v1.6.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper-tls v0.6.0
[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 reqwest v0.12.15
[INFO] [stderr]     Checking modrinth_modpack_downloader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `File` and `write`
[INFO] [stdout]  --> src/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{write, File};
[INFO] [stdout]   |               ^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `copy`
[INFO] [stdout]  --> src/main.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, copy, Write};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Response`
[INFO] [stdout]  --> src/main.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | use reqwest::blocking::{get, Response};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |         return expanded.to_str().unwrap_or_default().to_string();
[INFO] [stdout]    |         -------------------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 66 |     path.to_string()
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File` and `write`
[INFO] [stdout]  --> src/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{write, File};
[INFO] [stdout]   |               ^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `copy`
[INFO] [stdout]  --> src/main.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, copy, Write};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Response`
[INFO] [stdout]  --> src/main.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | use reqwest::blocking::{get, Response};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |         return expanded.to_str().unwrap_or_default().to_string();
[INFO] [stdout]    |         -------------------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 66 |     path.to_string()
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let mut response = get(mod_data.download.as_str()).expect("Failed to download file!");
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let mut response = get(mod_data.download.as_str()).expect("Failed to download file!");
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] running `Command { std: "docker" "inspect" "e65339d589a87280c7017621e95ec306142886ae167af8a25a24fbca155c3f44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e65339d589a87280c7017621e95ec306142886ae167af8a25a24fbca155c3f44", kill_on_drop: false }`
[INFO] [stdout] e65339d589a87280c7017621e95ec306142886ae167af8a25a24fbca155c3f44
