[INFO] fetching crate openweather-async 0.1.2... [INFO] testing openweather-async-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate openweather-async 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate openweather-async 0.1.2 [INFO] finished tweaking crates.io crate openweather-async 0.1.2 [INFO] tweaked toml for crates.io crate openweather-async 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate openweather-async 0.1.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 146 packages to latest compatible versions [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reqwest v0.10.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 961acf953294e6a30bbb25bcd37565cfd7a223d041dfbc442a26321d28446cf9 [INFO] running `Command { std: "docker" "start" "-a" "961acf953294e6a30bbb25bcd37565cfd7a223d041dfbc442a26321d28446cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "961acf953294e6a30bbb25bcd37565cfd7a223d041dfbc442a26321d28446cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "961acf953294e6a30bbb25bcd37565cfd7a223d041dfbc442a26321d28446cf9", kill_on_drop: false }` [INFO] [stdout] 961acf953294e6a30bbb25bcd37565cfd7a223d041dfbc442a26321d28446cf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f38e588c4fc21745274154d6e3ebd7f716481075c2494a588a21227747a69ea [INFO] running `Command { std: "docker" "start" "-a" "7f38e588c4fc21745274154d6e3ebd7f716481075c2494a588a21227747a69ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio v0.2.25 [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 icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [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 openweather-async v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.39s [INFO] running `Command { std: "docker" "inspect" "7f38e588c4fc21745274154d6e3ebd7f716481075c2494a588a21227747a69ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f38e588c4fc21745274154d6e3ebd7f716481075c2494a588a21227747a69ea", kill_on_drop: false }` [INFO] [stdout] 7f38e588c4fc21745274154d6e3ebd7f716481075c2494a588a21227747a69ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 047d73ad47eb5a147c06a5f823ede04e2ef4bfc4d1b76b68cadc06425ee5277f [INFO] running `Command { std: "docker" "start" "-a" "047d73ad47eb5a147c06a5f823ede04e2ef4bfc4d1b76b68cadc06425ee5277f", kill_on_drop: false }` [INFO] [stderr] Compiling openweather-async v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/lib.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let temp = weather.get_by_city("Tokyo").await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let temp = weather.get_by_city_and_country("Tokyo", "Japan").await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let temp = weather.get_by_coordinates(56.0, 12.0).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let temp = weather.get_by_zipcode(80918, "US").await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "047d73ad47eb5a147c06a5f823ede04e2ef4bfc4d1b76b68cadc06425ee5277f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "047d73ad47eb5a147c06a5f823ede04e2ef4bfc4d1b76b68cadc06425ee5277f", kill_on_drop: false }` [INFO] [stdout] 047d73ad47eb5a147c06a5f823ede04e2ef4bfc4d1b76b68cadc06425ee5277f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8be0d1fba71b1a7e7f9f60a481e7cbb481658b9c750e9ecfa605e0dcac1aea0b [INFO] running `Command { std: "docker" "start" "-a" "8be0d1fba71b1a7e7f9f60a481e7cbb481658b9c750e9ecfa605e0dcac1aea0b", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `temp` [INFO] [stderr] --> src/lib.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let temp = weather.get_by_city("Tokyo").await?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp` [INFO] [stderr] --> src/lib.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let temp = weather.get_by_city_and_country("Tokyo", "Japan").await?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp` [INFO] [stderr] --> src/lib.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let temp = weather.get_by_coordinates(56.0, 12.0).await?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp` [INFO] [stderr] --> src/lib.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | let temp = weather.get_by_zipcode(80918, "US").await?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stderr] [INFO] [stderr] warning: `openweather-async` (lib test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openweather_async-662242d65217428c) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test::get_by_cities_in_cycle ... FAILED [INFO] [stdout] test test::get_by_coordinates ... FAILED [INFO] [stdout] test test::get_by_city_and_country ... FAILED [INFO] [stdout] test test::get_by_city ... FAILED [INFO] [stdout] test test::get_by_zipcode ... FAILED [INFO] [stdout] test test::get_by_cities_in_zone ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::get_by_cities_in_cycle stdout ---- [INFO] [stdout] "https://api.openweathermap.org/data/2.5/find?lat=12&lon=32&cnt=3&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric" [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.openweathermap.org")), port: None, path: "/data/2.5/find", query: Some("lat=12&lon=32&cnt=3&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- test::get_by_coordinates stdout ---- [INFO] [stdout] "https://api.openweathermap.org/data/2.5/weather?lat=56&lon=12&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric" [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.openweathermap.org")), port: None, path: "/data/2.5/weather", query: Some("lat=56&lon=12&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- test::get_by_city_and_country stdout ---- [INFO] [stdout] "https://api.openweathermap.org/data/2.5/weather?q=Tokyo,Japan&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric" [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.openweathermap.org")), port: None, path: "/data/2.5/weather", query: Some("q=Tokyo,Japan&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- test::get_by_city stdout ---- [INFO] [stdout] "https://api.openweathermap.org/data/2.5/weather?q=Tokyo&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric" [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.openweathermap.org")), port: None, path: "/data/2.5/weather", query: Some("q=Tokyo&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- test::get_by_zipcode stdout ---- [INFO] [stdout] "https://api.openweathermap.org/data/2.5/weather?q=80918,US&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric" [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.openweathermap.org")), port: None, path: "/data/2.5/weather", query: Some("q=80918,US&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- test::get_by_cities_in_zone stdout ---- [INFO] [stdout] "https://api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric" [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.openweathermap.org")), port: None, path: "/data/2.5/box/city", query: Some("bbox=12,32,15,37,10&appid=3c3c205a0ac758be3bf96bf999f18ffd&units=metric"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::get_by_cities_in_cycle [INFO] [stdout] test::get_by_cities_in_zone [INFO] [stdout] test::get_by_city [INFO] [stdout] test::get_by_city_and_country [INFO] [stdout] test::get_by_coordinates [INFO] [stdout] test::get_by_zipcode [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "8be0d1fba71b1a7e7f9f60a481e7cbb481658b9c750e9ecfa605e0dcac1aea0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8be0d1fba71b1a7e7f9f60a481e7cbb481658b9c750e9ecfa605e0dcac1aea0b", kill_on_drop: false }` [INFO] [stdout] 8be0d1fba71b1a7e7f9f60a481e7cbb481658b9c750e9ecfa605e0dcac1aea0b