[INFO] cloning repository https://github.com/rockcoolsaint/weather-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rockcoolsaint/weather-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frockcoolsaint%2Fweather-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frockcoolsaint%2Fweather-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 318b4f074e395d2107b375cac438fcf386235df6 [INFO] testing rockcoolsaint/weather-cli against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frockcoolsaint%2Fweather-cli" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rockcoolsaint/weather-cli on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rockcoolsaint/weather-cli [INFO] finished tweaking git repo https://github.com/rockcoolsaint/weather-cli [INFO] tweaked toml for git repo https://github.com/rockcoolsaint/weather-cli written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rockcoolsaint/weather-cli 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 509eb8f15e063551cd5c96e9bff64d14fcff89695f8390914e935df94607421c [INFO] running `Command { std: "docker" "start" "-a" "509eb8f15e063551cd5c96e9bff64d14fcff89695f8390914e935df94607421c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "509eb8f15e063551cd5c96e9bff64d14fcff89695f8390914e935df94607421c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "509eb8f15e063551cd5c96e9bff64d14fcff89695f8390914e935df94607421c", kill_on_drop: false }` [INFO] [stdout] 509eb8f15e063551cd5c96e9bff64d14fcff89695f8390914e935df94607421c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8964fe162475fb080d427b65c3ffc553bed959f62455352b815511ad9f930074 [INFO] running `Command { std: "docker" "start" "-a" "8964fe162475fb080d427b65c3ffc553bed959f62455352b815511ad9f930074", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.1.23 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.9.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling clap_builder v4.5.18 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling async-compression v0.4.12 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling clap v4.5.18 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.8 [INFO] [stderr] Compiling weather-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | for (key, value) in std::env::vars() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let method = match args.days { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut api_key: Option = None; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lat` and `lon` are never read [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Coord { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 20 | lat: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | lon: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coord` 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 `id`, `main`, and `icon` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct Weather { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 26 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | main: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | description: String, [INFO] [stdout] 29 | 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: field `feels_like` is never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct CurrentWeatherMain { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 34 | temp: f32, [INFO] [stdout] 35 | feels_like: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrentWeatherMain` 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 `coord` is never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct CurrentWeather { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 40 | coord: Coord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrentWeather` 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 34.42s [INFO] running `Command { std: "docker" "inspect" "8964fe162475fb080d427b65c3ffc553bed959f62455352b815511ad9f930074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8964fe162475fb080d427b65c3ffc553bed959f62455352b815511ad9f930074", kill_on_drop: false }` [INFO] [stdout] 8964fe162475fb080d427b65c3ffc553bed959f62455352b815511ad9f930074 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d36ca228a72286402ee92069a172ae9b6df6259d22f8aa3a78503a0367531a3 [INFO] running `Command { std: "docker" "start" "-a" "4d36ca228a72286402ee92069a172ae9b6df6259d22f8aa3a78503a0367531a3", kill_on_drop: false }` [INFO] [stderr] Compiling weather-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | for (key, value) in std::env::vars() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let method = match args.days { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut api_key: Option = None; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lat` and `lon` are never read [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Coord { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 20 | lat: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | lon: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coord` 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 `id`, `main`, and `icon` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct Weather { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 26 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | main: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | description: String, [INFO] [stdout] 29 | 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: field `feels_like` is never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct CurrentWeatherMain { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 34 | temp: f32, [INFO] [stdout] 35 | feels_like: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrentWeatherMain` 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 `coord` is never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct CurrentWeather { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 40 | coord: Coord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrentWeather` 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 1.04s [INFO] running `Command { std: "docker" "inspect" "4d36ca228a72286402ee92069a172ae9b6df6259d22f8aa3a78503a0367531a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d36ca228a72286402ee92069a172ae9b6df6259d22f8aa3a78503a0367531a3", kill_on_drop: false }` [INFO] [stdout] 4d36ca228a72286402ee92069a172ae9b6df6259d22f8aa3a78503a0367531a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7d71410e82e9a8cd7e293703f383c5b082fed925eaf05d0409f3249c13519e15 [INFO] running `Command { std: "docker" "start" "-a" "7d71410e82e9a8cd7e293703f383c5b082fed925eaf05d0409f3249c13519e15", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/main.rs:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | for (key, value) in std::env::vars() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `method` [INFO] [stderr] --> src/main.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | let method = match args.days { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | let mut api_key: Option = None; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `lat` and `lon` are never read [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 19 | struct Coord { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 20 | lat: f32, [INFO] [stderr] | ^^^ [INFO] [stderr] 21 | lon: f32, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Coord` 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 `id`, `main`, and `icon` are never read [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 25 | struct Weather { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 26 | id: u32, [INFO] [stderr] | ^^ [INFO] [stderr] 27 | main: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 28 | description: String, [INFO] [stderr] 29 | 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: field `feels_like` is never read [INFO] [stderr] --> src/main.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 33 | struct CurrentWeatherMain { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 34 | temp: f32, [INFO] [stderr] 35 | feels_like: f32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CurrentWeatherMain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `coord` is never read [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 39 | struct CurrentWeather { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 40 | coord: Coord, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CurrentWeather` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `weather-cli` (bin "weather-cli" test) generated 7 warnings (run `cargo fix --bin "weather-cli" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/weather_cli-d8269b643bd42d22) [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" "7d71410e82e9a8cd7e293703f383c5b082fed925eaf05d0409f3249c13519e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d71410e82e9a8cd7e293703f383c5b082fed925eaf05d0409f3249c13519e15", kill_on_drop: false }` [INFO] [stdout] 7d71410e82e9a8cd7e293703f383c5b082fed925eaf05d0409f3249c13519e15