[INFO] fetching crate consul_rust 0.1.0...
[INFO] testing consul_rust-0.1.0 against 1.69.0 for beta-1.70-1
[INFO] extracting crate consul_rust 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate consul_rust 0.1.0 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "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-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded smallvec v0.2.1
[INFO] [stderr]   Downloaded take v0.1.0
[INFO] [stderr]   Downloaded tokio-service v0.1.0
[INFO] [stderr]   Downloaded try-lock v0.1.0
[INFO] [stderr]   Downloaded relay v0.1.1
[INFO] [stderr]   Downloaded want v0.0.4
[INFO] [stderr]   Downloaded slab v0.3.0
[INFO] [stderr]   Downloaded tokio-proto v0.1.1
[INFO] [stderr]   Downloaded hyper v0.11.27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 56a7dbe5c38e4350976edfd49982e11ad03bb7123a7e2c230d6a6f538dcc8000
[INFO] running `Command { std: "docker" "start" "-a" "56a7dbe5c38e4350976edfd49982e11ad03bb7123a7e2c230d6a6f538dcc8000", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56a7dbe5c38e4350976edfd49982e11ad03bb7123a7e2c230d6a6f538dcc8000", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56a7dbe5c38e4350976edfd49982e11ad03bb7123a7e2c230d6a6f538dcc8000", kill_on_drop: false }`
[INFO] [stdout] 56a7dbe5c38e4350976edfd49982e11ad03bb7123a7e2c230d6a6f538dcc8000
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 50388ac34da8c7d353159aacbe3a14327253e74af01de89b5168519e6d541df6
[INFO] running `Command { std: "docker" "start" "-a" "50388ac34da8c7d353159aacbe3a14327253e74af01de89b5168519e6d541df6", 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]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling net2 v0.2.38
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling tokio-service v0.1.0
[INFO] [stderr]    Compiling try-lock v0.1.0
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling smallvec v0.2.1
[INFO] [stderr]    Compiling take v0.1.0
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling slab v0.3.0
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling want v0.0.4
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling relay v0.1.1
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling tokio-core v0.1.18
[INFO] [stderr]    Compiling tokio-proto v0.1.1
[INFO] [stderr]    Compiling hyper v0.11.27
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling consul_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 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: `#[warn(patterns_in_fns_without_body)]` 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: 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] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 21.60s
[INFO] running `Command { std: "docker" "inspect" "50388ac34da8c7d353159aacbe3a14327253e74af01de89b5168519e6d541df6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50388ac34da8c7d353159aacbe3a14327253e74af01de89b5168519e6d541df6", kill_on_drop: false }`
[INFO] [stdout] 50388ac34da8c7d353159aacbe3a14327253e74af01de89b5168519e6d541df6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97ecad939b4ca49a625700973d73840df69c2163c7c9b6053ba031573cc10a78
[INFO] running `Command { std: "docker" "start" "-a" "97ecad939b4ca49a625700973d73840df69c2163c7c9b6053ba031573cc10a78", 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] [stdout] warning: 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: `#[warn(patterns_in_fns_without_body)]` 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: 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] [stderr]    Compiling consul_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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: `#[warn(patterns_in_fns_without_body)]` 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] 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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for 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] error: aborting due to 2 previous errors; 5 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` due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "97ecad939b4ca49a625700973d73840df69c2163c7c9b6053ba031573cc10a78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97ecad939b4ca49a625700973d73840df69c2163c7c9b6053ba031573cc10a78", kill_on_drop: false }`
[INFO] [stdout] 97ecad939b4ca49a625700973d73840df69c2163c7c9b6053ba031573cc10a78
