[INFO] fetching crate gary-plugin-docker 0.0.2...
[INFO] building gary-plugin-docker-0.0.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] extracting crate gary-plugin-docker 0.0.2 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate gary-plugin-docker 0.0.2
[INFO] finished tweaking crates.io crate gary-plugin-docker 0.0.2
[INFO] tweaked toml for crates.io crate gary-plugin-docker 0.0.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate gary-plugin-docker 0.0.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 169 packages to latest compatible versions
[INFO] [stderr]       Adding bollard v0.3.3 (available: v0.19.3)
[INFO] [stderr]       Adding futures v0.1.31 (available: v0.3.31)
[INFO] [stderr]       Adding tokio v0.1.22 (available: v1.47.1)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hex v0.3.2
[INFO] [stderr]   Downloaded gary-core v0.0.1
[INFO] [stderr]   Downloaded hyperlocal v0.6.0
[INFO] [stderr]   Downloaded whoami v0.5.3
[INFO] [stderr]   Downloaded arrayvec v0.4.12
[INFO] [stderr]   Downloaded nodrop v0.1.14
[INFO] [stderr]   Downloaded bollard v0.3.3
[INFO] [stderr]   Downloaded serde_cbor v0.9.0
[INFO] [stderr]   Downloaded mio-named-pipes v0.1.7
[INFO] [stderr]   Downloaded yup-hyper-mock v3.15.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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 612e12de84e6c6f6b02487be9a353dcbdf346e6a6d4683964c43d512361d49c0
[INFO] running `Command { std: "docker" "start" "-a" "612e12de84e6c6f6b02487be9a353dcbdf346e6a6d4683964c43d512361d49c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "612e12de84e6c6f6b02487be9a353dcbdf346e6a6d4683964c43d512361d49c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "612e12de84e6c6f6b02487be9a353dcbdf346e6a6d4683964c43d512361d49c0", kill_on_drop: false }`
[INFO] [stdout] 612e12de84e6c6f6b02487be9a353dcbdf346e6a6d4683964c43d512361d49c0
[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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aefcb3bfe6414b285b31072bbb3ee0d3fb6d0b741dfcc75a8507c7e98697b3c8
[INFO] running `Command { std: "docker" "start" "-a" "aefcb3bfe6414b285b31072bbb3ee0d3fb6d0b741dfcc75a8507c7e98697b3c8", kill_on_drop: false }`
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling want v0.2.0
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling whoami v0.5.3
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling tokio-core v0.1.18
[INFO] [stderr]    Compiling hyper v0.12.36
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling yup-hyper-mock v3.15.0
[INFO] [stderr]    Compiling hyperlocal v0.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling serde_cbor v0.9.0
[INFO] [stderr]    Compiling bollard v0.3.3
[INFO] [stderr]    Compiling gary-core v0.0.1
[INFO] [stderr]    Compiling gary-plugin-docker v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `HostConfig`, `LogOutput`, and `LogsOptions`
[INFO] [stdout]  --> src/lib.rs:7:37
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Config, CreateContainerOptions, HostConfig, LogOutput, LogsOptions, StartContainerOptions,
[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 import: `futures::Future`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use futures::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::prelude::*`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/lib.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 77 | /         match results {
[INFO] [stdout] 78 | |             Ok(_) => return None,
[INFO] [stdout] 79 | |             Err(_) => return Some(RuntimeError::new(RuntimeErrorType::Unknown)),
[INFO] [stdout] 80 | |         }
[INFO] [stdout]    | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 81 |           return Some(RuntimeError::new(RuntimeErrorType::Unknown));
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut doc = Docker::connect_with_local_defaults().unwrap();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         id: String,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/lib.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         config: &RuntimeConfig,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/lib.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         options: &Option<SandboxConfig>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/lib.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let res = self.runner.block_on(
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:63:34
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn start_workload(&mut self, id: String) -> Option<RuntimeError> {
[INFO] [stdout]    |                                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn stop_workload(&self, id: String, timeout: i32) -> Option<RuntimeError> {
[INFO] [stdout]    |                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]   --> src/lib.rs:84:41
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn stop_workload(&self, id: String, timeout: i32) -> Option<RuntimeError> {
[INFO] [stdout]    |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:88:31
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn remove_workload(&self, id: String) -> Option<RuntimeError> {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:92:31
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn status_workload(&self, id: String) -> Result<WorkloadStatus, RuntimeError> {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         id: String,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rez`
[INFO] [stdout]    --> src/lib.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         rez: WorkloadResources,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_rez`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/lib.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         id: String,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/lib.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         cmd: &[String],
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]    --> src/lib.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |         timeout: i32,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.58s
[INFO] running `Command { std: "docker" "inspect" "aefcb3bfe6414b285b31072bbb3ee0d3fb6d0b741dfcc75a8507c7e98697b3c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aefcb3bfe6414b285b31072bbb3ee0d3fb6d0b741dfcc75a8507c7e98697b3c8", kill_on_drop: false }`
[INFO] [stdout] aefcb3bfe6414b285b31072bbb3ee0d3fb6d0b741dfcc75a8507c7e98697b3c8
[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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 984181d4043784e5faa9d45fcfd225b29470567b1bc7604371d5410df4626074
[INFO] running `Command { std: "docker" "start" "-a" "984181d4043784e5faa9d45fcfd225b29470567b1bc7604371d5410df4626074", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `HostConfig`, `LogOutput`, and `LogsOptions`
[INFO] [stdout]  --> src/lib.rs:7:37
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Config, CreateContainerOptions, HostConfig, LogOutput, LogsOptions, StartContainerOptions,
[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 import: `futures::Future`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use futures::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::prelude::*`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/lib.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 77 | /         match results {
[INFO] [stdout] 78 | |             Ok(_) => return None,
[INFO] [stdout] 79 | |             Err(_) => return Some(RuntimeError::new(RuntimeErrorType::Unknown)),
[INFO] [stdout] 80 | |         }
[INFO] [stdout]    | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 81 |           return Some(RuntimeError::new(RuntimeErrorType::Unknown));
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut doc = Docker::connect_with_local_defaults().unwrap();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling gary-plugin-docker v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         id: String,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/lib.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         config: &RuntimeConfig,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/lib.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         options: &Option<SandboxConfig>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/lib.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let res = self.runner.block_on(
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:63:34
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn start_workload(&mut self, id: String) -> Option<RuntimeError> {
[INFO] [stdout]    |                                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn stop_workload(&self, id: String, timeout: i32) -> Option<RuntimeError> {
[INFO] [stdout]    |                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]   --> src/lib.rs:84:41
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn stop_workload(&self, id: String, timeout: i32) -> Option<RuntimeError> {
[INFO] [stdout]    |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:88:31
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn remove_workload(&self, id: String) -> Option<RuntimeError> {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:92:31
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn status_workload(&self, id: String) -> Result<WorkloadStatus, RuntimeError> {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         id: String,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rez`
[INFO] [stdout]    --> src/lib.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         rez: WorkloadResources,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_rez`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/lib.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         id: String,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/lib.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         cmd: &[String],
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]    --> src/lib.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |         timeout: i32,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HostConfig`, `LogOutput`, and `LogsOptions`
[INFO] [stdout]  --> src/lib.rs:7:37
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Config, CreateContainerOptions, HostConfig, LogOutput, LogsOptions, StartContainerOptions,
[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 import: `futures::Future`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use futures::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::prelude::*`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/lib.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 77 | /         match results {
[INFO] [stdout] 78 | |             Ok(_) => return None,
[INFO] [stdout] 79 | |             Err(_) => return Some(RuntimeError::new(RuntimeErrorType::Unknown)),
[INFO] [stdout] 80 | |         }
[INFO] [stdout]    | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 81 |           return Some(RuntimeError::new(RuntimeErrorType::Unknown));
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut doc = Docker::connect_with_local_defaults().unwrap();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         id: String,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/lib.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         config: &RuntimeConfig,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/lib.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         options: &Option<SandboxConfig>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/lib.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let res = self.runner.block_on(
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:63:34
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn start_workload(&mut self, id: String) -> Option<RuntimeError> {
[INFO] [stdout]    |                                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn stop_workload(&self, id: String, timeout: i32) -> Option<RuntimeError> {
[INFO] [stdout]    |                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]   --> src/lib.rs:84:41
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn stop_workload(&self, id: String, timeout: i32) -> Option<RuntimeError> {
[INFO] [stdout]    |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:88:31
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn remove_workload(&self, id: String) -> Option<RuntimeError> {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:92:31
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn status_workload(&self, id: String) -> Result<WorkloadStatus, RuntimeError> {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/lib.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         id: String,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rez`
[INFO] [stdout]    --> src/lib.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         rez: WorkloadResources,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_rez`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/lib.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         id: String,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/lib.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         cmd: &[String],
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]    --> src/lib.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |         timeout: i32,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.78s
[INFO] running `Command { std: "docker" "inspect" "984181d4043784e5faa9d45fcfd225b29470567b1bc7604371d5410df4626074", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "984181d4043784e5faa9d45fcfd225b29470567b1bc7604371d5410df4626074", kill_on_drop: false }`
[INFO] [stdout] 984181d4043784e5faa9d45fcfd225b29470567b1bc7604371d5410df4626074
