[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 try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacper-marzecki%2Fdigital-ocean-cli" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kacper-marzecki/digital-ocean-cli on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a998287d4b0faa500bf4575c1fa57e0480e62b8fc0427d1d0b3e8e593e385c1d [INFO] running `Command { std: "docker" "start" "-a" "a998287d4b0faa500bf4575c1fa57e0480e62b8fc0427d1d0b3e8e593e385c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a998287d4b0faa500bf4575c1fa57e0480e62b8fc0427d1d0b3e8e593e385c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a998287d4b0faa500bf4575c1fa57e0480e62b8fc0427d1d0b3e8e593e385c1d", kill_on_drop: false }` [INFO] [stdout] a998287d4b0faa500bf4575c1fa57e0480e62b8fc0427d1d0b3e8e593e385c1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 663b83192bbdf3e8eb28f361fb25aeba901248d3bd855550adba1036ef80ff00 [INFO] running `Command { std: "docker" "start" "-a" "663b83192bbdf3e8eb28f361fb25aeba901248d3bd855550adba1036ef80ff00", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling gimli v0.27.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling object v0.30.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rustyline v6.3.0 [INFO] [stderr] Compiling ssh2 v0.8.3 [INFO] [stderr] Compiling envconfig_derive v0.6.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling envconfig v0.6.0 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-tls v0.3.1 [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)]` 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 `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: `#[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 `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] | ^^^^^^ 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 `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: `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 `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] = note: `#[warn(dead_code)]` on by default [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: associated function `slug` is never used [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: associated function `slug` is never used [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 `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)]` on by default [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 4m 20s [INFO] running `Command { std: "docker" "inspect" "663b83192bbdf3e8eb28f361fb25aeba901248d3bd855550adba1036ef80ff00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "663b83192bbdf3e8eb28f361fb25aeba901248d3bd855550adba1036ef80ff00", kill_on_drop: false }` [INFO] [stdout] 663b83192bbdf3e8eb28f361fb25aeba901248d3bd855550adba1036ef80ff00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 370688c8aec6097f7c3666f5db73133cb18cd9c4d4b3f20d532f12583bfd880e [INFO] running `Command { std: "docker" "start" "-a" "370688c8aec6097f7c3666f5db73133cb18cd9c4d4b3f20d532f12583bfd880e", kill_on_drop: false }` [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)]` 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 `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: `#[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 `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] | ^^^^^^ 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 `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: `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 `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] = note: `#[warn(dead_code)]` on by default [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: associated function `slug` is never used [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: associated function `slug` is never used [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 `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)]` on by default [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 test [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "370688c8aec6097f7c3666f5db73133cb18cd9c4d4b3f20d532f12583bfd880e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "370688c8aec6097f7c3666f5db73133cb18cd9c4d4b3f20d532f12583bfd880e", kill_on_drop: false }` [INFO] [stdout] 370688c8aec6097f7c3666f5db73133cb18cd9c4d4b3f20d532f12583bfd880e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c185e27cb068ae020774988bc8d8a18f641507aa4407db2b73fea3a3ff26a3d [INFO] running `Command { std: "docker" "start" "-a" "9c185e27cb068ae020774988bc8d8a18f641507aa4407db2b73fea3a3ff26a3d", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DropletNetwork`, `DropletNetworks` [INFO] [stderr] --> src/core/mod.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::api::{Droplet, DropletNetwork, DropletNetworks, Droplets}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error as ReqError` [INFO] [stderr] --> src/core/mod.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use reqwest::{Error as ReqError, Method}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `Ubuntu` is named the same as one of the variants of the type `config::DropletImage` [INFO] [stderr] --> src/config/mod.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stderr] | ^^^^^^ help: to match on the variant, qualify the path: `config::DropletImage::Ubuntu` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `CoreOS` is named the same as one of the variants of the type `config::DropletImage` [INFO] [stderr] --> src/config/mod.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | CoreOS => "coreos-stable", [INFO] [stderr] | ^^^^^^ help: to match on the variant, qualify the path: `config::DropletImage::CoreOS` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/config/mod.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stderr] | ------ matches any value [INFO] [stderr] 29 | CoreOS => "coreos-stable", [INFO] [stderr] | ^^^^^^ unreachable pattern [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `S1Cpu1Gb` is named the same as one of the variants of the type `config::DropletSize` [INFO] [stderr] --> src/config/mod.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stderr] | ^^^^^^^^ help: to match on the variant, qualify the path: `config::DropletSize::S1Cpu1Gb` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `Ubuntu` [INFO] [stderr] --> src/config/mod.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ubuntu` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `CoreOS` [INFO] [stderr] --> src/config/mod.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | CoreOS => "coreos-stable", [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_CoreOS` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `S1Cpu1Gb` [INFO] [stderr] --> src/config/mod.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_S1Cpu1Gb` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/core/mod.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | let response = api::call_do( [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/error/mod.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | fn from(err: std::io::Error) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/error/mod.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | fn from(err: serde_json::Error) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: enum `DropletImage` is never used [INFO] [stderr] --> src/config/mod.rs:20:6 [INFO] [stderr] | [INFO] [stderr] 20 | enum DropletImage { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum `DropletSize` is never used [INFO] [stderr] --> src/config/mod.rs:35:6 [INFO] [stderr] | [INFO] [stderr] 35 | enum DropletSize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `slug` is never used [INFO] [stderr] --> src/config/mod.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn slug(&self) -> String { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `slug` is never used [INFO] [stderr] --> src/config/mod.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | fn slug(&self) -> String { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ssh_authenticate` is never used [INFO] [stderr] --> src/core/mod.rs:116:4 [INFO] [stderr] | [INFO] [stderr] 116 | fn ssh_authenticate( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | show_help(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `Ubuntu` should have a snake case name [INFO] [stderr] --> src/config/mod.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | Ubuntu => "ubuntu-18-04-x64", [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ubuntu` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `CoreOS` should have a snake case name [INFO] [stderr] --> src/config/mod.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | CoreOS => "coreos-stable", [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `core_os` [INFO] [stderr] [INFO] [stderr] warning: variable `S1Cpu1Gb` should have a snake case name [INFO] [stderr] --> src/config/mod.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | S1Cpu1Gb => "s-1vcpu-1gb", [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `s1_cpu1_gb` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0170`. [INFO] [stderr] warning: `mieszkania-deployment` (bin "mieszkania-deployment" test) generated 22 warnings (run `cargo fix --bin "mieszkania-deployment" --tests` to apply 11 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mieszkania_deployment-16b1847dce7fd844) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c185e27cb068ae020774988bc8d8a18f641507aa4407db2b73fea3a3ff26a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c185e27cb068ae020774988bc8d8a18f641507aa4407db2b73fea3a3ff26a3d", kill_on_drop: false }` [INFO] [stdout] 9c185e27cb068ae020774988bc8d8a18f641507aa4407db2b73fea3a3ff26a3d