[INFO] cloning repository https://github.com/masakizk/rust-playground-weather-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/masakizk/rust-playground-weather-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasakizk%2Frust-playground-weather-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasakizk%2Frust-playground-weather-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b30d4f44074ed2e7a8639c909747dd85f6dcc3a3 [INFO] testing masakizk/rust-playground-weather-app against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasakizk%2Frust-playground-weather-app" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masakizk/rust-playground-weather-app 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/masakizk/rust-playground-weather-app [INFO] finished tweaking git repo https://github.com/masakizk/rust-playground-weather-app [INFO] tweaked toml for git repo https://github.com/masakizk/rust-playground-weather-app written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/masakizk/rust-playground-weather-app 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] [stderr] Blocking waiting for file lock on package cache [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84d5f72795a515a992ab68e0b07a6f1c720b3ad963a98a9fbb8030c72e6ac586 [INFO] running `Command { std: "docker" "start" "-a" "84d5f72795a515a992ab68e0b07a6f1c720b3ad963a98a9fbb8030c72e6ac586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84d5f72795a515a992ab68e0b07a6f1c720b3ad963a98a9fbb8030c72e6ac586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84d5f72795a515a992ab68e0b07a6f1c720b3ad963a98a9fbb8030c72e6ac586", kill_on_drop: false }` [INFO] [stdout] 84d5f72795a515a992ab68e0b07a6f1c720b3ad963a98a9fbb8030c72e6ac586 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14e33eaed2aa62dcee11d044971384926897018dfba1452f0dad70bc28c79268 [INFO] running `Command { std: "docker" "start" "-a" "14e33eaed2aa62dcee11d044971384926897018dfba1452f0dad70bc28c79268", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling pin-project-lite v0.2.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling weather-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct CurrentWeatherResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 5 | pub coord: Coordinates, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub weather: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub base: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub main: Main, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub visibility: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | pub wind: Wind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub clouds: Clouds, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub dt: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub sys: Sys, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub timezone: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub cod: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrentWeatherResponse` 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 `lat` and `lon` are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Coordinates { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | pub lat: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub lon: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `main`, `description`, and `icon` are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Weather { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 28 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | pub main: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | pub icon: 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: fields `temp`, `feels_like`, `temp_min`, `temp_max`, `pressure`, and `humidity` are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Main { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 36 | pub temp: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub feels_like: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | pub temp_min: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | pub temp_max: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub pressure: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | pub humidity: u32, [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: fields `speed` and `deg` are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Wind { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 46 | pub speed: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | pub deg: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wind` 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 `all` is never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Clouds { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 52 | pub all: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Clouds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type`, `id`, `country`, `sunrise`, and `sunset` are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Sys { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 57 | r#type: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | sunrise: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | sunset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sys` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.35s [INFO] running `Command { std: "docker" "inspect" "14e33eaed2aa62dcee11d044971384926897018dfba1452f0dad70bc28c79268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e33eaed2aa62dcee11d044971384926897018dfba1452f0dad70bc28c79268", kill_on_drop: false }` [INFO] [stdout] 14e33eaed2aa62dcee11d044971384926897018dfba1452f0dad70bc28c79268 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffca532253c058affda5b1aab5b79bdbcceb6bd8516983c366cdee488c345b1a [INFO] running `Command { std: "docker" "start" "-a" "ffca532253c058affda5b1aab5b79bdbcceb6bd8516983c366cdee488c345b1a", kill_on_drop: false }` [INFO] [stderr] Compiling weather-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct CurrentWeatherResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 5 | pub coord: Coordinates, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub weather: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub base: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub main: Main, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub visibility: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | pub wind: Wind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub clouds: Clouds, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub dt: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub sys: Sys, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub timezone: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub cod: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrentWeatherResponse` 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 `lat` and `lon` are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Coordinates { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | pub lat: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub lon: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `main`, `description`, and `icon` are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Weather { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 28 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | pub main: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | pub icon: 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: fields `temp`, `feels_like`, `temp_min`, `temp_max`, `pressure`, and `humidity` are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Main { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 36 | pub temp: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub feels_like: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | pub temp_min: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | pub temp_max: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub pressure: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | pub humidity: u32, [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: fields `speed` and `deg` are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Wind { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 46 | pub speed: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | pub deg: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wind` 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 `all` is never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Clouds { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 52 | pub all: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Clouds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type`, `id`, `country`, `sunrise`, and `sunset` are never read [INFO] [stdout] --> src/models/open_weather_map/current_weather.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Sys { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 57 | r#type: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | sunrise: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | sunset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sys` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "ffca532253c058affda5b1aab5b79bdbcceb6bd8516983c366cdee488c345b1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffca532253c058affda5b1aab5b79bdbcceb6bd8516983c366cdee488c345b1a", kill_on_drop: false }` [INFO] [stdout] ffca532253c058affda5b1aab5b79bdbcceb6bd8516983c366cdee488c345b1a [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 22bf7cfa575de5e470b2f4a832ab25fd0ed9a6dd710db9a0f05b7edcb5f33af7 [INFO] running `Command { std: "docker" "start" "-a" "22bf7cfa575de5e470b2f4a832ab25fd0ed9a6dd710db9a0f05b7edcb5f33af7", kill_on_drop: false }` [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/models/open_weather_map/current_weather.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub(crate) struct CurrentWeatherResponse { [INFO] [stderr] | ---------------------- fields in this struct [INFO] [stderr] 5 | pub coord: Coordinates, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 6 | pub weather: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 7 | pub base: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | pub main: Main, [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | pub visibility: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 10 | pub wind: Wind, [INFO] [stderr] | ^^^^ [INFO] [stderr] 11 | pub clouds: Clouds, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 12 | pub dt: u32, [INFO] [stderr] | ^^ [INFO] [stderr] 13 | pub sys: Sys, [INFO] [stderr] | ^^^ [INFO] [stderr] 14 | pub timezone: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 15 | pub id: u32, [INFO] [stderr] | ^^ [INFO] [stderr] 16 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 17 | pub cod: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CurrentWeatherResponse` 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 `lat` and `lon` are never read [INFO] [stderr] --> src/models/open_weather_map/current_weather.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Coordinates { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 22 | pub lat: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] 23 | pub lon: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Coordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `main`, `description`, and `icon` are never read [INFO] [stderr] --> src/models/open_weather_map/current_weather.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Weather { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 28 | pub id: u32, [INFO] [stderr] | ^^ [INFO] [stderr] 29 | pub main: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 30 | pub description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 31 | pub icon: 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: fields `temp`, `feels_like`, `temp_min`, `temp_max`, `pressure`, and `humidity` are never read [INFO] [stderr] --> src/models/open_weather_map/current_weather.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct Main { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 36 | pub temp: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 37 | pub feels_like: f64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 38 | pub temp_min: f64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 39 | pub temp_max: f64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 40 | pub pressure: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 41 | pub humidity: u32, [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: fields `speed` and `deg` are never read [INFO] [stderr] --> src/models/open_weather_map/current_weather.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct Wind { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 46 | pub speed: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 47 | pub deg: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Wind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `all` is never read [INFO] [stderr] --> src/models/open_weather_map/current_weather.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 51 | pub struct Clouds { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 52 | pub all: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Clouds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `type`, `id`, `country`, `sunrise`, and `sunset` are never read [INFO] [stderr] --> src/models/open_weather_map/current_weather.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct Sys { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 57 | r#type: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 58 | id: u32, [INFO] [stderr] | ^^ [INFO] [stderr] 59 | country: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 60 | sunrise: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 61 | sunset: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Sys` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `weather-app` (bin "weather-app" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/weather_app-339b3965fc0364ef) [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" "22bf7cfa575de5e470b2f4a832ab25fd0ed9a6dd710db9a0f05b7edcb5f33af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22bf7cfa575de5e470b2f4a832ab25fd0ed9a6dd710db9a0f05b7edcb5f33af7", kill_on_drop: false }` [INFO] [stdout] 22bf7cfa575de5e470b2f4a832ab25fd0ed9a6dd710db9a0f05b7edcb5f33af7