[INFO] cloning repository https://github.com/inevity/sharecli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inevity/sharecli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finevity%2Fsharecli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finevity%2Fsharecli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9520b4d9ff5c730607076332cdf00193e752de48 [INFO] checking inevity/sharecli against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finevity%2Fsharecli" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inevity/sharecli on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/inevity/sharecli [INFO] removed path dependency ghost from git repo https://github.com/inevity/sharecli [INFO] finished tweaking git repo https://github.com/inevity/sharecli [INFO] tweaked toml for git repo https://github.com/inevity/sharecli written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/inevity/sharecli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ghost) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/clap-rs/clap/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ghost) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4d08a2fa5b67dcbe71ea0a839c5e93ec44ca497eac290cc7409041822e17109 [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" "c4d08a2fa5b67dcbe71ea0a839c5e93ec44ca497eac290cc7409041822e17109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4d08a2fa5b67dcbe71ea0a839c5e93ec44ca497eac290cc7409041822e17109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d08a2fa5b67dcbe71ea0a839c5e93ec44ca497eac290cc7409041822e17109", kill_on_drop: false }` [INFO] [stdout] c4d08a2fa5b67dcbe71ea0a839c5e93ec44ca497eac290cc7409041822e17109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b0e7f9376555efd13ed7c1195ae77280f1789b985f5e363aa2ad7cfc488f58b [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" "4b0e7f9376555efd13ed7c1195ae77280f1789b985f5e363aa2ad7cfc488f58b", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ghost) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking textwrap v0.13.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 (https://github.com/clap-rs/clap/#eb047b6b) [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking clap v3.0.0-beta.2 (https://github.com/clap-rs/clap/#eb047b6b) [INFO] [stderr] Checking sharecli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `clap::SubCommand` [INFO] [stdout] --> src/main.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | use clap::{App, AppSettings, Arg, ArgSettings, ArgMatches, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `SubCommand` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Subcommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `framework` in `ghost` [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use ghost::framework::{ [INFO] [stdout] | ^^^^^^^^^ could not find `framework` in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ghost::endpoints` [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use ghost::endpoints::{dns}; [INFO] [stdout] | ^^^^^^^^^ could not find `endpoints` in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ghost::framework` [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use ghost::framework::{ [INFO] [stdout] | ^^^^^^^^^ could not find `framework` in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap::SubCommand` [INFO] [stdout] --> src/main.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | use clap::{App, AppSettings, Arg, ArgSettings, ArgMatches, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `SubCommand` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Subcommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `framework` in `ghost` [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use ghost::framework::{ [INFO] [stdout] | ^^^^^^^^^ could not find `framework` in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ghost::endpoints` [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use ghost::endpoints::{dns}; [INFO] [stdout] | ^^^^^^^^^ could not find `endpoints` in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiFailure` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | ApiFailure::Error(status, errors) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ghost::framework` [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use ghost::framework::{ [INFO] [stdout] | ^^^^^^^^^ could not find `framework` in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiFailure` [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | ApiFailure::Invalid(reqwest_err) => println!("Error: {}", reqwest_err), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiFailure` [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | ApiFailure::Error(status, errors) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiFailure` [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | ApiFailure::Invalid(reqwest_err) => println!("Error: {}", reqwest_err), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope [INFO] [stdout] --> src/main.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | struct Section<'a, ApiClientType: ApiClient> {// trait bound [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ApiResult` in this scope [INFO] [stdout] --> src/main.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | fn print_response(response: ApiResponse) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ApiResponse` in this scope [INFO] [stdout] --> src/main.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | fn print_response(response: ApiResponse) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ApiResult` in this scope [INFO] [stdout] --> src/main.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn print_response_json(response: ApiResponse) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ApiResponse` in this scope [INFO] [stdout] --> src/main.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | fn print_response_json(response: ApiResponse) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope [INFO] [stdout] --> src/main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | fn dns(arg_matches: &ArgMatches, api_client: &ApiClientType) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope [INFO] [stdout] --> src/main.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | fn mock_api(_args: &ArgMatches, _api: &ApiClientType) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MockApiClient` in this scope [INFO] [stdout] --> src/main.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | let mock_api = MockApiClient {}; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopEndpoint` in this scope [INFO] [stdout] --> src/main.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let endpoint = NoopEndpoint {}; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `post` in crate `ghost` [INFO] [stdout] --> src/main.rs:276:39 [INFO] [stdout] | [INFO] [stdout] 276 | let resp = ghost::post(data).await?; [INFO] [stdout] | ^^^^ not found in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `edit` in crate `ghost` [INFO] [stdout] --> src/main.rs:282:39 [INFO] [stdout] | [INFO] [stdout] 282 | let resp = ghost::edit(data).await?; [INFO] [stdout] | ^^^^ not found in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete` in crate `ghost` [INFO] [stdout] --> src/main.rs:290:46 [INFO] [stdout] | [INFO] [stdout] 290 | ... let resp = ghost::delete(var.to_string()).await?; [INFO] [stdout] | ^^^^^^ not found in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `list` in crate `ghost` [INFO] [stdout] --> src/main.rs:329:43 [INFO] [stdout] | [INFO] [stdout] 329 | let resp = ghost::list(q1, q2).await?; [INFO] [stdout] | ^^^^ not found in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArgSettings` [INFO] [stdout] --> src/main.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | use clap::{App, AppSettings, Arg, ArgSettings, ArgMatches, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiFailure` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | ApiFailure::Error(status, errors) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiFailure` [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | ApiFailure::Invalid(reqwest_err) => println!("Error: {}", reqwest_err), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiFailure` [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | ApiFailure::Error(status, errors) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiFailure` [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | ApiFailure::Invalid(reqwest_err) => println!("Error: {}", reqwest_err), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope [INFO] [stdout] --> src/main.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | struct Section<'a, ApiClientType: ApiClient> {// trait bound [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ApiResult` in this scope [INFO] [stdout] --> src/main.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | fn print_response(response: ApiResponse) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ApiResponse` in this scope [INFO] [stdout] --> src/main.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | fn print_response(response: ApiResponse) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ApiResult` in this scope [INFO] [stdout] --> src/main.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn print_response_json(response: ApiResponse) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ApiResponse` in this scope [INFO] [stdout] --> src/main.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | fn print_response_json(response: ApiResponse) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope [INFO] [stdout] --> src/main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | fn dns(arg_matches: &ArgMatches, api_client: &ApiClientType) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope [INFO] [stdout] --> src/main.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | fn mock_api(_args: &ArgMatches, _api: &ApiClientType) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MockApiClient` in this scope [INFO] [stdout] --> src/main.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | let mock_api = MockApiClient {}; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopEndpoint` in this scope [INFO] [stdout] --> src/main.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let endpoint = NoopEndpoint {}; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sharecli` [INFO] [stdout] error[E0425]: cannot find function `post` in crate `ghost` [INFO] [stdout] --> src/main.rs:276:39 [INFO] [stdout] | [INFO] [stdout] 276 | let resp = ghost::post(data).await?; [INFO] [stdout] | ^^^^ not found in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0425]: cannot find function `edit` in crate `ghost` [INFO] [stdout] --> src/main.rs:282:39 [INFO] [stdout] | [INFO] [stdout] 282 | let resp = ghost::edit(data).await?; [INFO] [stdout] | ^^^^ not found in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0425]: cannot find function `delete` in crate `ghost` [INFO] [stdout] --> src/main.rs:290:46 [INFO] [stdout] | [INFO] [stdout] 290 | ... let resp = ghost::delete(var.to_string()).await?; [INFO] [stdout] | ^^^^^^ not found in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `list` in crate `ghost` [INFO] [stdout] --> src/main.rs:329:43 [INFO] [stdout] | [INFO] [stdout] 329 | let resp = ghost::list(q1, q2).await?; [INFO] [stdout] | ^^^^ not found in `ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArgSettings` [INFO] [stdout] --> src/main.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | use clap::{App, AppSettings, Arg, ArgSettings, ArgMatches, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4b0e7f9376555efd13ed7c1195ae77280f1789b985f5e363aa2ad7cfc488f58b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b0e7f9376555efd13ed7c1195ae77280f1789b985f5e363aa2ad7cfc488f58b", kill_on_drop: false }` [INFO] [stdout] 4b0e7f9376555efd13ed7c1195ae77280f1789b985f5e363aa2ad7cfc488f58b