[INFO] fetching crate consul_rust 0.1.0... [INFO] checking consul_rust-0.1.0 against beta for pr-78714 [INFO] extracting crate consul_rust 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate consul_rust 0.1.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 694931b46ba59e52fac85e8cb17feb10e99c5f491cd3ed9d9b42fc89ba93f145 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "694931b46ba59e52fac85e8cb17feb10e99c5f491cd3ed9d9b42fc89ba93f145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "694931b46ba59e52fac85e8cb17feb10e99c5f491cd3ed9d9b42fc89ba93f145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "694931b46ba59e52fac85e8cb17feb10e99c5f491cd3ed9d9b42fc89ba93f145", kill_on_drop: false }` [INFO] [stdout] 694931b46ba59e52fac85e8cb17feb10e99c5f491cd3ed9d9b42fc89ba93f145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9c3d9d47fa79e0673e50153dabf7acccaae62fa7249fa5d544080c80320cc69 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f9c3d9d47fa79e0673e50153dabf7acccaae62fa7249fa5d544080c80320cc69", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking try-lock v0.1.0 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking relay v0.1.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking want v0.0.4 [INFO] [stderr] Checking tokio-codec v0.1.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-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [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] [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; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [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 [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] = note: `#[warn(unused_doc_comments)]` on by default [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; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [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 [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [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 [INFO] [stdout] ... [INFO] [stdout] 115 | match Client::new_client(config) { [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `api::client::Client` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use api::client::Request;` [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 [INFO] [stdout] ... [INFO] [stdout] 128 | match Client::new_client(config) { [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `api::client::Client` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use api::client::Request;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f9c3d9d47fa79e0673e50153dabf7acccaae62fa7249fa5d544080c80320cc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9c3d9d47fa79e0673e50153dabf7acccaae62fa7249fa5d544080c80320cc69", kill_on_drop: false }` [INFO] [stdout] f9c3d9d47fa79e0673e50153dabf7acccaae62fa7249fa5d544080c80320cc69