[INFO] cloning repository https://github.com/wasif1024/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/wasif1024/weather-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasif1024%2Fweather-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasif1024%2Fweather-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63eca7077159a31adbc3607b7a0eec26a53a502c [INFO] checking wasif1024/weather-app against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasif1024%2Fweather-app" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wasif1024/weather-app [INFO] finished tweaking git repo https://github.com/wasif1024/weather-app [INFO] tweaked toml for git repo https://github.com/wasif1024/weather-app written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wasif1024/weather-app on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wasif1024/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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9e878e0d607f5cf1f10cb419eaaf9314d124d4dd4cacb31f24aec90e9a08be9 [INFO] running `Command { std: "docker" "start" "-a" "c9e878e0d607f5cf1f10cb419eaaf9314d124d4dd4cacb31f24aec90e9a08be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9e878e0d607f5cf1f10cb419eaaf9314d124d4dd4cacb31f24aec90e9a08be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e878e0d607f5cf1f10cb419eaaf9314d124d4dd4cacb31f24aec90e9a08be9", kill_on_drop: false }` [INFO] [stdout] c9e878e0d607f5cf1f10cb419eaaf9314d124d4dd4cacb31f24aec90e9a08be9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2e51e13e912a230d98c1aeafdc16212b753ca12d2c4e4880678ad97e0bc174d [INFO] running `Command { std: "docker" "start" "-a" "d2e51e13e912a230d98c1aeafdc16212b753ca12d2c4e4880678ad97e0bc174d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking openssl-sys v0.9.102 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking openssl v0.10.64 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking prettytable v0.10.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking wasif_weather_cli_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/weather/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WeatherBox{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub coord:CoordStruct, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub weather:Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub base:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub main:MainStruct, [INFO] [stdout] 10 | pub visibility:i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub wind:WindStruct, [INFO] [stdout] 12 | pub clouds:CloudStruct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub dt:i64, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub sys:SysStruct, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub timezone:i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub id:i64, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub name:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub cod:i64 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeatherBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lon` and `lat` are never read [INFO] [stdout] --> src/weather/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CoordStruct{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 30 | pub lon:f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | pub lat:f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoordStruct` 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/weather/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct WeatherStruct{ [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 35 | id:i32, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | main:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | description:String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | icon:String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeatherStruct` 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 `feels_like`, `temp_min`, `humidity`, `sea_level`, and `grnd_level` are never read [INFO] [stdout] --> src/weather/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct MainStruct{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 42 | temp:f32, [INFO] [stdout] 43 | feels_like:f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | temp_min:f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | humidity:f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | sea_level:f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 49 | grnd_level:f32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MainStruct` 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 `deg` and `gust` are never read [INFO] [stdout] --> src/weather/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct WindStruct{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 53 | pub speed:f32, [INFO] [stdout] 54 | pub deg:f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | pub gust:f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindStruct` 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/weather/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct CloudStruct{ [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 59 | pub all:i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CloudStruct` 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 `country`, `sunrise`, and `sunset` are never read [INFO] [stdout] --> src/weather/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct SysStruct{ [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 63 | pub country:String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | pub sunrise:i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 65 | pub sunset:i64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SysStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/weather/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WeatherBox{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub coord:CoordStruct, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub weather:Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub base:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub main:MainStruct, [INFO] [stdout] 10 | pub visibility:i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub wind:WindStruct, [INFO] [stdout] 12 | pub clouds:CloudStruct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub dt:i64, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub sys:SysStruct, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub timezone:i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub id:i64, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub name:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub cod:i64 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeatherBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lon` and `lat` are never read [INFO] [stdout] --> src/weather/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CoordStruct{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 30 | pub lon:f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | pub lat:f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoordStruct` 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/weather/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct WeatherStruct{ [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 35 | id:i32, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | main:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | description:String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | icon:String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeatherStruct` 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 `feels_like`, `temp_min`, `humidity`, `sea_level`, and `grnd_level` are never read [INFO] [stdout] --> src/weather/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct MainStruct{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 42 | temp:f32, [INFO] [stdout] 43 | feels_like:f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | temp_min:f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | humidity:f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | sea_level:f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 49 | grnd_level:f32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MainStruct` 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 `deg` and `gust` are never read [INFO] [stdout] --> src/weather/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct WindStruct{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 53 | pub speed:f32, [INFO] [stdout] 54 | pub deg:f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | pub gust:f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindStruct` 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/weather/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct CloudStruct{ [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 59 | pub all:i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CloudStruct` 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 `country`, `sunrise`, and `sunset` are never read [INFO] [stdout] --> src/weather/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct SysStruct{ [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 63 | pub country:String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | pub sunrise:i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 65 | pub sunset:i64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SysStruct` 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 27.74s [INFO] running `Command { std: "docker" "inspect" "d2e51e13e912a230d98c1aeafdc16212b753ca12d2c4e4880678ad97e0bc174d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e51e13e912a230d98c1aeafdc16212b753ca12d2c4e4880678ad97e0bc174d", kill_on_drop: false }` [INFO] [stdout] d2e51e13e912a230d98c1aeafdc16212b753ca12d2c4e4880678ad97e0bc174d