[INFO] cloning repository https://github.com/QuackitsQuinn/Terminal-Weather [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/QuackitsQuinn/Terminal-Weather" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuackitsQuinn%2FTerminal-Weather", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuackitsQuinn%2FTerminal-Weather'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4b2a233810b6adab249e82ab0d4d4a881af36e2 [INFO] checking QuackitsQuinn/Terminal-Weather against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuackitsQuinn%2FTerminal-Weather" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/QuackitsQuinn/Terminal-Weather on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/QuackitsQuinn/Terminal-Weather [INFO] finished tweaking git repo https://github.com/QuackitsQuinn/Terminal-Weather [INFO] tweaked toml for git repo https://github.com/QuackitsQuinn/Terminal-Weather written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/QuackitsQuinn/Terminal-Weather 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.106 [INFO] [stderr] Downloaded rustix v0.37.21 [INFO] [stderr] Downloaded syn v2.0.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e0acb9b1879ac1f1267cdf5dc9b62a4cdcb61e44f5f8b4ccad94f11943f273f [INFO] running `Command { std: "docker" "start" "-a" "2e0acb9b1879ac1f1267cdf5dc9b62a4cdcb61e44f5f8b4ccad94f11943f273f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e0acb9b1879ac1f1267cdf5dc9b62a4cdcb61e44f5f8b4ccad94f11943f273f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e0acb9b1879ac1f1267cdf5dc9b62a4cdcb61e44f5f8b4ccad94f11943f273f", kill_on_drop: false }` [INFO] [stdout] 2e0acb9b1879ac1f1267cdf5dc9b62a4cdcb61e44f5f8b4ccad94f11943f273f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9b6cd9c20ce49d53f2d5a9000ad88ff2e074154a7aa84a247d99b56dc56663b [INFO] running `Command { std: "docker" "start" "-a" "f9b6cd9c20ce49d53f2d5a9000ad88ff2e074154a7aa84a247d99b56dc56663b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking winnow v0.5.15 [INFO] [stderr] Compiling serde_json v1.0.106 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling syn v2.0.33 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.20.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking toml v0.8.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking term_weather v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/conf.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/responses/ip_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/responses/ip_response.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/conf.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/responses/ip_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/responses/ip_response.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_PATH` is never used [INFO] [stdout] --> src/conf.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const CONFIG_PATH: &str = "~/.term-weather.toml"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `open_weather_key`, `location`, `is_location_ip_based`, and `units` are never read [INFO] [stdout] --> src/conf.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | /// The API key for OpenWeatherMap [INFO] [stdout] 7 | pub open_weather_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | /// The location to get the weather for [INFO] [stdout] 9 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | /// If true, the location is based on an IP address, will be updated each run [INFO] [stdout] 11 | pub is_location_ip_based: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | /// The units to use for the weather [INFO] [stdout] 13 | pub units: Units [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Configuration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Metric` is never constructed [INFO] [stdout] --> src/units.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Units { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 4 | Imperial, [INFO] [stdout] 5 | Metric, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Units` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ip_geolocation_url` is never used [INFO] [stdout] --> src/endpoints.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_ip_geolocation_url() -> Endpoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_weather_url` is never used [INFO] [stdout] --> src/endpoints.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_weather_url() -> Endpoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_qp`, and `builder` are never used [INFO] [stdout] --> src/endpoint.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Endpoint { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 10 | /// Create a new endpoint with no query parameters [INFO] [stdout] 11 | pub fn new(url: &str, method: &str) -> Endpoint { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new_qp(url: &str, method: &str, query_params: Vec) -> Endpoint { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn builder(&self, client: &Client) -> RequestBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `country`, `region_name`, `city`, `lat`, and `lon` are never read [INFO] [stdout] --> src/responses/ip_response.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct IpResponse { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | #[serde(alias="regionName")] [INFO] [stdout] 11 | pub region_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub city: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub lat: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub lon: f32 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/responses/ip_response.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl IpResponse { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 18 | pub async fn new(client: &Client) -> IpResponse { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_PATH` is never used [INFO] [stdout] --> src/conf.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const CONFIG_PATH: &str = "~/.term-weather.toml"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `open_weather_key`, `location`, `is_location_ip_based`, and `units` are never read [INFO] [stdout] --> src/conf.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | /// The API key for OpenWeatherMap [INFO] [stdout] 7 | pub open_weather_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | /// The location to get the weather for [INFO] [stdout] 9 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | /// If true, the location is based on an IP address, will be updated each run [INFO] [stdout] 11 | pub is_location_ip_based: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | /// The units to use for the weather [INFO] [stdout] 13 | pub units: Units [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Configuration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Metric` is never constructed [INFO] [stdout] --> src/units.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Units { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 4 | Imperial, [INFO] [stdout] 5 | Metric, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Units` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_weather_url` is never used [INFO] [stdout] --> src/endpoints.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_weather_url() -> Endpoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/endpoint.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Endpoint { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | /// Create a new endpoint with no query parameters [INFO] [stdout] 11 | pub fn new(url: &str, method: &str) -> Endpoint { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `country`, `region_name`, `city`, `lat`, and `lon` are never read [INFO] [stdout] --> src/responses/ip_response.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct IpResponse { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | #[serde(alias="regionName")] [INFO] [stdout] 11 | pub region_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub city: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub lat: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub lon: f32 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.27s [INFO] running `Command { std: "docker" "inspect" "f9b6cd9c20ce49d53f2d5a9000ad88ff2e074154a7aa84a247d99b56dc56663b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b6cd9c20ce49d53f2d5a9000ad88ff2e074154a7aa84a247d99b56dc56663b", kill_on_drop: false }` [INFO] [stdout] f9b6cd9c20ce49d53f2d5a9000ad88ff2e074154a7aa84a247d99b56dc56663b