[INFO] fetching crate weather-cli 0.4.2... [INFO] checking weather-cli-0.4.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-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 c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae7581b461044fb613ad2673995cd5c03dc47d5c66de58ae1d6468f95b04952d [INFO] running `Command { std: "docker" "start" "-a" "ae7581b461044fb613ad2673995cd5c03dc47d5c66de58ae1d6468f95b04952d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae7581b461044fb613ad2673995cd5c03dc47d5c66de58ae1d6468f95b04952d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7581b461044fb613ad2673995cd5c03dc47d5c66de58ae1d6468f95b04952d", kill_on_drop: false }` [INFO] [stdout] ae7581b461044fb613ad2673995cd5c03dc47d5c66de58ae1d6468f95b04952d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaebfd25fe227fd16b93a996eed06828c19101a44a83c0682f6ceb1b333cf861 [INFO] running `Command { std: "docker" "start" "-a" "aaebfd25fe227fd16b93a996eed06828c19101a44a83c0682f6ceb1b333cf861", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking http-body v0.4.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] Checking tokio v1.39.2 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking 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)]` 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] [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)]` 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 21.24s [INFO] running `Command { std: "docker" "inspect" "aaebfd25fe227fd16b93a996eed06828c19101a44a83c0682f6ceb1b333cf861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaebfd25fe227fd16b93a996eed06828c19101a44a83c0682f6ceb1b333cf861", kill_on_drop: false }` [INFO] [stdout] aaebfd25fe227fd16b93a996eed06828c19101a44a83c0682f6ceb1b333cf861