[INFO] cloning repository https://github.com/JLesDev/RustWeatherGetter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JLesDev/RustWeatherGetter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLesDev%2FRustWeatherGetter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLesDev%2FRustWeatherGetter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 028a3c67cc029cacd9a9f704fb79fa4aca5829f7 [INFO] testing JLesDev/RustWeatherGetter/028a3c67cc029cacd9a9f704fb79fa4aca5829f7 against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLesDev%2FRustWeatherGetter" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 38% (995/2610) Updating files: 39% (1018/2610) Updating files: 40% (1044/2610) Updating files: 41% (1071/2610) Updating files: 41% (1090/2610) Updating files: 42% (1097/2610) Updating files: 43% (1123/2610) Updating files: 44% (1149/2610) Updating files: 44% (1161/2610) Updating files: 45% (1175/2610) Updating files: 46% (1201/2610) Updating files: 47% (1227/2610) Updating files: 48% (1253/2610) Updating files: 49% (1279/2610) Updating files: 50% (1305/2610) Updating files: 51% (1332/2610) Updating files: 52% (1358/2610) Updating files: 53% (1384/2610) Updating files: 54% (1410/2610) Updating files: 55% (1436/2610) Updating files: 56% (1462/2610) Updating files: 57% (1488/2610) Updating files: 58% (1514/2610) Updating files: 59% (1540/2610) Updating files: 60% (1566/2610) Updating files: 61% (1593/2610) Updating files: 62% (1619/2610) Updating files: 63% (1645/2610) Updating files: 64% (1671/2610) Updating files: 65% (1697/2610) Updating files: 66% (1723/2610) Updating files: 67% (1749/2610) Updating files: 68% (1775/2610) Updating files: 69% (1801/2610) Updating files: 70% (1827/2610) Updating files: 71% (1854/2610) Updating files: 72% (1880/2610) Updating files: 73% (1906/2610) Updating files: 73% (1925/2610) Updating files: 74% (1932/2610) Updating files: 75% (1958/2610) Updating files: 76% (1984/2610) Updating files: 77% (2010/2610) Updating files: 78% (2036/2610) Updating files: 79% (2062/2610) Updating files: 80% (2088/2610) Updating files: 81% (2115/2610) Updating files: 82% (2141/2610) Updating files: 83% (2167/2610) Updating files: 84% (2193/2610) Updating files: 85% (2219/2610) Updating files: 86% (2245/2610) Updating files: 87% (2271/2610) Updating files: 88% (2297/2610) Updating files: 89% (2323/2610) Updating files: 90% (2349/2610) Updating files: 91% (2376/2610) Updating files: 92% (2402/2610) Updating files: 93% (2428/2610) Updating files: 94% (2454/2610) Updating files: 95% (2480/2610) Updating files: 95% (2485/2610) Updating files: 96% (2506/2610) Updating files: 97% (2532/2610) Updating files: 98% (2558/2610) Updating files: 99% (2584/2610) Updating files: 100% (2610/2610) Updating files: 100% (2610/2610), done. [INFO] validating manifest of git repo https://github.com/JLesDev/RustWeatherGetter on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JLesDev/RustWeatherGetter [INFO] finished tweaking git repo https://github.com/JLesDev/RustWeatherGetter [INFO] tweaked toml for git repo https://github.com/JLesDev/RustWeatherGetter written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JLesDev/RustWeatherGetter 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18affd2aed3a649e10f4047b751aae670738f7a148fea12beb2fc8739ecf88b4 [INFO] running `Command { std: "docker" "start" "-a" "18affd2aed3a649e10f4047b751aae670738f7a148fea12beb2fc8739ecf88b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18affd2aed3a649e10f4047b751aae670738f7a148fea12beb2fc8739ecf88b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18affd2aed3a649e10f4047b751aae670738f7a148fea12beb2fc8739ecf88b4", kill_on_drop: false }` [INFO] [stdout] 18affd2aed3a649e10f4047b751aae670738f7a148fea12beb2fc8739ecf88b4 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9df2e673f96f24b313b6fcf38d6c7cf747d2bc9ef5e14fad1a02c912d4306f4c [INFO] running `Command { std: "docker" "start" "-a" "9df2e673f96f24b313b6fcf38d6c7cf747d2bc9ef5e14fad1a02c912d4306f4c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.166 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling async-compression v0.4.18 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [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 serde_derive v1.0.215 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [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 js-sys v0.3.72 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.45 [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.9 [INFO] [stderr] Compiling hot_or_not_3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `sync::mpsc` and `time::Duration` [INFO] [stdout] --> src/lib.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{sync::mpsc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub async extern fn get_weather_name(location: String) -> String { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `main` and `weather` are never read [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct WeatherData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 81 | name: String, [INFO] [stdout] 82 | main: Main, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | weather: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeatherData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temp` and `feels_like` are never read [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | struct Main{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 88 | temp: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | feels_like: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Main` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct Weather { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 95 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weather` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `impl Future`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: opaque types have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `API` should have a snake case name [INFO] [stdout] --> src/lib.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `api` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | pub async extern fn get_weather_name(location: String) -> String { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `impl Future`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub async extern fn get_weather_name(location: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: opaque types have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.12s [INFO] running `Command { std: "docker" "inspect" "9df2e673f96f24b313b6fcf38d6c7cf747d2bc9ef5e14fad1a02c912d4306f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df2e673f96f24b313b6fcf38d6c7cf747d2bc9ef5e14fad1a02c912d4306f4c", kill_on_drop: false }` [INFO] [stdout] 9df2e673f96f24b313b6fcf38d6c7cf747d2bc9ef5e14fad1a02c912d4306f4c [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50406f74231b011d698472fbd2390b20a3d955cfdfee09488a547e7f1b99be8d [INFO] running `Command { std: "docker" "start" "-a" "50406f74231b011d698472fbd2390b20a3d955cfdfee09488a547e7f1b99be8d", kill_on_drop: false }` [INFO] [stderr] Compiling hot_or_not_3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `sync::mpsc` and `time::Duration` [INFO] [stdout] --> src/lib.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{sync::mpsc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub async extern fn get_weather_name(location: String) -> String { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `main` and `weather` are never read [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct WeatherData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 81 | name: String, [INFO] [stdout] 82 | main: Main, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | weather: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeatherData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temp` and `feels_like` are never read [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | struct Main{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 88 | temp: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | feels_like: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Main` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct Weather { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 95 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weather` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `impl Future`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: opaque types have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `API` should have a snake case name [INFO] [stdout] --> src/lib.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `api` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | pub async extern fn get_weather_name(location: String) -> String { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `impl Future`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub async extern fn get_weather_name(location: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: opaque types have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "50406f74231b011d698472fbd2390b20a3d955cfdfee09488a547e7f1b99be8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50406f74231b011d698472fbd2390b20a3d955cfdfee09488a547e7f1b99be8d", kill_on_drop: false }` [INFO] [stdout] 50406f74231b011d698472fbd2390b20a3d955cfdfee09488a547e7f1b99be8d [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 95dbd0ea8bbbb9c037874c44efd7964de845eded109c76514986b4e25feef751 [INFO] running `Command { std: "docker" "start" "-a" "95dbd0ea8bbbb9c037874c44efd7964de845eded109c76514986b4e25feef751", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `sync::mpsc` and `time::Duration` [INFO] [stderr] --> src/lib.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | use std::{sync::mpsc, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: extern declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stderr] --> src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: extern declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:50:11 [INFO] [stderr] | [INFO] [stderr] 50 | pub async extern fn get_weather_name(location: String) -> String { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stderr] --> src/lib.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `main` and `weather` are never read [INFO] [stderr] --> src/lib.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 80 | pub struct WeatherData { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 81 | name: String, [INFO] [stderr] 82 | main: Main, [INFO] [stderr] | ^^^^ [INFO] [stderr] 83 | weather: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WeatherData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `temp` and `feels_like` are never read [INFO] [stderr] --> src/lib.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 87 | struct Main{ [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 88 | temp: f32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 89 | feels_like: f32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Main` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `description` is never read [INFO] [stderr] --> src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 94 | struct Weather { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 95 | description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Weather` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:13:36 [INFO] [stderr] | [INFO] [stderr] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:13:49 [INFO] [stderr] | [INFO] [stderr] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `impl Future`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = note: opaque types have no C equivalent [INFO] [stderr] [INFO] [stderr] warning: variable `API` should have a snake case name [INFO] [stderr] --> src/lib.rs:13:44 [INFO] [stderr] | [INFO] [stderr] 13 | pub async extern fn get_url(locan: String, API: String) -> String { [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `api` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:50:48 [INFO] [stderr] | [INFO] [stderr] 50 | pub async extern fn get_weather_name(location: String) -> String { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `impl Future`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | pub async extern fn get_weather_name(location: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = note: opaque types have no C equivalent [INFO] [stderr] [INFO] [stderr] warning: `hot_or_not_3` (lib test) generated 15 warnings (run `cargo fix --lib -p hot_or_not_3 --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hot_or_not_3-1447fe0b728369bf) [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" "95dbd0ea8bbbb9c037874c44efd7964de845eded109c76514986b4e25feef751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95dbd0ea8bbbb9c037874c44efd7964de845eded109c76514986b4e25feef751", kill_on_drop: false }` [INFO] [stdout] 95dbd0ea8bbbb9c037874c44efd7964de845eded109c76514986b4e25feef751