[INFO] cloning repository https://github.com/hskrasek/cloud-speed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hskrasek/cloud-speed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhskrasek%2Fcloud-speed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhskrasek%2Fcloud-speed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fa4848740bc60a7f8362977a30de40814187340 [INFO] testing hskrasek/cloud-speed against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhskrasek%2Fcloud-speed" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hskrasek/cloud-speed [INFO] finished tweaking git repo https://github.com/hskrasek/cloud-speed [INFO] tweaked toml for git repo https://github.com/hskrasek/cloud-speed written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hskrasek/cloud-speed on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hskrasek/cloud-speed 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-connector v0.21.4 [INFO] [stderr] Downloaded serde_derive v1.0.218 [INFO] [stderr] Downloaded clap-verbosity-flag v3.0.2 [INFO] [stderr] Downloaded redox_syscall v0.5.9 [INFO] [stderr] Downloaded fastrand v2.2.0 [INFO] [stderr] Downloaded ipconfig v0.3.2 [INFO] [stderr] Downloaded async-trait v0.1.86 [INFO] [stderr] Downloaded enum-as-inner v0.6.1 [INFO] [stderr] Downloaded derive_more-impl v1.0.0 [INFO] [stderr] Downloaded derive_more v1.0.0 [INFO] [stderr] Downloaded tinyvec v1.8.1 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded security-framework v3.2.0 [INFO] [stderr] Downloaded serde_json v1.0.139 [INFO] [stderr] Downloaded cc v1.2.2 [INFO] [stderr] Downloaded serde v1.0.218 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.47 [INFO] [stderr] Downloaded rustix v0.38.41 [INFO] [stderr] Downloaded ttfb v1.14.0 [INFO] [stderr] Downloaded reqwest v0.12.12 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded tokio v1.43.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fe511eeb412408b182795db1677f25f3e302acb9ecc41acf8991502f48a08cb [INFO] running `Command { std: "docker" "start" "-a" "4fe511eeb412408b182795db1677f25f3e302acb9ecc41acf8991502f48a08cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fe511eeb412408b182795db1677f25f3e302acb9ecc41acf8991502f48a08cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe511eeb412408b182795db1677f25f3e302acb9ecc41acf8991502f48a08cb", kill_on_drop: false }` [INFO] [stdout] 4fe511eeb412408b182795db1677f25f3e302acb9ecc41acf8991502f48a08cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9505cfa8494efb2d643d7c792c6cefcb70051db770b80611860b9df39adb5d7 [INFO] running `Command { std: "docker" "start" "-a" "c9505cfa8494efb2d643d7c792c6cefcb70051db770b80611860b9df39adb5d7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [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 zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling clap-verbosity-flag v3.0.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rustls-connector v0.21.4 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling cloud-speed v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling ttfb v1.14.0 [INFO] [stdout] warning: unused import: `TestResults` [INFO] [stdout] --> src/main.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::cloudflare::tests::{Test, TestResults}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `jitter` and `latency` [INFO] [stdout] --> src/main.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::measurements::{jitter, jitter_f64, latency, latency_f64}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `median` and `quartile` [INFO] [stdout] --> src/main.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::stats::{median, median_f64, quartile}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpeedTestResults` is never constructed [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct SpeedTestResults<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadResults` is never constructed [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | struct DownloadResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_upload` is never used [INFO] [stdout] --> src/main.rs:349:10 [INFO] [stdout] | [INFO] [stdout] 349 | async fn measure_upload( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Download` is never constructed [INFO] [stdout] --> src/cloudflare/requests/download.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Download { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Upload` is never constructed [INFO] [stdout] --> src/cloudflare/requests/upload.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Upload { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cloudflare/requests/upload.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Upload { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `METHOD` is never used [INFO] [stdout] --> src/cloudflare/tests/mod.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait Test { [INFO] [stdout] | ---- associated constant in this trait [INFO] [stdout] 16 | const METHOD: Method = Method::GET; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dns_duration`, `tls_handshake_duration`, `connect_duration`, and `request_duration` are never read [INFO] [stdout] --> src/cloudflare/tests/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct TestResults { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | pub dns_duration: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | pub tcp_duration: Duration, [INFO] [stdout] 51 | pub tls_handshake_duration: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub connect_duration: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub ttfb_duration: Duration, [INFO] [stdout] 54 | pub request_duration: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `latency` is never used [INFO] [stdout] --> src/measurements.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn latency(measurements: &Vec) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jitter` is never used [INFO] [stdout] --> src/measurements.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn jitter(measurements: &Vec) -> u128 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `median` is never used [INFO] [stdout] --> src/stats.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn median(test_durations: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean` is never used [INFO] [stdout] --> src/stats.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mean(test_durations: &Vec) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quartile` is never used [INFO] [stdout] --> src/stats.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn quartile(test_durations: &Vec, percentile: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn endpoint(&self) -> Cow; [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | fn endpoint(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/mod.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/mod.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/download.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/locations.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/meta.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/upload.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/tests/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn endpoint(&self) -> Cow; [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn endpoint(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/tests/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/tests/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/tests/download.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "c9505cfa8494efb2d643d7c792c6cefcb70051db770b80611860b9df39adb5d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9505cfa8494efb2d643d7c792c6cefcb70051db770b80611860b9df39adb5d7", kill_on_drop: false }` [INFO] [stdout] c9505cfa8494efb2d643d7c792c6cefcb70051db770b80611860b9df39adb5d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cff44b8bcc11599dba7170ce5a56b8900facfbf3e6238f199129463ed06f9ef [INFO] running `Command { std: "docker" "start" "-a" "7cff44b8bcc11599dba7170ce5a56b8900facfbf3e6238f199129463ed06f9ef", kill_on_drop: false }` [INFO] [stderr] Compiling cloud-speed v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TestResults` [INFO] [stdout] --> src/main.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::cloudflare::tests::{Test, TestResults}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `jitter` and `latency` [INFO] [stdout] --> src/main.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::measurements::{jitter, jitter_f64, latency, latency_f64}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `median` and `quartile` [INFO] [stdout] --> src/main.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::stats::{median, median_f64, quartile}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpeedTestResults` is never constructed [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct SpeedTestResults<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadResults` is never constructed [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | struct DownloadResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_upload` is never used [INFO] [stdout] --> src/main.rs:349:10 [INFO] [stdout] | [INFO] [stdout] 349 | async fn measure_upload( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Download` is never constructed [INFO] [stdout] --> src/cloudflare/requests/download.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Download { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Upload` is never constructed [INFO] [stdout] --> src/cloudflare/requests/upload.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Upload { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cloudflare/requests/upload.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Upload { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `METHOD` is never used [INFO] [stdout] --> src/cloudflare/tests/mod.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait Test { [INFO] [stdout] | ---- associated constant in this trait [INFO] [stdout] 16 | const METHOD: Method = Method::GET; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dns_duration`, `tls_handshake_duration`, `connect_duration`, and `request_duration` are never read [INFO] [stdout] --> src/cloudflare/tests/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct TestResults { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | pub dns_duration: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | pub tcp_duration: Duration, [INFO] [stdout] 51 | pub tls_handshake_duration: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub connect_duration: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub ttfb_duration: Duration, [INFO] [stdout] 54 | pub request_duration: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `latency` is never used [INFO] [stdout] --> src/measurements.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn latency(measurements: &Vec) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jitter` is never used [INFO] [stdout] --> src/measurements.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn jitter(measurements: &Vec) -> u128 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `median` is never used [INFO] [stdout] --> src/stats.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn median(test_durations: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean` is never used [INFO] [stdout] --> src/stats.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mean(test_durations: &Vec) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quartile` is never used [INFO] [stdout] --> src/stats.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn quartile(test_durations: &Vec, percentile: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn endpoint(&self) -> Cow; [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | fn endpoint(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/mod.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/mod.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/download.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/locations.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/meta.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/requests/upload.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/tests/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn endpoint(&self) -> Cow; [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn endpoint(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/tests/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/tests/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cloudflare/tests/download.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | fn endpoint(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "7cff44b8bcc11599dba7170ce5a56b8900facfbf3e6238f199129463ed06f9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cff44b8bcc11599dba7170ce5a56b8900facfbf3e6238f199129463ed06f9ef", kill_on_drop: false }` [INFO] [stdout] 7cff44b8bcc11599dba7170ce5a56b8900facfbf3e6238f199129463ed06f9ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 776430e63e544ed49aa27bb3b7a7277cb8128c7cee13a2dab91efa37f19bbc01 [INFO] running `Command { std: "docker" "start" "-a" "776430e63e544ed49aa27bb3b7a7277cb8128c7cee13a2dab91efa37f19bbc01", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `TestResults` [INFO] [stderr] --> src/main.rs:14:38 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::cloudflare::tests::{Test, TestResults}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `jitter` and `latency` [INFO] [stderr] --> src/main.rs:15:27 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::measurements::{jitter, jitter_f64, latency, latency_f64}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `median` and `quartile` [INFO] [stderr] --> src/main.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::stats::{median, median_f64, quartile}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `debug` [INFO] [stderr] --> src/main.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | use log::{debug, info}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SpeedTestResults` is never constructed [INFO] [stderr] --> src/main.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | struct SpeedTestResults<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `DownloadResults` is never constructed [INFO] [stderr] --> src/main.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | struct DownloadResults { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `measure_upload` is never used [INFO] [stderr] --> src/main.rs:349:10 [INFO] [stderr] | [INFO] [stderr] 349 | async fn measure_upload( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Download` is never constructed [INFO] [stderr] --> src/cloudflare/requests/download.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) struct Download { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Upload` is never constructed [INFO] [stderr] --> src/cloudflare/requests/upload.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | pub(crate) struct Upload { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/cloudflare/requests/upload.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Upload { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 11 | pub fn new(bytes: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant `METHOD` is never used [INFO] [stderr] --> src/cloudflare/tests/mod.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) trait Test { [INFO] [stderr] | ---- associated constant in this trait [INFO] [stderr] 16 | const METHOD: Method = Method::GET; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `dns_duration`, `tls_handshake_duration`, `connect_duration`, and `request_duration` are never read [INFO] [stderr] --> src/cloudflare/tests/mod.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub(crate) struct TestResults { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 49 | pub dns_duration: Duration, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 50 | pub tcp_duration: Duration, [INFO] [stderr] 51 | pub tls_handshake_duration: Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 52 | pub connect_duration: Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 53 | pub ttfb_duration: Duration, [INFO] [stderr] 54 | pub request_duration: Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TestResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `latency` is never used [INFO] [stderr] --> src/measurements.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | pub async fn latency(measurements: &Vec) -> Duration { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `jitter` is never used [INFO] [stderr] --> src/measurements.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | pub async fn jitter(measurements: &Vec) -> u128 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `median` is never used [INFO] [stderr] --> src/stats.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn median(test_durations: &Vec) -> f64 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `mean` is never used [INFO] [stderr] --> src/stats.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn mean(test_durations: &Vec) -> f64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `quartile` is never used [INFO] [stderr] --> src/stats.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn quartile(test_durations: &Vec, percentile: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/requests/mod.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | fn endpoint(&self) -> Cow; [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 43 | fn endpoint(&self) -> Cow<'_, str>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/requests/mod.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | fn endpoint(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 64 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/requests/mod.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | fn endpoint(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 83 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/requests/download.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | fn endpoint(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 16 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/requests/locations.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | fn endpoint(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 29 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/requests/meta.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | fn endpoint(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/requests/upload.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | fn endpoint(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 24 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/tests/mod.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | fn endpoint(&self) -> Cow; [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 18 | fn endpoint(&self) -> Cow<'_, str>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/tests/mod.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | fn endpoint(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 26 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/tests/mod.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | fn endpoint(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 38 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cloudflare/tests/download.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | fn endpoint(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 21 | fn endpoint(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `cloud-speed` (bin "cloud-speed" test) generated 28 warnings (run `cargo fix --bin "cloud-speed" --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cloud_speed-935e604912c88a65) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "776430e63e544ed49aa27bb3b7a7277cb8128c7cee13a2dab91efa37f19bbc01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "776430e63e544ed49aa27bb3b7a7277cb8128c7cee13a2dab91efa37f19bbc01", kill_on_drop: false }` [INFO] [stdout] 776430e63e544ed49aa27bb3b7a7277cb8128c7cee13a2dab91efa37f19bbc01