[INFO] fetching crate forecast 3.0.0... [INFO] testing forecast-3.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate forecast 3.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate forecast 3.0.0 [INFO] finished tweaking crates.io crate forecast 3.0.0 [INFO] tweaked toml for crates.io crate forecast 3.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate forecast 3.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 147 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.7.11 (available: v0.14.0) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.24) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.48.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] [stderr] Downloaded pin-project-lite v0.1.12 [INFO] [stderr] Downloaded hyper-tls v0.4.3 [INFO] [stderr] Downloaded itoa v0.4.8 [INFO] [stderr] Downloaded net2 v0.2.39 [INFO] [stderr] Downloaded winreg v0.7.0 [INFO] [stderr] Downloaded socket2 v0.3.19 [INFO] [stderr] Downloaded tokio-tls v0.3.1 [INFO] [stderr] Downloaded reqwest v0.10.10 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded mio v0.6.23 [INFO] [stderr] Downloaded hyper v0.13.10 [INFO] [stderr] Downloaded h2 v0.2.7 [INFO] [stderr] Downloaded miow v0.2.2 [INFO] [stderr] Downloaded tokio v0.2.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e67a6aba3dd0383e2c364d181054913b2f5e14b3d26c3a3899f1fca9df4978c5 [INFO] running `Command { std: "docker" "start" "-a" "e67a6aba3dd0383e2c364d181054913b2f5e14b3d26c3a3899f1fca9df4978c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e67a6aba3dd0383e2c364d181054913b2f5e14b3d26c3a3899f1fca9df4978c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e67a6aba3dd0383e2c364d181054913b2f5e14b3d26c3a3899f1fca9df4978c5", kill_on_drop: false }` [INFO] [stdout] e67a6aba3dd0383e2c364d181054913b2f5e14b3d26c3a3899f1fca9df4978c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c55cf77de57f0a88df573cf7cdfd088eea843284ad4b8893e16d6a1f3e985f4f [INFO] running `Command { std: "docker" "start" "-a" "c55cf77de57f0a88df573cf7cdfd088eea843284ad4b8893e16d6a1f3e985f4f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling forecast v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:205:68 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(api_key: &'a str, latitude: f64, longitude: f64) -> ForecastRequestBuilder { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(api_key: &'a str, latitude: f64, longitude: f64) -> ForecastRequestBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:375:10 [INFO] [stdout] | [INFO] [stdout] 371 | api_key: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 375 | ) -> TimeMachineRequestBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 375 | ) -> TimeMachineRequestBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "c55cf77de57f0a88df573cf7cdfd088eea843284ad4b8893e16d6a1f3e985f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c55cf77de57f0a88df573cf7cdfd088eea843284ad4b8893e16d6a1f3e985f4f", kill_on_drop: false }` [INFO] [stdout] c55cf77de57f0a88df573cf7cdfd088eea843284ad4b8893e16d6a1f3e985f4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e920e71a1b23a3149aa9d3798ade7954d43fc85471791c012bd5acee70cb38b1 [INFO] running `Command { std: "docker" "start" "-a" "e920e71a1b23a3149aa9d3798ade7954d43fc85471791c012bd5acee70cb38b1", kill_on_drop: false }` [INFO] [stderr] Compiling forecast v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:205:68 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(api_key: &'a str, latitude: f64, longitude: f64) -> ForecastRequestBuilder { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(api_key: &'a str, latitude: f64, longitude: f64) -> ForecastRequestBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:375:10 [INFO] [stdout] | [INFO] [stdout] 371 | api_key: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 375 | ) -> TimeMachineRequestBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 375 | ) -> TimeMachineRequestBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/integration_test.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [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: `Client` and `StatusCode` [INFO] [stdout] --> tests/integration_test.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use reqwest::{Client, StatusCode}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiClient`, `ExcludeBlock`, `ExtendBy`, `ForecastRequestBuilder`, `Lang`, `TimeMachineRequestBuilder`, and `Units` [INFO] [stdout] --> tests/integration_test.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use forecast::{ApiResponse, ApiClient, ForecastRequestBuilder, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | TimeMachineRequestBuilder, ExcludeBlock, ExtendBy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 23 | Lang, Units}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAT` is never used [INFO] [stdout] --> tests/integration_test.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const LAT: f64 = 42.3736; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG` is never used [INFO] [stdout] --> tests/integration_test.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const LONG: f64 = -71.1097; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME` is never used [INFO] [stdout] --> tests/integration_test.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const TIME: u64 = 1505899999; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIMEOUT_SECS` is never used [INFO] [stdout] --> tests/integration_test.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const TIMEOUT_SECS: u64 = 60; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:205:68 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(api_key: &'a str, latitude: f64, longitude: f64) -> ForecastRequestBuilder { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(api_key: &'a str, latitude: f64, longitude: f64) -> ForecastRequestBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:375:10 [INFO] [stdout] | [INFO] [stdout] 371 | api_key: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 375 | ) -> TimeMachineRequestBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 375 | ) -> TimeMachineRequestBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.28s [INFO] running `Command { std: "docker" "inspect" "e920e71a1b23a3149aa9d3798ade7954d43fc85471791c012bd5acee70cb38b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e920e71a1b23a3149aa9d3798ade7954d43fc85471791c012bd5acee70cb38b1", kill_on_drop: false }` [INFO] [stdout] e920e71a1b23a3149aa9d3798ade7954d43fc85471791c012bd5acee70cb38b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8554c84bdc0f71a05d73fa8f97882f423b0282580b6640ce4e16f41321b9a838 [INFO] running `Command { std: "docker" "start" "-a" "8554c84bdc0f71a05d73fa8f97882f423b0282580b6640ce4e16f41321b9a838", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:205:68 [INFO] [stderr] | [INFO] [stderr] 205 | pub fn new(api_key: &'a str, latitude: f64, longitude: f64) -> ForecastRequestBuilder { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 205 | pub fn new(api_key: &'a str, latitude: f64, longitude: f64) -> ForecastRequestBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:375:10 [INFO] [stderr] | [INFO] [stderr] 371 | api_key: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 375 | ) -> TimeMachineRequestBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 375 | ) -> TimeMachineRequestBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `forecast` (lib) generated 2 warnings (run `cargo fix --lib -p forecast` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> tests/integration_test.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Client` and `StatusCode` [INFO] [stderr] --> tests/integration_test.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | use reqwest::{Client, StatusCode}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ApiClient`, `ExcludeBlock`, `ExtendBy`, `ForecastRequestBuilder`, `Lang`, `TimeMachineRequestBuilder`, and `Units` [INFO] [stderr] --> tests/integration_test.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | use forecast::{ApiResponse, ApiClient, ForecastRequestBuilder, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | TimeMachineRequestBuilder, ExcludeBlock, ExtendBy, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] 23 | Lang, Units}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `LAT` is never used [INFO] [stderr] --> tests/integration_test.rs:27:7 [INFO] [stderr] | [INFO] [stderr] 27 | const LAT: f64 = 42.3736; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `LONG` is never used [INFO] [stderr] --> tests/integration_test.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | const LONG: f64 = -71.1097; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TIME` is never used [INFO] [stderr] --> tests/integration_test.rs:29:7 [INFO] [stderr] | [INFO] [stderr] 29 | const TIME: u64 = 1505899999; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TIMEOUT_SECS` is never used [INFO] [stderr] --> tests/integration_test.rs:31:7 [INFO] [stderr] | [INFO] [stderr] 31 | const TIMEOUT_SECS: u64 = 60; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `forecast` (test "integration_test") generated 7 warnings (run `cargo fix --test "integration_test" -p forecast` to apply 3 suggestions) [INFO] [stderr] warning: `forecast` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/forecast-4399c87b1d739f6f) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::test_forecast_request_builder_complex ... ok [INFO] [stdout] test tests::test_forecast_request_builder_simple ... ok [INFO] [stdout] test tests::test_forecast_request_builder_defaults ... ok [INFO] [stdout] test tests::test_norwegian_lang_serde ... ok [INFO] [stdout] test tests::test_time_machine_request_builder_complex ... ok [INFO] [stdout] test tests::test_time_machine_request_builder_defaults ... ok [INFO] [stdout] test tests::test_time_machine_request_builder_simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-056792e92f2fa84a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_response_serde_01_21_2018 ... ok [INFO] [stdout] test test_response_serde_10_23_2016 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Doc-tests forecast [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 45) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.87s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8554c84bdc0f71a05d73fa8f97882f423b0282580b6640ce4e16f41321b9a838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8554c84bdc0f71a05d73fa8f97882f423b0282580b6640ce4e16f41321b9a838", kill_on_drop: false }` [INFO] [stdout] 8554c84bdc0f71a05d73fa8f97882f423b0282580b6640ce4e16f41321b9a838