[INFO] crate cli-es 0.1.0 is already in cache [INFO] checking cli-es-0.1.0 against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] extracting crate cli-es 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate cli-es 0.1.0 on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cli-es 0.1.0 [INFO] finished tweaking crates.io crate cli-es 0.1.0 [INFO] tweaked toml for crates.io crate cli-es 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate cli-es 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "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] 48de89037d524fe443bf93116f43034303647ce66114d6007e3e7c57a69fd26e [INFO] running `"docker" "start" "-a" "48de89037d524fe443bf93116f43034303647ce66114d6007e3e7c57a69fd26e"` [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Compiling anyhow v1.0.19 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking console v0.9.1 [INFO] [stderr] Checking dialoguer v0.5.0 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking isahc v0.7.6 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling structopt-derive v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.17 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking structopt v0.3.4 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking serde v1.0.102 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking surf v1.0.3 [INFO] [stderr] Checking cli-es v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/create.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | best_compression: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/create.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | name: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/create.rs:17:15 [INFO] [stderr] | [INFO] [stderr] 17 | replicas: Option, [INFO] [stderr] | ^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/create.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | shards: Option, [INFO] [stderr] | ^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/create.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | mappings_file: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/index/create.rs:86:1 [INFO] [stderr] | [INFO] [stderr] 86 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 87 | impl ApiCommand for Command { [INFO] [stderr] 88 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 89 | | let url = format!("{}/{}?pretty=true", &client.host, self.name); [INFO] [stderr] 90 | | surf::put(url) [INFO] [stderr] 91 | | .body_json(&Body::from(self))? [INFO] [stderr] 92 | | .recv_string() [INFO] [stderr] 93 | | .await [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/delete.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | name: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/index/delete.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 12 | impl ApiCommand for Command { [INFO] [stderr] 13 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 14 | | let confirmation_text = format!( [INFO] [stderr] 15 | | "Are you sure? Delete Index: `{}` on Host: `{}`", [INFO] [stderr] 16 | | self.name, &client.host [INFO] [stderr] ... | [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/info.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | name: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/index/info.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 12 | impl ApiCommand for Command { [INFO] [stderr] 13 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 14 | | surf::get(format!("{}/{}?pretty=true", &client.host, self.name)) [INFO] [stderr] 15 | | .recv_string() [INFO] [stderr] 16 | | .await [INFO] [stderr] 17 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/list.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | primary_shards_only: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/index/list.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 34 | impl ApiCommand for Command { [INFO] [stderr] 35 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 36 | | surf::get(format!("{}/_cat/indices", &client.host)) [INFO] [stderr] 37 | | .set_query(&Query::from(self))? [INFO] [stderr] 38 | | .recv_string() [INFO] [stderr] 39 | | .await [INFO] [stderr] 40 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/mod.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | primary_shards_only: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/mod.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | #[structopt(subcommand)] [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/index/mod.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 29 | impl ApiCommand for Request { [INFO] [stderr] 30 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 31 | | match self.command { [INFO] [stderr] 32 | | Some(action) => match action { [INFO] [stderr] 33 | | Create(command) => command.process(client).await, [INFO] [stderr] ... | [INFO] [stderr] 43 | | } [INFO] [stderr] 44 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/create.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | repository: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/create.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | name: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/create.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | wait_for_completion: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/repository/create.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | location: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/repository/create.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | name: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/snapshot/repository/create.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 38 | impl ApiCommand for Command { [INFO] [stderr] 39 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 40 | | let url = format!("{}/_snapshot/{}?pretty=true", &client.host, self.name); [INFO] [stderr] 41 | | surf::put(url) [INFO] [stderr] 42 | | .body_json(&Body::from(self))? [INFO] [stderr] 43 | | .recv_string() [INFO] [stderr] 44 | | .await [INFO] [stderr] 45 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/repository/list.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | repositories: Vec, [INFO] [stderr] | ^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/snapshot/repository/list.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 20 | impl ApiCommand for Command { [INFO] [stderr] 21 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 22 | | let url = format!("{}/_snapshot/_all?pretty=true", &client.host); [INFO] [stderr] 23 | | surf::get(url).recv_string().await [INFO] [stderr] 24 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/repository/mod.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | #[structopt(subcommand)] [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/snapshot/repository/mod.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 26 | impl ApiCommand for Request { [INFO] [stderr] 27 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 28 | | match self.command { [INFO] [stderr] 29 | | Some(action) => match action { [INFO] [stderr] 30 | | Create(command) => command.process(client).await, [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/mod.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | #[structopt(subcommand)] [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/snapshot/mod.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 27 | impl ApiCommand for Request { [INFO] [stderr] 28 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 29 | | match self.command { [INFO] [stderr] 30 | | Some(action) => match action { [INFO] [stderr] 31 | | Repository(request) => request.process(client).await, [INFO] [stderr] ... | [INFO] [stderr] 35 | | } [INFO] [stderr] 36 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/main.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | host: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/main.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | #[structopt(subcommand)] [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/create.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | best_compression: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/create.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | name: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/create.rs:17:15 [INFO] [stderr] | [INFO] [stderr] 17 | replicas: Option, [INFO] [stderr] | ^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/create.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | shards: Option, [INFO] [stderr] | ^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/create.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | mappings_file: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/index/create.rs:86:1 [INFO] [stderr] | [INFO] [stderr] 86 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 87 | impl ApiCommand for Command { [INFO] [stderr] 88 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 89 | | let url = format!("{}/{}?pretty=true", &client.host, self.name); [INFO] [stderr] 90 | | surf::put(url) [INFO] [stderr] 91 | | .body_json(&Body::from(self))? [INFO] [stderr] 92 | | .recv_string() [INFO] [stderr] 93 | | .await [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/delete.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | name: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/index/delete.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 12 | impl ApiCommand for Command { [INFO] [stderr] 13 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 14 | | let confirmation_text = format!( [INFO] [stderr] 15 | | "Are you sure? Delete Index: `{}` on Host: `{}`", [INFO] [stderr] 16 | | self.name, &client.host [INFO] [stderr] ... | [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/info.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | name: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/index/info.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 12 | impl ApiCommand for Command { [INFO] [stderr] 13 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 14 | | surf::get(format!("{}/{}?pretty=true", &client.host, self.name)) [INFO] [stderr] 15 | | .recv_string() [INFO] [stderr] 16 | | .await [INFO] [stderr] 17 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/list.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | primary_shards_only: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/index/list.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 34 | impl ApiCommand for Command { [INFO] [stderr] 35 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 36 | | surf::get(format!("{}/_cat/indices", &client.host)) [INFO] [stderr] 37 | | .set_query(&Query::from(self))? [INFO] [stderr] 38 | | .recv_string() [INFO] [stderr] 39 | | .await [INFO] [stderr] 40 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/mod.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | primary_shards_only: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/index/mod.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | #[structopt(subcommand)] [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/index/mod.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 29 | impl ApiCommand for Request { [INFO] [stderr] 30 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 31 | | match self.command { [INFO] [stderr] 32 | | Some(action) => match action { [INFO] [stderr] 33 | | Create(command) => command.process(client).await, [INFO] [stderr] ... | [INFO] [stderr] 43 | | } [INFO] [stderr] 44 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/create.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | repository: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/create.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | name: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/create.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | wait_for_completion: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/repository/create.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | location: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/repository/create.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | name: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/snapshot/repository/create.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 38 | impl ApiCommand for Command { [INFO] [stderr] 39 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 40 | | let url = format!("{}/_snapshot/{}?pretty=true", &client.host, self.name); [INFO] [stderr] 41 | | surf::put(url) [INFO] [stderr] 42 | | .body_json(&Body::from(self))? [INFO] [stderr] 43 | | .recv_string() [INFO] [stderr] 44 | | .await [INFO] [stderr] 45 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/repository/list.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | repositories: Vec, [INFO] [stderr] | ^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/snapshot/repository/list.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 20 | impl ApiCommand for Command { [INFO] [stderr] 21 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 22 | | let url = format!("{}/_snapshot/_all?pretty=true", &client.host); [INFO] [stderr] 23 | | surf::get(url).recv_string().await [INFO] [stderr] 24 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/repository/mod.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | #[structopt(subcommand)] [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/snapshot/repository/mod.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 26 | impl ApiCommand for Request { [INFO] [stderr] 27 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 28 | | match self.command { [INFO] [stderr] 29 | | Some(action) => match action { [INFO] [stderr] 30 | | Create(command) => command.process(client).await, [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/snapshot/mod.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | #[structopt(subcommand)] [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/snapshot/mod.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | #[async_trait(?Send)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] 27 | impl ApiCommand for Request { [INFO] [stderr] 28 | / async fn process(self, client: &ESClient) -> ApiResult { [INFO] [stderr] 29 | | match self.command { [INFO] [stderr] 30 | | Some(action) => match action { [INFO] [stderr] 31 | | Repository(request) => request.process(client).await, [INFO] [stderr] ... | [INFO] [stderr] 35 | | } [INFO] [stderr] 36 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/main.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | host: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/main.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | #[structopt(subcommand)] [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error: aborting due to 29 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0423, E0424. [INFO] [stderr] For more information about an error, try `rustc --explain E0423`. [INFO] [stderr] error: could not compile `cli-es`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 29 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0423, E0424. [INFO] [stderr] For more information about an error, try `rustc --explain E0423`. [INFO] [stderr] error: could not compile `cli-es`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "48de89037d524fe443bf93116f43034303647ce66114d6007e3e7c57a69fd26e"` [INFO] running `"docker" "rm" "-f" "48de89037d524fe443bf93116f43034303647ce66114d6007e3e7c57a69fd26e"` [INFO] [stdout] 48de89037d524fe443bf93116f43034303647ce66114d6007e3e7c57a69fd26e