[INFO] fetching crate openweather-async 0.1.2... [INFO] testing openweather-async-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate openweather-async 0.1.2 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate openweather-async 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 144 packages to latest compatible versions [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6bda985eb2ca779c06d5909b8f29ae81c1ed858458165d887d7b0905a013fca [INFO] running `Command { std: "docker" "start" "-a" "a6bda985eb2ca779c06d5909b8f29ae81c1ed858458165d887d7b0905a013fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6bda985eb2ca779c06d5909b8f29ae81c1ed858458165d887d7b0905a013fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6bda985eb2ca779c06d5909b8f29ae81c1ed858458165d887d7b0905a013fca", kill_on_drop: false }` [INFO] [stdout] a6bda985eb2ca779c06d5909b8f29ae81c1ed858458165d887d7b0905a013fca [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3837499c4f5cac48f4bd72795c306dfd62476e4dda1477e69e40fc76b808abc [INFO] running `Command { std: "docker" "start" "-a" "e3837499c4f5cac48f4bd72795c306dfd62476e4dda1477e69e40fc76b808abc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.3.1 [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 openssl v0.10.75 [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 yoke v0.8.1 [INFO] [stderr] Compiling h2 v0.2.7 [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 serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.14 [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 18.67s [INFO] running `Command { std: "docker" "inspect" "e3837499c4f5cac48f4bd72795c306dfd62476e4dda1477e69e40fc76b808abc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3837499c4f5cac48f4bd72795c306dfd62476e4dda1477e69e40fc76b808abc", kill_on_drop: false }` [INFO] [stdout] e3837499c4f5cac48f4bd72795c306dfd62476e4dda1477e69e40fc76b808abc [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07885ca637d52d84b439421c8f93bcb9bf57b91daae5e05e2289c9d369b96aec [INFO] running `Command { std: "docker" "start" "-a" "07885ca637d52d84b439421c8f93bcb9bf57b91daae5e05e2289c9d369b96aec", 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.05s [INFO] running `Command { std: "docker" "inspect" "07885ca637d52d84b439421c8f93bcb9bf57b91daae5e05e2289c9d369b96aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07885ca637d52d84b439421c8f93bcb9bf57b91daae5e05e2289c9d369b96aec", kill_on_drop: false }` [INFO] [stdout] 07885ca637d52d84b439421c8f93bcb9bf57b91daae5e05e2289c9d369b96aec [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc41f5c2e3832fed57f83b47c4e0643e5cc9c5a144de545b3e80da9ea1a09ee9 [INFO] running `Command { std: "docker" "start" "-a" "fc41f5c2e3832fed57f83b47c4e0643e5cc9c5a144de545b3e80da9ea1a09ee9", 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 (run `cargo fix --lib -p openweather-async --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openweather_async-907cff7cddb634c4) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test::get_by_city ... FAILED [INFO] [stdout] test test::get_by_cities_in_zone ... FAILED [INFO] [stdout] test test::get_by_city_and_country ... FAILED [INFO] [stdout] test test::get_by_cities_in_cycle ... FAILED [INFO] [stdout] test test::get_by_coordinates ... FAILED [INFO] [stdout] test test::get_by_zipcode ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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_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] ---- 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_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_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] [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.29s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "fc41f5c2e3832fed57f83b47c4e0643e5cc9c5a144de545b3e80da9ea1a09ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc41f5c2e3832fed57f83b47c4e0643e5cc9c5a144de545b3e80da9ea1a09ee9", kill_on_drop: false }` [INFO] [stdout] fc41f5c2e3832fed57f83b47c4e0643e5cc9c5a144de545b3e80da9ea1a09ee9