[INFO] fetching crate consul_rust 0.1.0...
[INFO] checking consul_rust-0.1.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate consul_rust 0.1.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate consul_rust 0.1.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate consul_rust 0.1.0
[INFO] finished tweaking crates.io crate consul_rust 0.1.0
[INFO] tweaked toml for crates.io crate consul_rust 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-core v0.1.18
[INFO] [stderr]   Downloaded try-lock v0.1.0
[INFO] [stderr]   Downloaded slab v0.3.0
[INFO] [stderr]   Downloaded take v0.1.0
[INFO] [stderr]   Downloaded want v0.0.4
[INFO] [stderr]   Downloaded relay v0.1.1
[INFO] [stderr]   Downloaded tokio-service v0.1.0
[INFO] [stderr]   Downloaded scoped-tls v0.1.2
[INFO] [stderr]   Downloaded tokio-proto v0.1.1
[INFO] [stderr]   Downloaded hyper v0.11.27
[INFO] [stderr]   Downloaded smallvec v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 85672c344a5871fc340d853cc78e5f6da767c8701b04604a08048eb348a6d7ff
[INFO] running `Command { std: "docker" "start" "-a" "85672c344a5871fc340d853cc78e5f6da767c8701b04604a08048eb348a6d7ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "85672c344a5871fc340d853cc78e5f6da767c8701b04604a08048eb348a6d7ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85672c344a5871fc340d853cc78e5f6da767c8701b04604a08048eb348a6d7ff", kill_on_drop: false }`
[INFO] [stdout] 85672c344a5871fc340d853cc78e5f6da767c8701b04604a08048eb348a6d7ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb958b7ffd693439759459ab014edd18037c71681898d37655783b29eb489db3
[INFO] running `Command { std: "docker" "start" "-a" "fb958b7ffd693439759459ab014edd18037c71681898d37655783b29eb489db3", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking take v0.1.0
[INFO] [stderr]     Checking try-lock v0.1.0
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking smallvec v0.2.1
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-service v0.1.0
[INFO] [stderr]     Checking relay v0.1.1
[INFO] [stderr]     Checking want v0.0.4
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking tokio-proto v0.1.1
[INFO] [stderr]     Checking hyper v0.11.27
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]     Checking consul_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/api/client.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn new_client(mut config: Config) -> Result<Client>;
[INFO] [stdout]    |                   ^^^^^^^^^^ help: remove `mut` from the parameter: `config`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout]    = note: `#[deny(patterns_in_fns_without_body)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/api/health.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | extern crate serde_json;
[INFO] [stdout]   | ------------------------ the item `serde_json` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/api/query.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         /// Add X-Consul-Token header
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 88 | //    todo    if self.token != "" { query.insert("X-Consul-Token", vec![self.token]) }
[INFO] [stdout] 89 |         query
[INFO] [stdout]    |         ----- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]  --> src/api/error.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/api/client.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn new_client(mut config: Config) -> Result<Client>;
[INFO] [stdout]    |                   ^^^^^^^^^^ help: remove `mut` from the parameter: `config`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout]    = note: `#[deny(patterns_in_fns_without_body)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/api/health.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | extern crate serde_json;
[INFO] [stdout]   | ------------------------ the item `serde_json` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/api/query.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         /// Add X-Consul-Token header
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 88 | //    todo    if self.token != "" { query.insert("X-Consul-Token", vec![self.token]) }
[INFO] [stdout] 89 |         query
[INFO] [stdout]    |         ----- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]  --> src/api/error.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_client` found for struct `api::client::Client` in the current scope
[INFO] [stdout]    --> src/api/client.rs:115:23
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct Client {
[INFO] [stdout]     | ----------------- function or associated item `new_client` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 115 |         match Client::new_client(config) {
[INFO] [stdout]     |                       ^^^^^^^^^^ function or associated item not found in `Client`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Request` which provides `new_client` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 104 +     use api::client::Request;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_client` found for struct `api::client::Client` in the current scope
[INFO] [stdout]    --> src/api/client.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct Client {
[INFO] [stdout]     | ----------------- function or associated item `new_client` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |         match Client::new_client(config) {
[INFO] [stdout]     |                       ^^^^^^^^^^ function or associated item not found in `Client`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Request` which provides `new_client` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 104 +     use api::client::Request;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:56:36
[INFO] [stdout]    |
[INFO] [stdout] 56 |             ref e => f.write_str(e.description()),
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         self.description() == other.description()
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:63:37
[INFO] [stdout]    |
[INFO] [stdout] 63 |         self.description() == other.description()
[INFO] [stdout]    |                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:56:36
[INFO] [stdout]    |
[INFO] [stdout] 56 |             ref e => f.write_str(e.description()),
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         self.description() == other.description()
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:63:37
[INFO] [stdout]    |
[INFO] [stdout] 63 |         self.description() == other.description()
[INFO] [stdout]    |                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mock_response`
[INFO] [stdout]   --> src/api/health.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let mock_response = "[{\"Node\":{\"ID\":\"84c28160-1ce1-4eff-a0d8-c1161785553d\",\
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mock_response`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/error.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn from(err: io::Error) -> Error {
[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/api/error.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn from(err: io::Error) -> Error {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_AUTH_ENV_NAME` is never used
[INFO] [stdout]  --> src/api/constants.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const HTTP_AUTH_ENV_NAME: &'static str = "CONSUL_HTTP_AUTH";
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_SSL_ENV_NAME` is never used
[INFO] [stdout]  --> src/api/constants.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const HTTP_SSL_ENV_NAME: &'static str = "CONSUL_HTTP_SSL";
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_CA_FILE` is never used
[INFO] [stdout]   --> src/api/constants.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const HTTP_CA_FILE: &'static str = "CONSUL_CACERT";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTT_PCA_PATH` is never used
[INFO] [stdout]   --> src/api/constants.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const HTT_PCA_PATH: &'static str = "CONSUL_CAPATH";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_CLIENT_CERT` is never used
[INFO] [stdout]   --> src/api/constants.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const HTTP_CLIENT_CERT: &'static str = "CONSUL_CLIENT_CERT";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_CLIENT_KEY` is never used
[INFO] [stdout]   --> src/api/constants.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const HTTP_CLIENT_KEY: &'static str = "CONSUL_CLIENT_KEY";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_TLS_SERVER_NAME` is never used
[INFO] [stdout]   --> src/api/constants.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const HTTP_TLS_SERVER_NAME: &'static str = "CONSUL_TLS_SERVER_NAME";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_SSL_VERIFY_ENV_NAME` is never used
[INFO] [stdout]   --> src/api/constants.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const HTTP_SSL_VERIFY_ENV_NAME: &'static str = "CONSUL_HTTP_SSL_VERIFY";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `consul_rust` (lib test) due to 4 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `consul_rust` (lib) due to 2 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fb958b7ffd693439759459ab014edd18037c71681898d37655783b29eb489db3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb958b7ffd693439759459ab014edd18037c71681898d37655783b29eb489db3", kill_on_drop: false }`
[INFO] [stdout] fb958b7ffd693439759459ab014edd18037c71681898d37655783b29eb489db3
[INFO] checking consul_rust-0.1.0 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate consul_rust 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate consul_rust 0.1.0 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate consul_rust 0.1.0
[INFO] finished tweaking crates.io crate consul_rust 0.1.0
[INFO] tweaked toml for crates.io crate consul_rust 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c39744a1b91d5d7402111440c16029a9a00c5344028ee30512517df6500ba504
[INFO] running `Command { std: "docker" "start" "-a" "c39744a1b91d5d7402111440c16029a9a00c5344028ee30512517df6500ba504", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c39744a1b91d5d7402111440c16029a9a00c5344028ee30512517df6500ba504", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c39744a1b91d5d7402111440c16029a9a00c5344028ee30512517df6500ba504", kill_on_drop: false }`
[INFO] [stdout] c39744a1b91d5d7402111440c16029a9a00c5344028ee30512517df6500ba504
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8f5d16f6e9c91cacf122e10853619010cb6009b0d62f0d4af10c6d471dfd5556
[INFO] running `Command { std: "docker" "start" "-a" "8f5d16f6e9c91cacf122e10853619010cb6009b0d62f0d4af10c6d471dfd5556", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]     Checking take v0.1.0
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking smallvec v0.2.1
[INFO] [stderr]     Checking try-lock v0.1.0
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-service v0.1.0
[INFO] [stderr]     Checking relay v0.1.1
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking want v0.0.4
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking tokio-proto v0.1.1
[INFO] [stderr]     Checking hyper v0.11.27
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]     Checking consul_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/api/client.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn new_client(mut config: Config) -> Result<Client>;
[INFO] [stdout]    |                   ^^^^^^^^^^ help: remove `mut` from the parameter: `config`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout]    = note: `#[deny(patterns_in_fns_without_body)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/api/health.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | extern crate serde_json;
[INFO] [stdout]   | ------------------------ the item `serde_json` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/api/query.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         /// Add X-Consul-Token header
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 88 | //    todo    if self.token != "" { query.insert("X-Consul-Token", vec![self.token]) }
[INFO] [stdout] 89 |         query
[INFO] [stdout]    |         ----- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]  --> src/api/error.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/api/client.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn new_client(mut config: Config) -> Result<Client>;
[INFO] [stdout]    |                   ^^^^^^^^^^ help: remove `mut` from the parameter: `config`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout]    = note: `#[deny(patterns_in_fns_without_body)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/api/health.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | extern crate serde_json;
[INFO] [stdout]   | ------------------------ the item `serde_json` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/api/query.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         /// Add X-Consul-Token header
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 88 | //    todo    if self.token != "" { query.insert("X-Consul-Token", vec![self.token]) }
[INFO] [stdout] 89 |         query
[INFO] [stdout]    |         ----- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]  --> src/api/error.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_client` found for struct `api::client::Client` in the current scope
[INFO] [stdout]    --> src/api/client.rs:115:23
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct Client {
[INFO] [stdout]     | ----------------- function or associated item `new_client` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 115 |         match Client::new_client(config) {
[INFO] [stdout]     |                       ^^^^^^^^^^ function or associated item not found in `Client`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Request` which provides `new_client` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 104 +     use api::client::Request;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_client` found for struct `api::client::Client` in the current scope
[INFO] [stdout]    --> src/api/client.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct Client {
[INFO] [stdout]     | ----------------- function or associated item `new_client` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |         match Client::new_client(config) {
[INFO] [stdout]     |                       ^^^^^^^^^^ function or associated item not found in `Client`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Request` which provides `new_client` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 104 +     use api::client::Request;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:56:36
[INFO] [stdout]    |
[INFO] [stdout] 56 |             ref e => f.write_str(e.description()),
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         self.description() == other.description()
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:63:37
[INFO] [stdout]    |
[INFO] [stdout] 63 |         self.description() == other.description()
[INFO] [stdout]    |                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:56:36
[INFO] [stdout]    |
[INFO] [stdout] 56 |             ref e => f.write_str(e.description()),
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         self.description() == other.description()
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/api/error.rs:63:37
[INFO] [stdout]    |
[INFO] [stdout] 63 |         self.description() == other.description()
[INFO] [stdout]    |                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/error.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn from(err: io::Error) -> Error {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_AUTH_ENV_NAME` is never used
[INFO] [stdout]  --> src/api/constants.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const HTTP_AUTH_ENV_NAME: &'static str = "CONSUL_HTTP_AUTH";
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_SSL_ENV_NAME` is never used
[INFO] [stdout]  --> src/api/constants.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const HTTP_SSL_ENV_NAME: &'static str = "CONSUL_HTTP_SSL";
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_CA_FILE` is never used
[INFO] [stdout]   --> src/api/constants.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const HTTP_CA_FILE: &'static str = "CONSUL_CACERT";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTT_PCA_PATH` is never used
[INFO] [stdout]   --> src/api/constants.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const HTT_PCA_PATH: &'static str = "CONSUL_CAPATH";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_CLIENT_CERT` is never used
[INFO] [stdout]   --> src/api/constants.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const HTTP_CLIENT_CERT: &'static str = "CONSUL_CLIENT_CERT";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_CLIENT_KEY` is never used
[INFO] [stdout]   --> src/api/constants.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const HTTP_CLIENT_KEY: &'static str = "CONSUL_CLIENT_KEY";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_TLS_SERVER_NAME` is never used
[INFO] [stdout]   --> src/api/constants.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const HTTP_TLS_SERVER_NAME: &'static str = "CONSUL_TLS_SERVER_NAME";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_SSL_VERIFY_ENV_NAME` is never used
[INFO] [stdout]   --> src/api/constants.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const HTTP_SSL_VERIFY_ENV_NAME: &'static str = "CONSUL_HTTP_SSL_VERIFY";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mock_response`
[INFO] [stdout]   --> src/api/health.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let mock_response = "[{\"Node\":{\"ID\":\"84c28160-1ce1-4eff-a0d8-c1161785553d\",\
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mock_response`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `consul_rust` (lib) due to 2 previous errors; 15 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/error.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn from(err: io::Error) -> Error {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `consul_rust` (lib test) due to 4 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8f5d16f6e9c91cacf122e10853619010cb6009b0d62f0d4af10c6d471dfd5556", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f5d16f6e9c91cacf122e10853619010cb6009b0d62f0d4af10c6d471dfd5556", kill_on_drop: false }`
[INFO] [stdout] 8f5d16f6e9c91cacf122e10853619010cb6009b0d62f0d4af10c6d471dfd5556
