[INFO] cloning repository https://github.com/MosRat/huggingface-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MosRat/huggingface-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMosRat%2Fhuggingface-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMosRat%2Fhuggingface-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7c0ad3c4b17e3d1405a86e38664f82b6ac28492 [INFO] checking MosRat/huggingface-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMosRat%2Fhuggingface-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MosRat/huggingface-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MosRat/huggingface-rs [INFO] finished tweaking git repo https://github.com/MosRat/huggingface-rs [INFO] tweaked toml for git repo https://github.com/MosRat/huggingface-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MosRat/huggingface-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v2.4.0 [INFO] [stderr] Downloaded mio v1.0.1 [INFO] [stderr] Downloaded colorchoice v1.0.2 [INFO] [stderr] Downloaded signal-hook-registry v1.4.2 [INFO] [stderr] Downloaded http-body v1.0.1 [INFO] [stderr] Downloaded utf8parse v0.2.2 [INFO] [stderr] Downloaded subtle v2.6.1 [INFO] [stderr] Downloaded anstyle v1.0.8 [INFO] [stderr] Downloaded anstyle-parse v0.2.5 [INFO] [stderr] Downloaded anstyle-query v1.1.1 [INFO] [stderr] Downloaded anstyle-wincon v3.0.4 [INFO] [stderr] Downloaded anstream v0.6.15 [INFO] [stderr] Downloaded security-framework-sys v2.11.1 [INFO] [stderr] Downloaded clap v4.5.13 [INFO] [stderr] Downloaded indexmap v2.3.0 [INFO] [stderr] Downloaded security-framework v2.11.1 [INFO] [stderr] Downloaded portable-atomic v1.7.0 [INFO] [stderr] Downloaded clap_builder v4.5.13 [INFO] [stderr] Downloaded hyper v1.4.1 [INFO] [stderr] Downloaded rustls-webpki v0.102.6 [INFO] [stderr] Downloaded h2 v0.4.5 [INFO] [stderr] Downloaded serde_json v1.0.122 [INFO] [stderr] Downloaded reqwest v0.12.5 [INFO] [stderr] Downloaded tokio-util v0.7.11 [INFO] [stderr] Downloaded cc v1.1.7 [INFO] [stderr] Downloaded object v0.36.2 [INFO] [stderr] Downloaded indicatif v0.17.8 [INFO] [stderr] Downloaded hyper-util v0.1.6 [INFO] [stderr] Downloaded clap_derive v4.5.13 [INFO] [stderr] Downloaded console v0.15.8 [INFO] [stderr] Downloaded tokio-rustls v0.26.0 [INFO] [stderr] Downloaded hyper-rustls v0.27.2 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded rustls-pemfile v2.1.3 [INFO] [stderr] Downloaded tempfile v3.11.0 [INFO] [stderr] Downloaded rustls v0.23.12 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.1 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded zeroize v1.8.1 [INFO] [stderr] Downloaded http-body-util v0.1.2 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] [stderr] Downloaded ring v0.17.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 723e13457f3eda7d329ca31048d97e42fb479121737228f2a2db42cc54bca4dc [INFO] running `Command { std: "docker" "start" "-a" "723e13457f3eda7d329ca31048d97e42fb479121737228f2a2db42cc54bca4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "723e13457f3eda7d329ca31048d97e42fb479121737228f2a2db42cc54bca4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "723e13457f3eda7d329ca31048d97e42fb479121737228f2a2db42cc54bca4dc", kill_on_drop: false }` [INFO] [stdout] 723e13457f3eda7d329ca31048d97e42fb479121737228f2a2db42cc54bca4dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b6b8bf8f037c9be62bf56543af747e4188c70e237b88727a84825142251ca6f [INFO] running `Command { std: "docker" "start" "-a" "6b6b8bf8f037c9be62bf56543af747e4188c70e237b88727a84825142251ca6f", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking hfrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdout` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Stdout, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::future::join_all` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use futures_util::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientBuilder` and `Client` [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use reqwest::{Url, Client, ClientBuilder, get}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::join` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Barrier` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Barrier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let endpoint = (cli.endpoint_url [INFO] [stdout] | ^ [INFO] [stdout] 82 | .unwrap_or(DEFAULT_ENDPOINT.to_string() [INFO] [stdout] 83 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 ~ let endpoint = cli.endpoint_url [INFO] [stdout] 82 | .unwrap_or(DEFAULT_ENDPOINT.to_string() [INFO] [stdout] 83 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let proxy = (cli.proxy_url [INFO] [stdout] | ^ [INFO] [stdout] 85 | .unwrap_or(DEFAULT_PROXY.to_string() [INFO] [stdout] 86 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 ~ let proxy = cli.proxy_url [INFO] [stdout] 85 | .unwrap_or(DEFAULT_PROXY.to_string() [INFO] [stdout] 86 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdout` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Stdout, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::future::join_all` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use futures_util::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientBuilder` and `Client` [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use reqwest::{Url, Client, ClientBuilder, get}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::join` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Barrier` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Barrier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let endpoint = (cli.endpoint_url [INFO] [stdout] | ^ [INFO] [stdout] 82 | .unwrap_or(DEFAULT_ENDPOINT.to_string() [INFO] [stdout] 83 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 ~ let endpoint = cli.endpoint_url [INFO] [stdout] 82 | .unwrap_or(DEFAULT_ENDPOINT.to_string() [INFO] [stdout] 83 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let proxy = (cli.proxy_url [INFO] [stdout] | ^ [INFO] [stdout] 85 | .unwrap_or(DEFAULT_PROXY.to_string() [INFO] [stdout] 86 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 ~ let proxy = cli.proxy_url [INFO] [stdout] 85 | .unwrap_or(DEFAULT_PROXY.to_string() [INFO] [stdout] 86 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_task` [INFO] [stdout] --> src/main.rs:275:71 [INFO] [stdout] | [INFO] [stdout] 275 | ...hBuf, task_count: usize, total_task: usize, bar_m: Arc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_task` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count_bytes` is assigned to, but never used [INFO] [stdout] --> src/main.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let mut count_bytes: f64 = 0.; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count_bytes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_task` [INFO] [stdout] --> src/main.rs:275:71 [INFO] [stdout] | [INFO] [stdout] 275 | ...hBuf, task_count: usize, total_task: usize, bar_m: Arc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_task` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count_bytes` is assigned to, but never used [INFO] [stdout] --> src/main.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let mut count_bytes: f64 = 0.; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count_bytes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hf_name` [INFO] [stdout] --> src/main.rs:319:47 [INFO] [stdout] | [INFO] [stdout] 319 | async fn check_repo_authority(endpoint: &Url, hf_name: Option, hf_token: Option) -> Result src/main.rs:319:72 [INFO] [stdout] | [INFO] [stdout] 319 | ..., hf_name: Option, hf_token: Option) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hf_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hf_name` [INFO] [stdout] --> src/main.rs:319:47 [INFO] [stdout] | [INFO] [stdout] 319 | async fn check_repo_authority(endpoint: &Url, hf_name: Option, hf_token: Option) -> Result src/main.rs:319:72 [INFO] [stdout] | [INFO] [stdout] 319 | ..., hf_name: Option, hf_token: Option) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hf_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/main.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | let (endpoint, proxy, save_path, file_path): (Url, Url, PathBuf, String) = check_args(cli).await?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/main.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | let (endpoint, proxy, save_path, file_path): (Url, Url, PathBuf, String) = check_args(cli).await?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save` is never used [INFO] [stdout] --> src/main.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn save(text: &str, file_path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save` is never used [INFO] [stdout] --> src/main.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn save(text: &str, file_path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.86s [INFO] running `Command { std: "docker" "inspect" "6b6b8bf8f037c9be62bf56543af747e4188c70e237b88727a84825142251ca6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b6b8bf8f037c9be62bf56543af747e4188c70e237b88727a84825142251ca6f", kill_on_drop: false }` [INFO] [stdout] 6b6b8bf8f037c9be62bf56543af747e4188c70e237b88727a84825142251ca6f [INFO] checking MosRat/huggingface-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMosRat%2Fhuggingface-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MosRat/huggingface-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MosRat/huggingface-rs [INFO] finished tweaking git repo https://github.com/MosRat/huggingface-rs [INFO] tweaked toml for git repo https://github.com/MosRat/huggingface-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MosRat/huggingface-rs 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 966d21f42ac6e5039224ceb7821cb74402611fd578891c65ce98b42a02c5f4e7 [INFO] running `Command { std: "docker" "start" "-a" "966d21f42ac6e5039224ceb7821cb74402611fd578891c65ce98b42a02c5f4e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "966d21f42ac6e5039224ceb7821cb74402611fd578891c65ce98b42a02c5f4e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "966d21f42ac6e5039224ceb7821cb74402611fd578891c65ce98b42a02c5f4e7", kill_on_drop: false }` [INFO] [stdout] 966d21f42ac6e5039224ceb7821cb74402611fd578891c65ce98b42a02c5f4e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a175e6e1b1ed450bc465059dc65b6f496214771438ee26508d7f693ebcf6deb5 [INFO] running `Command { std: "docker" "start" "-a" "a175e6e1b1ed450bc465059dc65b6f496214771438ee26508d7f693ebcf6deb5", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking hfrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdout` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Stdout, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::future::join_all` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use futures_util::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientBuilder` and `Client` [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use reqwest::{Url, Client, ClientBuilder, get}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::join` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Barrier` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Barrier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let endpoint = (cli.endpoint_url [INFO] [stdout] | ^ [INFO] [stdout] 82 | .unwrap_or(DEFAULT_ENDPOINT.to_string() [INFO] [stdout] 83 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 ~ let endpoint = cli.endpoint_url [INFO] [stdout] 82 | .unwrap_or(DEFAULT_ENDPOINT.to_string() [INFO] [stdout] 83 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let proxy = (cli.proxy_url [INFO] [stdout] | ^ [INFO] [stdout] 85 | .unwrap_or(DEFAULT_PROXY.to_string() [INFO] [stdout] 86 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 ~ let proxy = cli.proxy_url [INFO] [stdout] 85 | .unwrap_or(DEFAULT_PROXY.to_string() [INFO] [stdout] 86 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdout` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Stdout, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::future::join_all` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use futures_util::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientBuilder` and `Client` [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use reqwest::{Url, Client, ClientBuilder, get}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::join` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Barrier` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Barrier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let endpoint = (cli.endpoint_url [INFO] [stdout] | ^ [INFO] [stdout] 82 | .unwrap_or(DEFAULT_ENDPOINT.to_string() [INFO] [stdout] 83 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 ~ let endpoint = cli.endpoint_url [INFO] [stdout] 82 | .unwrap_or(DEFAULT_ENDPOINT.to_string() [INFO] [stdout] 83 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let proxy = (cli.proxy_url [INFO] [stdout] | ^ [INFO] [stdout] 85 | .unwrap_or(DEFAULT_PROXY.to_string() [INFO] [stdout] 86 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 ~ let proxy = cli.proxy_url [INFO] [stdout] 85 | .unwrap_or(DEFAULT_PROXY.to_string() [INFO] [stdout] 86 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_task` [INFO] [stdout] --> src/main.rs:275:71 [INFO] [stdout] | [INFO] [stdout] 275 | ...hBuf, task_count: usize, total_task: usize, bar_m: Arc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_task` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count_bytes` is assigned to, but never used [INFO] [stdout] --> src/main.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let mut count_bytes: f64 = 0.; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count_bytes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_task` [INFO] [stdout] --> src/main.rs:275:71 [INFO] [stdout] | [INFO] [stdout] 275 | ...hBuf, task_count: usize, total_task: usize, bar_m: Arc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_task` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count_bytes` is assigned to, but never used [INFO] [stdout] --> src/main.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let mut count_bytes: f64 = 0.; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count_bytes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hf_name` [INFO] [stdout] --> src/main.rs:319:47 [INFO] [stdout] | [INFO] [stdout] 319 | async fn check_repo_authority(endpoint: &Url, hf_name: Option, hf_token: Option) -> Result src/main.rs:319:72 [INFO] [stdout] | [INFO] [stdout] 319 | ..., hf_name: Option, hf_token: Option) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hf_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hf_name` [INFO] [stdout] --> src/main.rs:319:47 [INFO] [stdout] | [INFO] [stdout] 319 | async fn check_repo_authority(endpoint: &Url, hf_name: Option, hf_token: Option) -> Result src/main.rs:319:72 [INFO] [stdout] | [INFO] [stdout] 319 | ..., hf_name: Option, hf_token: Option) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hf_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/main.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | let (endpoint, proxy, save_path, file_path): (Url, Url, PathBuf, String) = check_args(cli).await?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/main.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | let (endpoint, proxy, save_path, file_path): (Url, Url, PathBuf, String) = check_args(cli).await?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save` is never used [INFO] [stdout] --> src/main.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn save(text: &str, file_path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut cmd = Cli::command(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | / cmd.error( [INFO] [stdout] 98 | | ErrorKind::InvalidValue, [INFO] [stdout] 99 | | format!("Error while parse url: {}", e), [INFO] [stdout] 100 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut cmd = Cli::command(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | / cmd.error( [INFO] [stdout] 116 | | ErrorKind::InvalidValue, [INFO] [stdout] 117 | | format!("Error while parse url: {}", e), [INFO] [stdout] 118 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 154 | let _ = create_dir_all(&save_path).unwrap_or_else(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | let mut cmd = Cli::command(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | / cmd.error( [INFO] [stdout] 157 | | ErrorKind::InvalidValue, [INFO] [stdout] 158 | | format!("Error creating path: {}", e), [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 248 | let bar = Arc::clone(&bar); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 261 | | download_files(&url, &save_path.join(file_name), i, files_count, bar) [INFO] [stdout] 262 | | .await [INFO] [stdout] 263 | | .expect("Download fail..."); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 347 | let mut file = match File::create(file_path) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | match file.write_all(text.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save` is never used [INFO] [stdout] --> src/main.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn save(text: &str, file_path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut cmd = Cli::command(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | / cmd.error( [INFO] [stdout] 98 | | ErrorKind::InvalidValue, [INFO] [stdout] 99 | | format!("Error while parse url: {}", e), [INFO] [stdout] 100 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut cmd = Cli::command(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | / cmd.error( [INFO] [stdout] 116 | | ErrorKind::InvalidValue, [INFO] [stdout] 117 | | format!("Error while parse url: {}", e), [INFO] [stdout] 118 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 154 | let _ = create_dir_all(&save_path).unwrap_or_else(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | let mut cmd = Cli::command(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | / cmd.error( [INFO] [stdout] 157 | | ErrorKind::InvalidValue, [INFO] [stdout] 158 | | format!("Error creating path: {}", e), [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 248 | let bar = Arc::clone(&bar); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 261 | | download_files(&url, &save_path.join(file_name), i, files_count, bar) [INFO] [stdout] 262 | | .await [INFO] [stdout] 263 | | .expect("Download fail..."); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 347 | let mut file = match File::create(file_path) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | match file.write_all(text.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:380:26 [INFO] [stdout] | [INFO] [stdout] 379 | let bar = Arc::clone(&bar); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | tokio::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 381 | | download_files( [INFO] [stdout] 382 | | &url, [INFO] [stdout] 383 | | &PathBuf::from(&format!("./tmp_{i}")), [INFO] [stdout] ... | [INFO] [stdout] 387 | | ).await.unwrap(); [INFO] [stdout] 388 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hfrs` (bin "hfrs") due to 6 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hfrs` (bin "hfrs" test) due to 7 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a175e6e1b1ed450bc465059dc65b6f496214771438ee26508d7f693ebcf6deb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a175e6e1b1ed450bc465059dc65b6f496214771438ee26508d7f693ebcf6deb5", kill_on_drop: false }` [INFO] [stdout] a175e6e1b1ed450bc465059dc65b6f496214771438ee26508d7f693ebcf6deb5