[INFO] fetching crate weather-cli 0.4.2... [INFO] testing weather-cli-0.4.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate weather-cli 0.4.2 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate weather-cli 0.4.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f83624a2339c36c57eb26022a1df513705b1a58ebdc692e1e578a08ec912df81 [INFO] running `Command { std: "docker" "start" "-a" "f83624a2339c36c57eb26022a1df513705b1a58ebdc692e1e578a08ec912df81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f83624a2339c36c57eb26022a1df513705b1a58ebdc692e1e578a08ec912df81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f83624a2339c36c57eb26022a1df513705b1a58ebdc692e1e578a08ec912df81", kill_on_drop: false }` [INFO] [stdout] f83624a2339c36c57eb26022a1df513705b1a58ebdc692e1e578a08ec912df81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01484f6e032d3a0fae547b49d76b0c716c75d19607e7e6f8071836f6889801b3 [INFO] running `Command { std: "docker" "start" "-a" "01484f6e032d3a0fae547b49d76b0c716c75d19607e7e6f8071836f6889801b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [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 native-tls v0.2.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling clap_builder v4.5.13 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling url v2.5.2 [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 12.60s [INFO] running `Command { std: "docker" "inspect" "01484f6e032d3a0fae547b49d76b0c716c75d19607e7e6f8071836f6889801b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01484f6e032d3a0fae547b49d76b0c716c75d19607e7e6f8071836f6889801b3", kill_on_drop: false }` [INFO] [stdout] 01484f6e032d3a0fae547b49d76b0c716c75d19607e7e6f8071836f6889801b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4ec85fdc44c3d2fa555b5199b5c68179dee953900a68fefa45110ab73665c69 [INFO] running `Command { std: "docker" "start" "-a" "c4ec85fdc44c3d2fa555b5199b5c68179dee953900a68fefa45110ab73665c69", 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 0.99s [INFO] running `Command { std: "docker" "inspect" "c4ec85fdc44c3d2fa555b5199b5c68179dee953900a68fefa45110ab73665c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ec85fdc44c3d2fa555b5199b5c68179dee953900a68fefa45110ab73665c69", kill_on_drop: false }` [INFO] [stdout] c4ec85fdc44c3d2fa555b5199b5c68179dee953900a68fefa45110ab73665c69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 823a56c11537188e8e145111d3e04b147e3e2a6792f22c03e69f66e946b5376b [INFO] running `Command { std: "docker" "start" "-a" "823a56c11537188e8e145111d3e04b147e3e2a6792f22c03e69f66e946b5376b", kill_on_drop: false }` [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/types/response_types.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct WeatherApiResponse { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 6 | pub coord: Coord, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 7 | pub weather: Vec, [INFO] [stderr] 8 | pub base: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | pub main: Main, [INFO] [stderr] 10 | pub visibility: Option, [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.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/weather_cli-e9c01f1f6ec63219) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test testing::unit_test::test_get_executable_directory ... ok [INFO] [stdout] test testing::unit_test::test_update_setting ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/weather_cli-eb20289b85e7bf10) [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] [stderr] Doc-tests weather_cli [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - URLPlaceholder (line 206) - compile ... ok [INFO] [stdout] test src/lib.rs - constants::WEATHER_API_URL (line 42) ... ok [INFO] [stdout] test src/lib.rs - constants::GEOLOCATION_API_URL (line 64) ... ok [INFO] [stdout] test src/lib.rs - make_json_file_name (line 126) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "823a56c11537188e8e145111d3e04b147e3e2a6792f22c03e69f66e946b5376b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823a56c11537188e8e145111d3e04b147e3e2a6792f22c03e69f66e946b5376b", kill_on_drop: false }` [INFO] [stdout] 823a56c11537188e8e145111d3e04b147e3e2a6792f22c03e69f66e946b5376b