[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] testing kacper-marzecki/digital-ocean-cli against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacper-marzecki%2Fdigital-ocean-cli" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kacper-marzecki/digital-ocean-cli on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 187 packages to latest compatible versions [INFO] [stderr] Adding envconfig v0.6.0 (available: v0.11.0) [INFO] [stderr] Adding envconfig_derive v0.6.0 (available: v0.11.0) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.23) [INFO] [stderr] Adding rustyline v6.3.0 (available: v17.0.1) [INFO] [stderr] Adding ssh2 v0.8.3 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded lock_api v0.3.4 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded parking_lot_core v0.7.3 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded wit-bindgen v0.46.0 [INFO] [stderr] Downloaded ssh2 v0.8.3 [INFO] [stderr] Downloaded addr2line v0.25.1 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded tracing-futures v0.2.5 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.26 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded security-framework v2.11.1 [INFO] [stderr] Downloaded backtrace v0.3.76 [INFO] [stderr] Downloaded wasip2 v1.0.1+wasi-0.2.4 [INFO] [stderr] Downloaded bumpalo v3.19.0 [INFO] [stderr] Downloaded rustyline v6.3.0 [INFO] [stderr] Downloaded unicode-width v0.1.14 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded libz-sys v1.1.22 [INFO] [stderr] Downloaded web-sys v0.3.81 [INFO] [stderr] Downloaded r-efi v5.3.0 [INFO] [stderr] Downloaded tokio v0.2.25 [INFO] [stderr] Downloaded js-sys v0.3.81 [INFO] [stderr] Downloaded pin-project v1.1.10 [INFO] [stderr] Downloaded socket2 v0.3.19 [INFO] [stderr] Downloaded miow v0.2.2 [INFO] [stderr] Downloaded hermit-abi v0.5.2 [INFO] [stderr] Downloaded num_cpus v1.17.0 [INFO] [stderr] Downloaded winreg v0.7.0 [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded windows-sys v0.61.1 [INFO] [stderr] Downloaded mio v0.6.23 [INFO] [stderr] Downloaded reqwest v0.10.10 [INFO] [stderr] Downloaded h2 v0.2.7 [INFO] [stderr] Downloaded base64 v0.13.1 [INFO] [stderr] Downloaded autocfg v1.5.0 [INFO] [stderr] Downloaded object v0.37.3 [INFO] [stderr] Downloaded indexmap v1.9.3 [INFO] [stderr] Downloaded gimli v0.32.3 [INFO] [stderr] Downloaded envconfig v0.6.0 [INFO] [stderr] Downloaded envconfig_derive v0.6.0 [INFO] [stderr] Downloaded http-body v0.3.1 [INFO] [stderr] Downloaded httpdate v0.3.2 [INFO] [stderr] Downloaded pin-project-internal v1.1.10 [INFO] [stderr] Downloaded wasi v0.14.7+wasi-0.2.4 [INFO] [stderr] Downloaded lazy_static v1.5.0 [INFO] [stderr] Downloaded net2 v0.2.39 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.54 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded unicode-segmentation v1.12.0 [INFO] [stderr] Downloaded libssh2-sys v0.2.23 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded iovec v0.1.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.69 [INFO] [stderr] Downloaded thiserror v1.0.69 [INFO] [stderr] Downloaded dirs-sys-next v0.1.2 [INFO] [stderr] Downloaded serde_json v1.0.145 [INFO] [stderr] Downloaded core-foundation v0.9.4 [INFO] [stderr] Downloaded bytes v0.5.6 [INFO] [stderr] Downloaded pin-project-lite v0.1.12 [INFO] [stderr] Downloaded tokio-tls v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Downloaded rustversion v1.0.22 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen v0.2.104 [INFO] [stderr] Downloaded wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded redox_users v0.4.6 [INFO] [stderr] Downloaded nix v0.18.0 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded tokio-util v0.3.1 [INFO] [stderr] Downloaded hyper v0.13.10 [INFO] [stderr] Downloaded hyper-tls v0.4.3 [INFO] [stderr] Downloaded windows-link v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d54ba864168b544b47ebe16d10c17aebdc14c8104480a1ef5bc5aa9a47e31a2a [INFO] running `Command { std: "docker" "start" "-a" "d54ba864168b544b47ebe16d10c17aebdc14c8104480a1ef5bc5aa9a47e31a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d54ba864168b544b47ebe16d10c17aebdc14c8104480a1ef5bc5aa9a47e31a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d54ba864168b544b47ebe16d10c17aebdc14c8104480a1ef5bc5aa9a47e31a2a", kill_on_drop: false }` [INFO] [stdout] d54ba864168b544b47ebe16d10c17aebdc14c8104480a1ef5bc5aa9a47e31a2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24b851c34a66cb66f63fb13112ff1523191412a4521f893924a1cbc05616291c [INFO] running `Command { std: "docker" "start" "-a" "24b851c34a66cb66f63fb13112ff1523191412a4521f893924a1cbc05616291c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling envconfig_derive v0.6.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling envconfig v0.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rustyline v6.3.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling ssh2 v0.8.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DropletNetwork` and `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] error[E0170]: pattern binding `Ubuntu` is named the same as one of the variants of the type `config::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: `config::DropletImage::Ubuntu` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `CoreOS` is named the same as one of the variants of the type `config::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: `config::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] | ^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 28 | _Ubuntu => "ubuntu-18-04-x64", [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Ubuntu` [INFO] [stdout] | [INFO] [stdout] 28 | config::DropletImage::Ubuntu => "ubuntu-18-04-x64", [INFO] [stdout] | ++++++++++++++++++++++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | _CoreOS => "coreos-stable", [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `CoreOS` [INFO] [stdout] | [INFO] [stdout] 29 | config::DropletImage::CoreOS => "coreos-stable", [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `S1Cpu1Gb` is named the same as one of the variants of the type `config::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: `config::DropletSize::S1Cpu1Gb` [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 42 | _S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `S1Cpu1Gb` [INFO] [stdout] | [INFO] [stdout] 42 | config::DropletSize::S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stdout] | +++++++++++++++++++++ [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: fields `size_slug`, `disk`, `status`, and `networks` are never read [INFO] [stdout] --> src/api/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Droplet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub size_slug: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub disk: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub networks: DropletNetworks, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Droplet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip_address`, `netmask`, `gateway`, and `type` are never read [INFO] [stdout] --> src/api/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct DropletNetwork { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 18 | pub ip_address: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub netmask: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub gateway: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropletNetwork` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `v4` is never read [INFO] [stdout] --> src/api/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DropletNetworks { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 26 | pub v4: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropletNetworks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DropletImage` is never used [INFO] [stdout] --> src/config/mod.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | enum DropletImage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slug` is never used [INFO] [stdout] --> src/config/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl DropletImage { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 26 | pub fn slug(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DropletSize` is never used [INFO] [stdout] --> src/config/mod.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | enum DropletSize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slug` is never used [INFO] [stdout] --> src/config/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl DropletSize { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 40 | fn slug(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ssh_authenticate` is never used [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 `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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = show_help(); [INFO] [stdout] | +++++++ [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)]` (part of `#[warn(nonstandard_style)]`) 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] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mieszkania-deployment` (bin "mieszkania-deployment") due to 3 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "24b851c34a66cb66f63fb13112ff1523191412a4521f893924a1cbc05616291c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24b851c34a66cb66f63fb13112ff1523191412a4521f893924a1cbc05616291c", kill_on_drop: false }` [INFO] [stdout] 24b851c34a66cb66f63fb13112ff1523191412a4521f893924a1cbc05616291c