[INFO] fetching crate forecast 3.0.0... [INFO] testing forecast-3.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate forecast 3.0.0 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate forecast 3.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 149 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.23) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.47.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34ede5b90b708186a6360d3375123d91c69a8b281f6387bd0acfdd2a45b65a36 [INFO] running `Command { std: "docker" "start" "-a" "34ede5b90b708186a6360d3375123d91c69a8b281f6387bd0acfdd2a45b65a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34ede5b90b708186a6360d3375123d91c69a8b281f6387bd0acfdd2a45b65a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ede5b90b708186a6360d3375123d91c69a8b281f6387bd0acfdd2a45b65a36", kill_on_drop: false }` [INFO] [stdout] 34ede5b90b708186a6360d3375123d91c69a8b281f6387bd0acfdd2a45b65a36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40e42cece25469b21f24933b5bfefc67f15accfcf2ff56b1c1cc9989548bf984 [INFO] running `Command { std: "docker" "start" "-a" "40e42cece25469b21f24933b5bfefc67f15accfcf2ff56b1c1cc9989548bf984", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [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 pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.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 url v2.5.7 [INFO] [stderr] Compiling hyper v0.13.10 [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:26 [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:371:19 [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 28s [INFO] running `Command { std: "docker" "inspect" "40e42cece25469b21f24933b5bfefc67f15accfcf2ff56b1c1cc9989548bf984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e42cece25469b21f24933b5bfefc67f15accfcf2ff56b1c1cc9989548bf984", kill_on_drop: false }` [INFO] [stdout] 40e42cece25469b21f24933b5bfefc67f15accfcf2ff56b1c1cc9989548bf984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70139a02bfa8eb3ce6fa9d13a93cc21663bd49e7e34fd0a4cbe2c0bc30602671 [INFO] running `Command { std: "docker" "start" "-a" "70139a02bfa8eb3ce6fa9d13a93cc21663bd49e7e34fd0a4cbe2c0bc30602671", 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:26 [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:371:19 [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)]` 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)]` 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:26 [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:371:19 [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.02s [INFO] running `Command { std: "docker" "inspect" "70139a02bfa8eb3ce6fa9d13a93cc21663bd49e7e34fd0a4cbe2c0bc30602671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70139a02bfa8eb3ce6fa9d13a93cc21663bd49e7e34fd0a4cbe2c0bc30602671", kill_on_drop: false }` [INFO] [stdout] 70139a02bfa8eb3ce6fa9d13a93cc21663bd49e7e34fd0a4cbe2c0bc30602671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 371807015c3e7e42cf35c2712b9bb9d37f2c86f6000ebbdf0e072d9725ca7079 [INFO] running `Command { std: "docker" "start" "-a" "371807015c3e7e42cf35c2712b9bb9d37f2c86f6000ebbdf0e072d9725ca7079", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:205:26 [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:371:19 [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: `forecast` (lib test) generated 2 warnings (2 duplicates) [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)]` 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)]` 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"` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/forecast-0c34bf3c37b709ee) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::test_forecast_request_builder_defaults ... 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_norwegian_lang_serde ... ok [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_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.01s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-413b8de6757773cc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_response_serde_10_23_2016 ... ok [INFO] [stdout] test test_response_serde_01_21_2018 ... ok [INFO] [stderr] Doc-tests forecast [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [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.81s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "371807015c3e7e42cf35c2712b9bb9d37f2c86f6000ebbdf0e072d9725ca7079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371807015c3e7e42cf35c2712b9bb9d37f2c86f6000ebbdf0e072d9725ca7079", kill_on_drop: false }` [INFO] [stdout] 371807015c3e7e42cf35c2712b9bb9d37f2c86f6000ebbdf0e072d9725ca7079