[INFO] fetching crate weather-cli 0.4.2... [INFO] testing weather-cli-0.4.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate weather-cli 0.4.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate weather-cli 0.4.2 [INFO] finished tweaking crates.io crate weather-cli 0.4.2 [INFO] tweaked toml for crates.io crate weather-cli 0.4.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate weather-cli 0.4.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate weather-cli 0.4.2 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26d4d60613ec92f121dcc29112ae367a4ef0feac28858a2248bee071267d4777 [INFO] running `Command { std: "docker" "start" "-a" "26d4d60613ec92f121dcc29112ae367a4ef0feac28858a2248bee071267d4777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26d4d60613ec92f121dcc29112ae367a4ef0feac28858a2248bee071267d4777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d4d60613ec92f121dcc29112ae367a4ef0feac28858a2248bee071267d4777", kill_on_drop: false }` [INFO] [stdout] 26d4d60613ec92f121dcc29112ae367a4ef0feac28858a2248bee071267d4777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2c32c7659635335b61a4e40c62c56b94e25a6ee58520a47896342e32df86c32 [INFO] running `Command { std: "docker" "start" "-a" "b2c32c7659635335b61a4e40c62c56b94e25a6ee58520a47896342e32df86c32", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling clap_builder v4.5.13 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling clap v4.5.13 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling weather-cli v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/response_types.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WeatherApiResponse { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 6 | pub coord: Coord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub weather: Vec, [INFO] [stdout] 8 | pub base: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub main: Main, [INFO] [stdout] 10 | pub visibility: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub wind: Wind, [INFO] [stdout] 12 | pub rain: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub snow: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub clouds: Clouds, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub dt: Option, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub cod: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [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/types/response_types.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Coord { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 31 | pub lon: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub lat: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `icon` are never read [INFO] [stdout] --> src/types/response_types.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Weather { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 37 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub icon: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `feels_like`, `sea_level`, and `grnd_level` are never read [INFO] [stdout] --> src/types/response_types.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Main { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 45 | pub temp: f64, [INFO] [stdout] 46 | pub feels_like: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub sea_level: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub grnd_level: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `deg` and `gust` are never read [INFO] [stdout] --> src/types/response_types.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Wind { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 57 | pub speed: f64, [INFO] [stdout] 58 | pub deg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | pub gust: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `one_h` and `three_h` are never read [INFO] [stdout] --> src/types/response_types.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Rain { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 64 | #[serde(rename = "1h")] [INFO] [stdout] 65 | pub one_h: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | #[serde(rename = "3h")] [INFO] [stdout] 67 | pub three_h: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `one_h` and `three_h` are never read [INFO] [stdout] --> src/types/response_types.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Snow { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 72 | #[serde(rename = "1h")] [INFO] [stdout] 73 | pub one_h: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | #[serde(rename = "3h")] [INFO] [stdout] 75 | pub three_h: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all` is never read [INFO] [stdout] --> src/types/response_types.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Clouds { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 80 | pub all: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `id`, `message`, and `country` are never read [INFO] [stdout] --> src/types/response_types.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Sys { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 85 | #[serde(rename = "type")] [INFO] [stdout] 86 | pub type_: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 88 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | pub country: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.75s [INFO] running `Command { std: "docker" "inspect" "b2c32c7659635335b61a4e40c62c56b94e25a6ee58520a47896342e32df86c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c32c7659635335b61a4e40c62c56b94e25a6ee58520a47896342e32df86c32", kill_on_drop: false }` [INFO] [stdout] b2c32c7659635335b61a4e40c62c56b94e25a6ee58520a47896342e32df86c32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6c1fda0ad250e6eb7faeaed968047ba3c2314cd880914f6930b089f02cea8dd [INFO] running `Command { std: "docker" "start" "-a" "c6c1fda0ad250e6eb7faeaed968047ba3c2314cd880914f6930b089f02cea8dd", kill_on_drop: false }` [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/response_types.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WeatherApiResponse { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 6 | pub coord: Coord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub weather: Vec, [INFO] [stdout] 8 | pub base: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub main: Main, [INFO] [stdout] 10 | pub visibility: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub wind: Wind, [INFO] [stdout] 12 | pub rain: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub snow: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub clouds: Clouds, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub dt: Option, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub cod: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [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/types/response_types.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Coord { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 31 | pub lon: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub lat: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `icon` are never read [INFO] [stdout] --> src/types/response_types.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Weather { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 37 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub icon: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `feels_like`, `sea_level`, and `grnd_level` are never read [INFO] [stdout] --> src/types/response_types.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Main { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 45 | pub temp: f64, [INFO] [stdout] 46 | pub feels_like: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub sea_level: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub grnd_level: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `deg` and `gust` are never read [INFO] [stdout] --> src/types/response_types.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Wind { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 57 | pub speed: f64, [INFO] [stdout] 58 | pub deg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | pub gust: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling weather-cli v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `one_h` and `three_h` are never read [INFO] [stdout] --> src/types/response_types.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Rain { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 64 | #[serde(rename = "1h")] [INFO] [stdout] 65 | pub one_h: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | #[serde(rename = "3h")] [INFO] [stdout] 67 | pub three_h: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `one_h` and `three_h` are never read [INFO] [stdout] --> src/types/response_types.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Snow { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 72 | #[serde(rename = "1h")] [INFO] [stdout] 73 | pub one_h: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | #[serde(rename = "3h")] [INFO] [stdout] 75 | pub three_h: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all` is never read [INFO] [stdout] --> src/types/response_types.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Clouds { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 80 | pub all: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `id`, `message`, and `country` are never read [INFO] [stdout] --> src/types/response_types.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Sys { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 85 | #[serde(rename = "type")] [INFO] [stdout] 86 | pub type_: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 88 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | pub country: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/response_types.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WeatherApiResponse { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 6 | pub coord: Coord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub weather: Vec, [INFO] [stdout] 8 | pub base: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub main: Main, [INFO] [stdout] 10 | pub visibility: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub wind: Wind, [INFO] [stdout] 12 | pub rain: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub snow: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub clouds: Clouds, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub dt: Option, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub cod: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [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/types/response_types.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Coord { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 31 | pub lon: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub lat: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `icon` are never read [INFO] [stdout] --> src/types/response_types.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Weather { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 37 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub icon: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `feels_like`, `sea_level`, and `grnd_level` are never read [INFO] [stdout] --> src/types/response_types.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Main { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 45 | pub temp: f64, [INFO] [stdout] 46 | pub feels_like: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub sea_level: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub grnd_level: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `deg` and `gust` are never read [INFO] [stdout] --> src/types/response_types.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Wind { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 57 | pub speed: f64, [INFO] [stdout] 58 | pub deg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | pub gust: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `one_h` and `three_h` are never read [INFO] [stdout] --> src/types/response_types.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Rain { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 64 | #[serde(rename = "1h")] [INFO] [stdout] 65 | pub one_h: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | #[serde(rename = "3h")] [INFO] [stdout] 67 | pub three_h: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `one_h` and `three_h` are never read [INFO] [stdout] --> src/types/response_types.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Snow { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 72 | #[serde(rename = "1h")] [INFO] [stdout] 73 | pub one_h: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | #[serde(rename = "3h")] [INFO] [stdout] 75 | pub three_h: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all` is never read [INFO] [stdout] --> src/types/response_types.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Clouds { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 80 | pub all: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `id`, `message`, and `country` are never read [INFO] [stdout] --> src/types/response_types.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Sys { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 85 | #[serde(rename = "type")] [INFO] [stdout] 86 | pub type_: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 88 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | pub country: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.62s [INFO] running `Command { std: "docker" "inspect" "c6c1fda0ad250e6eb7faeaed968047ba3c2314cd880914f6930b089f02cea8dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6c1fda0ad250e6eb7faeaed968047ba3c2314cd880914f6930b089f02cea8dd", kill_on_drop: false }` [INFO] [stdout] c6c1fda0ad250e6eb7faeaed968047ba3c2314cd880914f6930b089f02cea8dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9540d8157f2e3fa893ff80fce32a3c6f54cbec146bb0fa478b36c7a765936132 [INFO] running `Command { std: "docker" "start" "-a" "9540d8157f2e3fa893ff80fce32a3c6f54cbec146bb0fa478b36c7a765936132", kill_on_drop: false }` [INFO] [stderr] warning: multiple fields are never read [INFO] [stdout] [INFO] [stderr] --> src/types/response_types.rs:6:9 [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stdout] test testing::unit_test::test_update_setting ... ok [INFO] [stderr] 5 | pub struct WeatherApiResponse { [INFO] [stdout] test testing::unit_test::test_get_executable_directory ... ok [INFO] [stderr] | ------------------ fields in this struct [INFO] [stdout] [INFO] [stderr] 6 | pub coord: Coord, [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^ [INFO] [stdout] [INFO] [stderr] 7 | pub weather: Vec, [INFO] [stdout] [INFO] [stderr] 8 | pub base: Option, [INFO] [stdout] running 0 tests [INFO] [stderr] | ^^^^ [INFO] [stdout] [INFO] [stderr] 9 | pub main: Main, [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 10 | pub visibility: Option, [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 11 | pub wind: Wind, [INFO] [stderr] 12 | pub rain: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 13 | pub snow: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 14 | pub clouds: Clouds, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 15 | pub dt: Option, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub cod: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `lon` and `lat` are never read [INFO] [stderr] --> src/types/response_types.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct Coord { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 31 | pub lon: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] 32 | pub lat: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `icon` are never read [INFO] [stderr] --> src/types/response_types.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct Weather { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 37 | pub id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub icon: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `feels_like`, `sea_level`, and `grnd_level` are never read [INFO] [stderr] --> src/types/response_types.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct Main { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 45 | pub temp: f64, [INFO] [stderr] 46 | pub feels_like: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub sea_level: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 52 | pub grnd_level: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `deg` and `gust` are never read [INFO] [stderr] --> src/types/response_types.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct Wind { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 57 | pub speed: f64, [INFO] [stderr] 58 | pub deg: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] 59 | pub gust: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `one_h` and `three_h` are never read [INFO] [stderr] --> src/types/response_types.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct Rain { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 64 | #[serde(rename = "1h")] [INFO] [stderr] 65 | pub one_h: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 66 | #[serde(rename = "3h")] [INFO] [stderr] 67 | pub three_h: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `one_h` and `three_h` are never read [INFO] [stderr] --> src/types/response_types.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 71 | pub struct Snow { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 72 | #[serde(rename = "1h")] [INFO] [stderr] 73 | pub one_h: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 74 | #[serde(rename = "3h")] [INFO] [stderr] 75 | pub three_h: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `all` is never read [INFO] [stderr] --> src/types/response_types.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 79 | pub struct Clouds { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 80 | pub all: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `type_`, `id`, `message`, and `country` are never read [INFO] [stderr] --> src/types/response_types.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct Sys { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 85 | #[serde(rename = "type")] [INFO] [stderr] 86 | pub type_: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 87 | pub id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 88 | pub message: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 89 | pub country: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `weather-cli` (lib) generated 9 warnings [INFO] [stderr] warning: `weather-cli` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/weather_cli-e9c01f1f6ec63219) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/weather_cli-eb20289b85e7bf10) [INFO] [stderr] Doc-tests weather_cli [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - constants::GEOLOCATION_API_URL (line 64) ... ok [INFO] [stdout] test src/lib.rs - URLPlaceholder (line 206) - compile ... ok [INFO] [stdout] test src/lib.rs - make_json_file_name (line 126) ... ok [INFO] [stdout] test src/lib.rs - constants::WEATHER_API_URL (line 42) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9540d8157f2e3fa893ff80fce32a3c6f54cbec146bb0fa478b36c7a765936132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9540d8157f2e3fa893ff80fce32a3c6f54cbec146bb0fa478b36c7a765936132", kill_on_drop: false }` [INFO] [stdout] 9540d8157f2e3fa893ff80fce32a3c6f54cbec146bb0fa478b36c7a765936132