[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] testing rise-worlds/speed_test against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frise-worlds%2Fspeed_test" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rise-worlds/speed_test on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ea64b7022aa6b37bb675088b7cde2e6aeeb1f69140cc742e957c6a43a9e409b [INFO] running `Command { std: "docker" "start" "-a" "6ea64b7022aa6b37bb675088b7cde2e6aeeb1f69140cc742e957c6a43a9e409b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ea64b7022aa6b37bb675088b7cde2e6aeeb1f69140cc742e957c6a43a9e409b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea64b7022aa6b37bb675088b7cde2e6aeeb1f69140cc742e957c6a43a9e409b", kill_on_drop: false }` [INFO] [stdout] 6ea64b7022aa6b37bb675088b7cde2e6aeeb1f69140cc742e957c6a43a9e409b [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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf1f3d811e1393cd710c60a69431521c8cf7fe0e37537a6669825fa1cadde267 [INFO] running `Command { std: "docker" "start" "-a" "cf1f3d811e1393cd710c60a69431521c8cf7fe0e37537a6669825fa1cadde267", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling aws-lc-rs v1.12.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling aws-lc-sys v0.25.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling data-encoding v2.7.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling iter-read v1.1.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling futures v0.3.31 [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 clap v4.5.27 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling hyper v1.5.2 [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 rustls-webpki v0.102.8 [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 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: 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: 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: 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 3m 02s [INFO] running `Command { std: "docker" "inspect" "cf1f3d811e1393cd710c60a69431521c8cf7fe0e37537a6669825fa1cadde267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf1f3d811e1393cd710c60a69431521c8cf7fe0e37537a6669825fa1cadde267", kill_on_drop: false }` [INFO] [stdout] cf1f3d811e1393cd710c60a69431521c8cf7fe0e37537a6669825fa1cadde267 [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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a0ca45d8011f3de3f53322c06359165c50e7f6eedfdd7de1e8fb8a8fd8bce1f [INFO] running `Command { std: "docker" "start" "-a" "3a0ca45d8011f3de3f53322c06359165c50e7f6eedfdd7de1e8fb8a8fd8bce1f", 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: 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: 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: 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] [stderr] Compiling speed_test v0.1.0 (/opt/rustwide/workdir) [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] 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: 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: 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: 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" "3a0ca45d8011f3de3f53322c06359165c50e7f6eedfdd7de1e8fb8a8fd8bce1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a0ca45d8011f3de3f53322c06359165c50e7f6eedfdd7de1e8fb8a8fd8bce1f", kill_on_drop: false }` [INFO] [stdout] 3a0ca45d8011f3de3f53322c06359165c50e7f6eedfdd7de1e8fb8a8fd8bce1f