[INFO] cloning repository https://github.com/kacper-marzecki/digital-ocean-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kacper-marzecki/digital-ocean-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacper-marzecki%2Fdigital-ocean-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacper-marzecki%2Fdigital-ocean-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f4270a66e5a7729082f804fba1f03aa218d4cba [INFO] checking kacper-marzecki/digital-ocean-cli against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacper-marzecki%2Fdigital-ocean-cli" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kacper-marzecki/digital-ocean-cli on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kacper-marzecki/digital-ocean-cli [INFO] finished tweaking git repo https://github.com/kacper-marzecki/digital-ocean-cli [INFO] tweaked toml for git repo https://github.com/kacper-marzecki/digital-ocean-cli written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61fc702a64cd5b06b5369a29d88619b5837d2749ea70810bc59c64c2340757a2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "61fc702a64cd5b06b5369a29d88619b5837d2749ea70810bc59c64c2340757a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61fc702a64cd5b06b5369a29d88619b5837d2749ea70810bc59c64c2340757a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61fc702a64cd5b06b5369a29d88619b5837d2749ea70810bc59c64c2340757a2", kill_on_drop: false }` [INFO] [stdout] 61fc702a64cd5b06b5369a29d88619b5837d2749ea70810bc59c64c2340757a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5457e390db86de60c167c4aad950680781376eb1e6f439fa6b122d19cc9951d0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5457e390db86de60c167c4aad950680781376eb1e6f439fa6b122d19cc9951d0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.20 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking dirs-sys-next v0.1.1 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling envconfig_derive v0.6.0 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking rustyline v6.3.0 [INFO] [stderr] Checking ssh2 v0.8.3 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking envconfig v0.6.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking mieszkania-deployment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DropletNetwork`, `DropletNetworks` [INFO] [stdout] --> src/core/mod.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::api::{Droplet, DropletNetwork, DropletNetworks, Droplets}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as ReqError` [INFO] [stdout] --> src/core/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::{Error as ReqError, Method}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DropletNetwork`, `DropletNetworks` [INFO] [stdout] --> src/core/mod.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::api::{Droplet, DropletNetwork, DropletNetworks, Droplets}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as ReqError` [INFO] [stdout] --> src/core/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::{Error as ReqError, Method}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Ubuntu` is named the same as one of the variants of the type `DropletImage` [INFO] [stdout] --> src/config/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `DropletImage::Ubuntu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CoreOS` is named the same as one of the variants of the type `DropletImage` [INFO] [stdout] --> src/config/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | CoreOS => "coreos-stable", [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `DropletImage::CoreOS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/config/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stdout] | ------ matches any value [INFO] [stdout] 29 | CoreOS => "coreos-stable", [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `S1Cpu1Gb` is named the same as one of the variants of the type `DropletSize` [INFO] [stdout] --> src/config/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `DropletSize::S1Cpu1Gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Ubuntu` [INFO] [stdout] --> src/config/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ubuntu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `CoreOS` [INFO] [stdout] --> src/config/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | CoreOS => "coreos-stable", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_CoreOS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `S1Cpu1Gb` [INFO] [stdout] --> src/config/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_S1Cpu1Gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/core/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let response = api::call_do( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/error/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | fn from(err: std::io::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/error/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | fn from(err: serde_json::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Ubuntu` is named the same as one of the variants of the type `DropletImage` [INFO] [stdout] --> src/config/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `DropletImage::Ubuntu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CoreOS` is named the same as one of the variants of the type `DropletImage` [INFO] [stdout] --> src/config/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | CoreOS => "coreos-stable", [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `DropletImage::CoreOS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/config/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stdout] | ------ matches any value [INFO] [stdout] 29 | CoreOS => "coreos-stable", [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `S1Cpu1Gb` is named the same as one of the variants of the type `DropletSize` [INFO] [stdout] --> src/config/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `DropletSize::S1Cpu1Gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Ubuntu` [INFO] [stdout] --> src/config/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ubuntu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `CoreOS` [INFO] [stdout] --> src/config/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | CoreOS => "coreos-stable", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_CoreOS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `S1Cpu1Gb` [INFO] [stdout] --> src/config/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_S1Cpu1Gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/core/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let response = api::call_do( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/error/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | fn from(err: std::io::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/error/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | fn from(err: serde_json::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DropletImage` [INFO] [stdout] --> src/config/mod.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | enum DropletImage { [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: `slug` [INFO] [stdout] --> src/config/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn slug(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DropletSize` [INFO] [stdout] --> src/config/mod.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | enum DropletSize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slug` [INFO] [stdout] --> src/config/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn slug(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ssh_authenticate` [INFO] [stdout] --> src/core/mod.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn ssh_authenticate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | show_help(); [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: variable `Ubuntu` should have a snake case name [INFO] [stdout] --> src/config/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ubuntu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CoreOS` should have a snake case name [INFO] [stdout] --> src/config/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | CoreOS => "coreos-stable", [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `core_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S1Cpu1Gb` should have a snake case name [INFO] [stdout] --> src/config/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `s1_cpu1_gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DropletImage` [INFO] [stdout] --> src/config/mod.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | enum DropletImage { [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: `slug` [INFO] [stdout] --> src/config/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn slug(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DropletSize` [INFO] [stdout] --> src/config/mod.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | enum DropletSize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slug` [INFO] [stdout] --> src/config/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn slug(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ssh_authenticate` [INFO] [stdout] --> src/core/mod.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn ssh_authenticate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | show_help(); [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: variable `Ubuntu` should have a snake case name [INFO] [stdout] --> src/config/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ubuntu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CoreOS` should have a snake case name [INFO] [stdout] --> src/config/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | CoreOS => "coreos-stable", [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `core_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S1Cpu1Gb` should have a snake case name [INFO] [stdout] --> src/config/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `s1_cpu1_gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "5457e390db86de60c167c4aad950680781376eb1e6f439fa6b122d19cc9951d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5457e390db86de60c167c4aad950680781376eb1e6f439fa6b122d19cc9951d0", kill_on_drop: false }` [INFO] [stdout] 5457e390db86de60c167c4aad950680781376eb1e6f439fa6b122d19cc9951d0