[INFO] crate consul_rust 0.1.0 is already in cache [INFO] extracting crate consul_rust 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/consul_rust/0.1.0 [INFO] extracting crate consul_rust 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/consul_rust/0.1.0 [INFO] validating manifest of consul_rust-0.1.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of consul_rust-0.1.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing consul_rust-0.1.0 [INFO] finished frobbing consul_rust-0.1.0 [INFO] frobbed toml for consul_rust-0.1.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/consul_rust/0.1.0/Cargo.toml [INFO] started frobbing consul_rust-0.1.0 [INFO] finished frobbing consul_rust-0.1.0 [INFO] frobbed toml for consul_rust-0.1.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/consul_rust/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing consul_rust-0.1.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/consul_rust/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 58112f39e4edb3c4e904f6fd2da2303d76a9e86cbb9e6b6684b2921b632b16c3 [INFO] running `"docker" "start" "-a" "58112f39e4edb3c4e904f6fd2da2303d76a9e86cbb9e6b6684b2921b632b16c3"` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling consul_rust v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/api/query.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | /// Add X-Consul-Token header [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 88 | // todo if self.token != "" { query.insert("X-Consul-Token", vec![self.token]) } [INFO] [stderr] 89 | query [INFO] [stderr] | ----- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_doc_comments)] on by default [INFO] [stderr] [INFO] [stderr] warning: patterns aren't allowed in methods without bodies [INFO] [stderr] --> src/api/client.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | fn new_client(mut config: Config) -> Result; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(patterns_in_fns_without_body)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #35203 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/api/error.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | fn from(err: io::Error) -> Error { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `HTTP_AUTH_ENV_NAME` [INFO] [stderr] --> src/api/constants.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | pub const HTTP_AUTH_ENV_NAME: &'static str = "CONSUL_HTTP_AUTH"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `HTTP_SSL_ENV_NAME` [INFO] [stderr] --> src/api/constants.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub const HTTP_SSL_ENV_NAME: &'static str = "CONSUL_HTTP_SSL"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `HTTP_CA_FILE` [INFO] [stderr] --> src/api/constants.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub const HTTP_CA_FILE: &'static str = "CONSUL_CACERT"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `HTT_PCA_PATH` [INFO] [stderr] --> src/api/constants.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | pub const HTT_PCA_PATH: &'static str = "CONSUL_CAPATH"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `HTTP_CLIENT_CERT` [INFO] [stderr] --> src/api/constants.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub const HTTP_CLIENT_CERT: &'static str = "CONSUL_CLIENT_CERT"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `HTTP_CLIENT_KEY` [INFO] [stderr] --> src/api/constants.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | pub const HTTP_CLIENT_KEY: &'static str = "CONSUL_CLIENT_KEY"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `HTTP_TLS_SERVER_NAME` [INFO] [stderr] --> src/api/constants.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | pub const HTTP_TLS_SERVER_NAME: &'static str = "CONSUL_TLS_SERVER_NAME"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `HTTP_SSL_VERIFY_ENV_NAME` [INFO] [stderr] --> src/api/constants.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub const HTTP_SSL_VERIFY_ENV_NAME: &'static str = "CONSUL_HTTP_SSL_VERIFY"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.92s [INFO] running `"docker" "inspect" "58112f39e4edb3c4e904f6fd2da2303d76a9e86cbb9e6b6684b2921b632b16c3"` [INFO] running `"docker" "rm" "-f" "58112f39e4edb3c4e904f6fd2da2303d76a9e86cbb9e6b6684b2921b632b16c3"` [INFO] [stdout] 58112f39e4edb3c4e904f6fd2da2303d76a9e86cbb9e6b6684b2921b632b16c3 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/consul_rust/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] a40cc4e6062f254a036e6bd2aa1c287f8d15b54c49b6dbe5c13053faf05b7f5b [INFO] running `"docker" "start" "-a" "a40cc4e6062f254a036e6bd2aa1c287f8d15b54c49b6dbe5c13053faf05b7f5b"` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling consul_rust v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/api/query.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | /// Add X-Consul-Token header [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 88 | // todo if self.token != "" { query.insert("X-Consul-Token", vec![self.token]) } [INFO] [stderr] 89 | query [INFO] [stderr] | ----- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_doc_comments)] on by default [INFO] [stderr] [INFO] [stderr] warning: patterns aren't allowed in methods without bodies [INFO] [stderr] --> src/api/client.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | fn new_client(mut config: Config) -> Result; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(patterns_in_fns_without_body)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #35203 [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_client` found for type `api::client::Client` in the current scope [INFO] [stderr] --> src/api/client.rs:115:23 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Client { [INFO] [stderr] | ----------------- function or associated item `new_client` not found for this [INFO] [stderr] ... [INFO] [stderr] 115 | match Client::new_client(config) { [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `api::client::Client` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use api::client::Request;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_client` found for type `api::client::Client` in the current scope [INFO] [stderr] --> src/api/client.rs:128:23 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Client { [INFO] [stderr] | ----------------- function or associated item `new_client` not found for this [INFO] [stderr] ... [INFO] [stderr] 128 | match Client::new_client(config) { [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `api::client::Client` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use api::client::Request;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: Could not compile `consul_rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a40cc4e6062f254a036e6bd2aa1c287f8d15b54c49b6dbe5c13053faf05b7f5b"` [INFO] running `"docker" "rm" "-f" "a40cc4e6062f254a036e6bd2aa1c287f8d15b54c49b6dbe5c13053faf05b7f5b"` [INFO] [stdout] a40cc4e6062f254a036e6bd2aa1c287f8d15b54c49b6dbe5c13053faf05b7f5b