[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 beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacper-marzecki%2Fdigital-ocean-cli" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kacper-marzecki/digital-ocean-cli on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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" "+beta-2020-07-24" "fetch" "--locked" "--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 wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.17 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.67 [INFO] [stderr] Downloaded dirs-next v1.0.1 [INFO] [stderr] Downloaded js-sys v0.3.44 [INFO] [stderr] Downloaded utf8parse v0.2.0 [INFO] [stderr] Downloaded web-sys v0.3.44 [INFO] [stderr] Downloaded dirs-sys-next v0.1.0 [INFO] [stderr] Downloaded envconfig_derive v0.6.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.67 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.67 [INFO] [stderr] Downloaded rustyline v6.2.0 [INFO] [stderr] Downloaded libssh2-sys v0.2.18 [INFO] [stderr] Downloaded ssh2 v0.8.2 [INFO] [stderr] Downloaded envconfig v0.6.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee333efc9fdc565ca6ec078ac558bbf85641216e482e036c19e9cdeb47fa3fef [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" "ee333efc9fdc565ca6ec078ac558bbf85641216e482e036c19e9cdeb47fa3fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee333efc9fdc565ca6ec078ac558bbf85641216e482e036c19e9cdeb47fa3fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee333efc9fdc565ca6ec078ac558bbf85641216e482e036c19e9cdeb47fa3fef", kill_on_drop: false }` [INFO] [stdout] ee333efc9fdc565ca6ec078ac558bbf85641216e482e036c19e9cdeb47fa3fef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b2bd99783c21fba435b93441d1337fd6ee4446e3590e666a12b669a685f8a35 [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" "8b2bd99783c21fba435b93441d1337fd6ee4446e3590e666a12b669a685f8a35", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libssh2-sys v0.2.18 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling dirs-next v1.0.1 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling envconfig_derive v0.6.0 [INFO] [stderr] Compiling ssh2 v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling rustyline v6.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling envconfig v0.6.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.7 [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 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 2m 38s [INFO] running `Command { std: "docker" "inspect" "8b2bd99783c21fba435b93441d1337fd6ee4446e3590e666a12b669a685f8a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b2bd99783c21fba435b93441d1337fd6ee4446e3590e666a12b669a685f8a35", kill_on_drop: false }` [INFO] [stdout] 8b2bd99783c21fba435b93441d1337fd6ee4446e3590e666a12b669a685f8a35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 565c25a6e3fa60ddb4f4ba87ad51dbc97e244544a9a5d1a69b57769ffeb1dfd4 [INFO] running `Command { std: "docker" "start" "-a" "565c25a6e3fa60ddb4f4ba87ad51dbc97e244544a9a5d1a69b57769ffeb1dfd4", 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 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 test [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "565c25a6e3fa60ddb4f4ba87ad51dbc97e244544a9a5d1a69b57769ffeb1dfd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565c25a6e3fa60ddb4f4ba87ad51dbc97e244544a9a5d1a69b57769ffeb1dfd4", kill_on_drop: false }` [INFO] [stdout] 565c25a6e3fa60ddb4f4ba87ad51dbc97e244544a9a5d1a69b57769ffeb1dfd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ccdac171f458799311217934fa746c0f0e2ecc755f88185f80f2c972d0b829f [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" "4ccdac171f458799311217934fa746c0f0e2ecc755f88185f80f2c972d0b829f", 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 is never used: `DropletImage` [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: associated function is never used: `slug` [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: enum is never used: `DropletSize` [INFO] [stderr] --> src/config/mod.rs:35:6 [INFO] [stderr] | [INFO] [stderr] 35 | enum DropletSize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `slug` [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 is never used: `ssh_authenticate` [INFO] [stderr] --> src/core/mod.rs:116:4 [INFO] [stderr] | [INFO] [stderr] 116 | fn ssh_authenticate( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [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] warning: 22 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0170`. [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mieszkania_deployment-c7fee1cba42e4c55 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ccdac171f458799311217934fa746c0f0e2ecc755f88185f80f2c972d0b829f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ccdac171f458799311217934fa746c0f0e2ecc755f88185f80f2c972d0b829f", kill_on_drop: false }` [INFO] [stdout] 4ccdac171f458799311217934fa746c0f0e2ecc755f88185f80f2c972d0b829f