[INFO] cloning repository https://github.com/nhannht/ncov-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nhannht/ncov-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhannht%2Fncov-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhannht%2Fncov-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50a53e7ac13820a6024053ede54bf7906a9453b8 [INFO] building nhannht/ncov-cli against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhannht%2Fncov-cli" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nhannht/ncov-cli on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nhannht/ncov-cli [INFO] finished tweaking git repo https://github.com/nhannht/ncov-cli [INFO] tweaked toml for git repo https://github.com/nhannht/ncov-cli written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/nhannht/ncov-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b88f0bd1b4079e9484b1a447ffcd6cd4f8ac0f0008182491384f5a08085746dd [INFO] running `Command { std: "docker" "start" "-a" "b88f0bd1b4079e9484b1a447ffcd6cd4f8ac0f0008182491384f5a08085746dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b88f0bd1b4079e9484b1a447ffcd6cd4f8ac0f0008182491384f5a08085746dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b88f0bd1b4079e9484b1a447ffcd6cd4f8ac0f0008182491384f5a08085746dd", kill_on_drop: false }` [INFO] [stdout] b88f0bd1b4079e9484b1a447ffcd6cd4f8ac0f0008182491384f5a08085746dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dce398db42fcf0a5080a3d7ce3b5f0ba8a634eb55c3ea383aed4780763fd3b0f [INFO] running `Command { std: "docker" "start" "-a" "dce398db42fcf0a5080a3d7ce3b5f0ba8a634eb55c3ea383aed4780763fd3b0f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling enum-map-derive v0.6.0 [INFO] [stderr] Compiling enum-map v1.1.1 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling enumset_derive v0.5.5 [INFO] [stderr] Compiling enumset v1.0.7 [INFO] [stderr] Compiling cursive_core v0.3.0-alpha.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling cursive v0.17.0-alpha.0 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling ncov-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CursiveRunnable`, `Cursive` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::{Cursive, CursiveExt, CursiveRunnable}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursive::event::Key::Esc` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cursive::event::Key::Esc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursive::view::Nameable` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cursive::view::Nameable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `Dialog`, `DummyView`, `EditView`, `LinearLayout`, `ScrollView`, `SelectView`, `TextContent`, `TextView` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use cursive::views::{Button, Dialog, DummyView, EditView, LinearLayout, ScrollView, SelectView, TextContent, TextView}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SELECTED_CONTINENT`, `SELECT_COUNTRIES` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data::domain::{SELECT_COUNTRIES, SELECTED_CONTINENT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body`, `Client`, `Error`, `Response` [INFO] [stdout] --> src/service/http.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::{Body, Client, Error, Response}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/service/http.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `With` [INFO] [stdout] --> src/tui/siv.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::{Cursive, CursiveRunnable, With}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `DummyView`, `TextContent` [INFO] [stdout] --> src/tui/siv.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use cursive::views::{Button, Dialog, DummyView, LinearLayout, NamedView, ResizedView, ScrollView, SelectView, TextContent, TextView}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/tui/siv.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let death_and_recovered = ((continent.deaths / continent.recovered) * 100.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - let death_and_recovered = ((continent.deaths / continent.recovered) * 100.0); [INFO] [stdout] 42 + let death_and_recovered = (continent.deaths / continent.recovered) * 100.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/tui/siv.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | let death_and_recovered = ((country.deaths / country.recovered) * 100.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - let death_and_recovered = ((country.deaths / country.recovered) * 100.0); [INFO] [stdout] 78 + let death_and_recovered = (country.deaths / country.recovered) * 100.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CursiveExt` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::{Cursive, CursiveExt, CursiveRunnable}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fetch_data_continent` [INFO] [stdout] --> src/service/http.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn fetch_data_continent() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayCases` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) todayCases: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `today_cases` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayDeaths` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) todayDeaths: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `today_deaths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayRecovered` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) todayRecovered: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `today_recovered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `casesPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | casesPerOneMillion: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cases_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deathsPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | deathsPerOneMillion: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deaths_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `testsPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | testsPerOneMillion: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tests_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `activePerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | activePerOneMillion: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `active_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `recoveredPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | recoveredPerOneMillion: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recovered_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `criticalPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | criticalPerOneMillion: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `critical_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `countryInfo` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | countryInfo: CountryInfo, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `country_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayCases` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) todayCases: u32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `today_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayDeaths` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) todayDeaths: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `today_deaths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayRecovered` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) todayRecovered:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `today_recovered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `casesPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | casesPerOneMillion: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cases_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deathsPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | deathsPerOneMillion: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deaths_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `testsPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | testsPerOneMillion: u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tests_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "dce398db42fcf0a5080a3d7ce3b5f0ba8a634eb55c3ea383aed4780763fd3b0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce398db42fcf0a5080a3d7ce3b5f0ba8a634eb55c3ea383aed4780763fd3b0f", kill_on_drop: false }` [INFO] [stdout] dce398db42fcf0a5080a3d7ce3b5f0ba8a634eb55c3ea383aed4780763fd3b0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dce3b04c103fb15e8ee51c480856f6e7989b67e6d3ed7c6f197cf476ed750d0b [INFO] running `Command { std: "docker" "start" "-a" "dce3b04c103fb15e8ee51c480856f6e7989b67e6d3ed7c6f197cf476ed750d0b", kill_on_drop: false }` [INFO] [stderr] Compiling ncov-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CursiveRunnable`, `Cursive` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::{Cursive, CursiveExt, CursiveRunnable}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursive::event::Key::Esc` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cursive::event::Key::Esc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursive::view::Nameable` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cursive::view::Nameable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `Dialog`, `DummyView`, `EditView`, `LinearLayout`, `ScrollView`, `SelectView`, `TextContent`, `TextView` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use cursive::views::{Button, Dialog, DummyView, EditView, LinearLayout, ScrollView, SelectView, TextContent, TextView}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SELECTED_CONTINENT`, `SELECT_COUNTRIES` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data::domain::{SELECT_COUNTRIES, SELECTED_CONTINENT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body`, `Client`, `Error`, `Response` [INFO] [stdout] --> src/service/http.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::{Body, Client, Error, Response}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/service/http.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `With` [INFO] [stdout] --> src/tui/siv.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::{Cursive, CursiveRunnable, With}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `DummyView`, `TextContent` [INFO] [stdout] --> src/tui/siv.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use cursive::views::{Button, Dialog, DummyView, LinearLayout, NamedView, ResizedView, ScrollView, SelectView, TextContent, TextView}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/tui/siv.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let death_and_recovered = ((continent.deaths / continent.recovered) * 100.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - let death_and_recovered = ((continent.deaths / continent.recovered) * 100.0); [INFO] [stdout] 42 + let death_and_recovered = (continent.deaths / continent.recovered) * 100.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/tui/siv.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | let death_and_recovered = ((country.deaths / country.recovered) * 100.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - let death_and_recovered = ((country.deaths / country.recovered) * 100.0); [INFO] [stdout] 78 + let death_and_recovered = (country.deaths / country.recovered) * 100.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CursiveExt` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::{Cursive, CursiveExt, CursiveRunnable}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fetch_data_continent` [INFO] [stdout] --> src/service/http.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn fetch_data_continent() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayCases` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) todayCases: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `today_cases` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayDeaths` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) todayDeaths: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `today_deaths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayRecovered` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) todayRecovered: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `today_recovered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `casesPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | casesPerOneMillion: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cases_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deathsPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | deathsPerOneMillion: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deaths_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `testsPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | testsPerOneMillion: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tests_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `activePerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | activePerOneMillion: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `active_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `recoveredPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | recoveredPerOneMillion: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recovered_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `criticalPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | criticalPerOneMillion: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `critical_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `countryInfo` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | countryInfo: CountryInfo, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `country_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayCases` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) todayCases: u32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `today_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayDeaths` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) todayDeaths: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `today_deaths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `todayRecovered` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) todayRecovered:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `today_recovered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `casesPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | casesPerOneMillion: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cases_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deathsPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | deathsPerOneMillion: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deaths_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `testsPerOneMillion` should have a snake case name [INFO] [stdout] --> src/data/domain.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | testsPerOneMillion: u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tests_per_one_million` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.65s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/ncov_cli-a519ac76a5036ac1) [INFO] running `Command { std: "docker" "inspect" "dce3b04c103fb15e8ee51c480856f6e7989b67e6d3ed7c6f197cf476ed750d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce3b04c103fb15e8ee51c480856f6e7989b67e6d3ed7c6f197cf476ed750d0b", kill_on_drop: false }` [INFO] [stdout] dce3b04c103fb15e8ee51c480856f6e7989b67e6d3ed7c6f197cf476ed750d0b