[INFO] cloning repository https://github.com/rise-worlds/speed_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rise-worlds/speed_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frise-worlds%2Fspeed_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frise-worlds%2Fspeed_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e54afa6e36ccbbe69a7fab9b8fd35ff0aa9c3bc4 [INFO] building rise-worlds/speed_test against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frise-worlds%2Fspeed_test" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rise-worlds/speed_test [INFO] finished tweaking git repo https://github.com/rise-worlds/speed_test [INFO] tweaked toml for git repo https://github.com/rise-worlds/speed_test written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rise-worlds/speed_test on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rise-worlds/speed_test 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.26.1 [INFO] [stderr] Downloaded iter-read v1.1.0 [INFO] [stderr] Downloaded tungstenite v0.26.1 [INFO] [stderr] Downloaded clap v4.5.27 [INFO] [stderr] Downloaded mockito v1.6.1 [INFO] [stderr] Downloaded speedtest-rs v0.2.0 [INFO] [stderr] Downloaded aws-lc-rs v1.12.2 [INFO] [stderr] Downloaded aws-lc-sys v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f9f68c8eaef7b6f8b18c7dc2c5fd90384def18e317ea81a299b3ae6468249d1 [INFO] running `Command { std: "docker" "start" "-a" "3f9f68c8eaef7b6f8b18c7dc2c5fd90384def18e317ea81a299b3ae6468249d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f9f68c8eaef7b6f8b18c7dc2c5fd90384def18e317ea81a299b3ae6468249d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f9f68c8eaef7b6f8b18c7dc2c5fd90384def18e317ea81a299b3ae6468249d1", kill_on_drop: false }` [INFO] [stdout] 3f9f68c8eaef7b6f8b18c7dc2c5fd90384def18e317ea81a299b3ae6468249d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ebaa517840ba286c1fc43158d613bbca6f2d2981f75c1983f6271b3551449aa [INFO] running `Command { std: "docker" "start" "-a" "2ebaa517840ba286c1fc43158d613bbca6f2d2981f75c1983f6271b3551449aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling aws-lc-rs v1.12.2 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling data-encoding v2.7.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling iter-read v1.1.0 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling aws-lc-sys v0.25.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling tungstenite v0.26.1 [INFO] [stderr] Compiling tokio-tungstenite v0.26.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling mockito v1.6.1 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling speedtest-rs v0.2.0 [INFO] [stderr] Compiling speed_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/speed_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod speed_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_download_time` is never read [INFO] [stdout] --> src/download.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | last_download_time = now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/download.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let mut jitter_temp_guard = jitter_temp.lock().await; [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: function `check_request_range` is never used [INFO] [stdout] --> src/download.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn check_request_range(url: U) -> Result<(bool, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/download.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `msg` are never read [INFO] [stdout] --> src/speed_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct ApiV3Response { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiV3Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `speed_test::speed_test_structure::*` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use speed_test::speed_test_structure::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "2ebaa517840ba286c1fc43158d613bbca6f2d2981f75c1983f6271b3551449aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ebaa517840ba286c1fc43158d613bbca6f2d2981f75c1983f6271b3551449aa", kill_on_drop: false }` [INFO] [stdout] 2ebaa517840ba286c1fc43158d613bbca6f2d2981f75c1983f6271b3551449aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 266f9bd40f0f370337e658753b0f5c31e591dacb222586bee4bd32c3456c1193 [INFO] running `Command { std: "docker" "start" "-a" "266f9bd40f0f370337e658753b0f5c31e591dacb222586bee4bd32c3456c1193", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/speed_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod speed_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_download_time` is never read [INFO] [stdout] --> src/download.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | last_download_time = now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/download.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let mut jitter_temp_guard = jitter_temp.lock().await; [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: function `check_request_range` is never used [INFO] [stdout] --> src/download.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn check_request_range(url: U) -> Result<(bool, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/download.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling speed_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `code` and `msg` are never read [INFO] [stdout] --> src/speed_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct ApiV3Response { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiV3Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `url` does not live long enough [INFO] [stdout] --> examples/ws_echo_client.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 14 | let url = std::format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 18 | tx.unbounded_send(Message::binary(url.as_bytes())).unwrap(); [INFO] [stdout] | ----------------^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `url` is borrowed for `'static` [INFO] [stdout] 19 | thread::sleep(ten_millis); [INFO] [stdout] 20 | } [INFO] [stdout] | - `url` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `url::Url: IntoClientRequest` is not satisfied [INFO] [stdout] --> examples/ws_echo_client.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | let (ws_stream, _) = connect_async(url).await.expect("Failed to connect"); [INFO] [stdout] | ------------- ^^^ the trait `IntoClientRequest` is not implemented for `url::Url` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `IntoClientRequest`: [INFO] [stdout] &String [INFO] [stdout] &Uri [INFO] [stdout] &str [INFO] [stdout] ClientRequestBuilder [INFO] [stdout] String [INFO] [stdout] Uri [INFO] [stdout] httparse::Request<'_, '_> [INFO] [stdout] tokio_tungstenite::tungstenite::http::Request<()> [INFO] [stdout] note: required by a bound in `connect_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tungstenite-0.26.1/src/connect.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn connect_async( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 35 | R: IntoClientRequest + Unpin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `connect_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `url::Url: IntoClientRequest` is not satisfied [INFO] [stdout] --> examples/ws_echo_client.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let (ws_stream, _) = connect_async(url).await.expect("Failed to connect"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `IntoClientRequest` is not implemented for `url::Url` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `IntoClientRequest`: [INFO] [stdout] &String [INFO] [stdout] &Uri [INFO] [stdout] &str [INFO] [stdout] ClientRequestBuilder [INFO] [stdout] String [INFO] [stdout] Uri [INFO] [stdout] httparse::Request<'_, '_> [INFO] [stdout] tokio_tungstenite::tungstenite::http::Request<()> [INFO] [stdout] note: required by a bound in `connect_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tungstenite-0.26.1/src/connect.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn connect_async( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 35 | R: IntoClientRequest + Unpin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `connect_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `url::Url: IntoClientRequest` is not satisfied [INFO] [stdout] --> examples/ws_echo_client.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | let (ws_stream, _) = connect_async(url).await.expect("Failed to connect"); [INFO] [stdout] | ^^^^^ the trait `IntoClientRequest` is not implemented for `url::Url` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `IntoClientRequest`: [INFO] [stdout] &String [INFO] [stdout] &Uri [INFO] [stdout] &str [INFO] [stdout] ClientRequestBuilder [INFO] [stdout] String [INFO] [stdout] Uri [INFO] [stdout] httparse::Request<'_, '_> [INFO] [stdout] tokio_tungstenite::tungstenite::http::Request<()> [INFO] [stdout] note: required by a bound in `connect_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tungstenite-0.26.1/src/connect.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn connect_async( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 35 | R: IntoClientRequest + Unpin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `connect_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/speed_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `speed_test` (example "ws_echo_client") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `speed_test::speed_test_structure::*` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use speed_test::speed_test_structure::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_download_time` is never read [INFO] [stdout] --> src/download.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | last_download_time = now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/download.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let mut jitter_temp_guard = jitter_temp.lock().await; [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: function `check_request_range` is never used [INFO] [stdout] --> src/download.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn check_request_range(url: U) -> Result<(bool, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/download.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `msg` are never read [INFO] [stdout] --> src/speed_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct ApiV3Response { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiV3Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "266f9bd40f0f370337e658753b0f5c31e591dacb222586bee4bd32c3456c1193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "266f9bd40f0f370337e658753b0f5c31e591dacb222586bee4bd32c3456c1193", kill_on_drop: false }` [INFO] [stdout] 266f9bd40f0f370337e658753b0f5c31e591dacb222586bee4bd32c3456c1193