[INFO] crate consul_rust 0.1.0 is already in cache [INFO] checking consul_rust-0.1.0 against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] extracting crate consul_rust 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate consul_rust 0.1.0 on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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] c6d4ff19446c026644c8f6e4e0801e8e8acf1a3617a06cf9ff776b0b34adf126 [INFO] running `"docker" "start" "-a" "c6d4ff19446c026644c8f6e4e0801e8e8acf1a3617a06cf9ff776b0b34adf126"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde v1.0.109 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking want v0.0.4 [INFO] [stderr] Checking relay v0.1.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [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.6 [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] Compiling serde_derive v1.0.109 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking consul_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: patterns aren't allowed in functions 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] 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 functions 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] 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[E0599]: no function or associated item named `new_client` found for struct `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 struct `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] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/api/error.rs:56:36 [INFO] [stderr] | [INFO] [stderr] 56 | ref e => f.write_str(e.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/api/error.rs:63:14 [INFO] [stderr] | [INFO] [stderr] 63 | self.description() == other.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/api/error.rs:63:37 [INFO] [stderr] | [INFO] [stderr] 63 | self.description() == other.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/api/error.rs:56:36 [INFO] [stderr] | [INFO] [stderr] 56 | ref e => f.write_str(e.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `consul_rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/api/error.rs:63:14 [INFO] [stderr] | [INFO] [stderr] 63 | self.description() == other.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/api/error.rs:63:37 [INFO] [stderr] | [INFO] [stderr] 63 | self.description() == other.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 4 warnings emitted [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" "c6d4ff19446c026644c8f6e4e0801e8e8acf1a3617a06cf9ff776b0b34adf126"` [INFO] running `"docker" "rm" "-f" "c6d4ff19446c026644c8f6e4e0801e8e8acf1a3617a06cf9ff776b0b34adf126"` [INFO] [stdout] c6d4ff19446c026644c8f6e4e0801e8e8acf1a3617a06cf9ff776b0b34adf126