[INFO] cloning repository https://github.com/webbrandon/cluster-cost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/webbrandon/cluster-cost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebbrandon%2Fcluster-cost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebbrandon%2Fcluster-cost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e0ec09df01f3f01eadcfe11ec18998715df010c [INFO] checking webbrandon/cluster-cost against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebbrandon%2Fcluster-cost" "/workspace/builds/worker-92/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-92/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/webbrandon/cluster-cost on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/webbrandon/cluster-cost [INFO] finished tweaking git repo https://github.com/webbrandon/cluster-cost [INFO] tweaked toml for git repo https://github.com/webbrandon/cluster-cost written to /workspace/builds/worker-92/source/Cargo.toml [INFO] crate git repo https://github.com/webbrandon/cluster-cost already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sys-info v0.5.10 [INFO] [stderr] Downloaded run_script v0.6.2 [INFO] [stderr] Downloaded fsio v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0624b6767a17f878a62e892eaaada2d969c68643cfba6bc84d550bcd6ea36eee [INFO] running `Command { std: "docker" "start" "-a" "0624b6767a17f878a62e892eaaada2d969c68643cfba6bc84d550bcd6ea36eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0624b6767a17f878a62e892eaaada2d969c68643cfba6bc84d550bcd6ea36eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0624b6767a17f878a62e892eaaada2d969c68643cfba6bc84d550bcd6ea36eee", kill_on_drop: false }` [INFO] [stdout] 0624b6767a17f878a62e892eaaada2d969c68643cfba6bc84d550bcd6ea36eee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68e2c35bd3c8423768a556380db010af7f8b95fa6e95d5524108005581feaa96 [INFO] running `Command { std: "docker" "start" "-a" "68e2c35bd3c8423768a556380db010af7f8b95fa6e95d5524108005581feaa96", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] itoa v0.4.5 (as host dependency): default, std [INFO] [stderr] serde v1.0.104 (as host dependency): derive, serde_derive [INFO] [stderr] tokio v0.2.13: winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.16 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking aho-corasick v0.7.9 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bytestring v0.1.4 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling backtrace-sys v0.1.33 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling sys-info v0.5.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking users v0.9.1 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking fsio v0.1.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking run_script v0.6.2 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking dialoguer v0.5.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling derive_more v0.99.3 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling structopt-derive v0.4.4 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking actix-threadpool v0.3.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Compiling structopt v0.3.11 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking actix-service v1.0.5 [INFO] [stderr] Checking h2 v0.2.2 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking actix-rt v1.0.0 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking actix-server v1.0.2 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Checking actix-testing v1.0.0 [INFO] [stderr] Checking actix-connect v1.0.2 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Compiling cluster-cost v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/build.rs from 2018 edition to 2021 [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Fixed src/command_control/cmd_model/mod.rs (2 fixes) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/build.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/build.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/config_file/mod.rs (2 fixes) [INFO] [stderr] Fixed src/config_file/handler/configuration.rs (1 fix) [INFO] [stderr] Fixed src/command_control/mod.rs (1 fix) [INFO] [stderr] Fixed src/daemon/mod.rs (7 fixes) [INFO] [stderr] Fixed src/toolbelt/table/mod.rs (2 fixes) [INFO] [stderr] Fixed src/config_file/handler/generate.rs (1 fix) [INFO] [stdout] warning: associated function is never used: `set_error` [INFO] [stdout] --> src/daemon/response.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_error(&mut self, val: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json_with_error` [INFO] [stdout] --> src/daemon/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn to_json_with_error(error: String) -> ClusterCostResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/cluster/run.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(cmd: &str, dry_run: bool, verbose: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_options` [INFO] [stdout] --> src/cluster/run.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_options() -> ScriptOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process` [INFO] [stdout] --> src/cluster/run.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn process(command: String, dry_run: bool, verbose: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cost/handler/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> CostCalulator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_exit_on_error` [INFO] [stdout] --> src/toolbelt/cmdln/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_exit_on_error(&mut self, toggle: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_with_title` [INFO] [stdout] --> src/toolbelt/table/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn print_with_title(&mut self, title: &str, table: Table, response: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prompt_user/model/prompt_bool.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> PromptBool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_question` [INFO] [stdout] --> src/prompt_user/model/prompt_bool.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn set_question(mut self, question: &str) -> PromptBool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prompt_user/model/prompt_value.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> PromptValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_name` [INFO] [stdout] --> src/prompt_user/model/prompt_value.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_name(mut self, context: &str) -> PromptValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_options` [INFO] [stdout] --> src/prompt_user/model/prompt_value.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_options(mut self, options: Option>) -> PromptValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_default` [INFO] [stdout] --> src/prompt_user/model/prompt_value.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_default(mut self, default: &str) -> PromptValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prompt_user/model/prompt_input.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> PromptInput { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_name` [INFO] [stdout] --> src/prompt_user/model/prompt_input.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_name(mut self, name: &str) -> PromptInput { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_default` [INFO] [stdout] --> src/prompt_user/model/prompt_input.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn set_default(mut self, default: &str) -> PromptInput { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prompt_user/model/prompt_options.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> PromptOptions { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_name` [INFO] [stdout] --> src/prompt_user/model/prompt_options.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_name(mut self, name: &str) -> PromptOptions { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_options` [INFO] [stdout] --> src/prompt_user/model/prompt_options.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_options(mut self, options: &[String]) -> PromptOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_default` [INFO] [stdout] --> src/prompt_user/model/prompt_options.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_default(mut self, default: &str) -> PromptOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> src/prompt_user/handler/prompt_bool.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn process(prompt: &PromptBool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask_bool` [INFO] [stdout] --> src/prompt_user/handler/prompt_bool.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn ask_bool( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> src/prompt_user/handler/prompt_value.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn process(prompt: &PromptValue) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask_with_options` [INFO] [stdout] --> src/prompt_user/handler/prompt_value.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn ask_with_options( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> src/prompt_user/handler/prompt_input.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn process(prompt: &PromptInput) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask_input` [INFO] [stdout] --> src/prompt_user/handler/prompt_input.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn ask_input( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> src/prompt_user/handler/prompt_options.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn process(prompt: &PromptOptions) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask_with_options` [INFO] [stdout] --> src/prompt_user/handler/prompt_options.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn ask_with_options( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ... cluster_print::ClusterPrintRunner::run(&analysis).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_error` [INFO] [stdout] --> src/daemon/response.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_error(&mut self, val: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json_with_error` [INFO] [stdout] --> src/daemon/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn to_json_with_error(error: String) -> ClusterCostResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/cluster/run.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(cmd: &str, dry_run: bool, verbose: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_options` [INFO] [stdout] --> src/cluster/run.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_options() -> ScriptOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process` [INFO] [stdout] --> src/cluster/run.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn process(command: String, dry_run: bool, verbose: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cost/handler/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> CostCalulator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_exit_on_error` [INFO] [stdout] --> src/toolbelt/cmdln/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_exit_on_error(&mut self, toggle: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_with_title` [INFO] [stdout] --> src/toolbelt/table/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn print_with_title(&mut self, title: &str, table: Table, response: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prompt_user/model/prompt_bool.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> PromptBool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_question` [INFO] [stdout] --> src/prompt_user/model/prompt_bool.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn set_question(mut self, question: &str) -> PromptBool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prompt_user/model/prompt_value.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> PromptValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_name` [INFO] [stdout] --> src/prompt_user/model/prompt_value.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_name(mut self, context: &str) -> PromptValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_options` [INFO] [stdout] --> src/prompt_user/model/prompt_value.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_options(mut self, options: Option>) -> PromptValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_default` [INFO] [stdout] --> src/prompt_user/model/prompt_value.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_default(mut self, default: &str) -> PromptValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prompt_user/model/prompt_input.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> PromptInput { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_name` [INFO] [stdout] --> src/prompt_user/model/prompt_input.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_name(mut self, name: &str) -> PromptInput { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_default` [INFO] [stdout] --> src/prompt_user/model/prompt_input.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn set_default(mut self, default: &str) -> PromptInput { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prompt_user/model/prompt_options.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> PromptOptions { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_name` [INFO] [stdout] --> src/prompt_user/model/prompt_options.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_name(mut self, name: &str) -> PromptOptions { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_options` [INFO] [stdout] --> src/prompt_user/model/prompt_options.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_options(mut self, options: &[String]) -> PromptOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_default` [INFO] [stdout] --> src/prompt_user/model/prompt_options.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_default(mut self, default: &str) -> PromptOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> src/prompt_user/handler/prompt_bool.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn process(prompt: &PromptBool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask_bool` [INFO] [stdout] --> src/prompt_user/handler/prompt_bool.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn ask_bool( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> src/prompt_user/handler/prompt_value.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn process(prompt: &PromptValue) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask_with_options` [INFO] [stdout] --> src/prompt_user/handler/prompt_value.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn ask_with_options( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> src/prompt_user/handler/prompt_input.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn process(prompt: &PromptInput) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask_input` [INFO] [stdout] --> src/prompt_user/handler/prompt_input.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn ask_input( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> src/prompt_user/handler/prompt_options.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn process(prompt: &PromptOptions) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask_with_options` [INFO] [stdout] --> src/prompt_user/handler/prompt_options.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn ask_with_options( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ... cluster_print::ClusterPrintRunner::run(&analysis).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 37s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking actix-rt v1.0.0 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking h2 v0.2.2 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-server v1.0.2 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Checking actix-testing v1.0.0 [INFO] [stderr] Compiling cluster-cost v0.1.0 (/tmp/fixit) [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/build.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/build.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `cmdctl::CmdCtl` in the current scope [INFO] [stdout] --> src/build.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | let mut app = CmdCtl::clap(); [INFO] [stdout] | ^^^^ function or associated item not found in `cmdctl::CmdCtl` [INFO] [stdout] | [INFO] [stdout] ::: src/command_control/cmd_model/cmdctl.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CmdCtl { [INFO] [stdout] | ----------------- function or associated item `clap` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structopt::StructOpt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cluster-cost` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "68e2c35bd3c8423768a556380db010af7f8b95fa6e95d5524108005581feaa96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e2c35bd3c8423768a556380db010af7f8b95fa6e95d5524108005581feaa96", kill_on_drop: false }` [INFO] [stdout] 68e2c35bd3c8423768a556380db010af7f8b95fa6e95d5524108005581feaa96