[INFO] crate consul_rust 0.1.0 is already in cache [INFO] checking consul_rust-0.1.0 against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] extracting crate consul_rust 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate consul_rust 0.1.0 on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 837d244bc46ee7f72f9881461ff7eda30addaacb178d989286c171b1c37f4f1b [INFO] running `"docker" "start" "-a" "837d244bc46ee7f72f9881461ff7eda30addaacb178d989286c171b1c37f4f1b"` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking consul_rust v0.1.0 (/opt/rustwide/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: 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] error: 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: `#[deny(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: 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: `#[deny(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 previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `consul_rust`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 3 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" "837d244bc46ee7f72f9881461ff7eda30addaacb178d989286c171b1c37f4f1b"` [INFO] running `"docker" "rm" "-f" "837d244bc46ee7f72f9881461ff7eda30addaacb178d989286c171b1c37f4f1b"` [INFO] [stdout] 837d244bc46ee7f72f9881461ff7eda30addaacb178d989286c171b1c37f4f1b