[INFO] updating cached repository https://github.com/inevity/sharecli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9520b4d9ff5c730607076332cdf00193e752de48 [INFO] testing inevity/sharecli against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finevity%2Fsharecli" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inevity/sharecli on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-7/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" "+1.45.2" "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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/clap-rs/clap/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65589b74c1f8f323cb4d7416dbbf82d980fbdf3c5a388d47a9ca638743c060ce [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" "65589b74c1f8f323cb4d7416dbbf82d980fbdf3c5a388d47a9ca638743c060ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65589b74c1f8f323cb4d7416dbbf82d980fbdf3c5a388d47a9ca638743c060ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65589b74c1f8f323cb4d7416dbbf82d980fbdf3c5a388d47a9ca638743c060ce", kill_on_drop: false }` [INFO] [stdout] 65589b74c1f8f323cb4d7416dbbf82d980fbdf3c5a388d47a9ca638743c060ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a3bd2999ccfcc52bb579d2d487b0b13de822cedb63c1aea744172bd833d0b77 [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" "7a3bd2999ccfcc52bb579d2d487b0b13de822cedb63c1aea744172bd833d0b77", 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] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling os_str_bytes v2.3.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 (https://github.com/clap-rs/clap/#6492ae23) [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling clap v3.0.0-beta.1 (https://github.com/clap-rs/clap/#6492ae23) [INFO] [stderr] Compiling 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[E0433]: failed to resolve: use of undeclared type or module `ApiFailure` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | ApiFailure::Error(status, errors) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ApiFailure` [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | ApiFailure::Error(status, errors) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ApiFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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] [stderr] error: could not compile `sharecli`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7a3bd2999ccfcc52bb579d2d487b0b13de822cedb63c1aea744172bd833d0b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a3bd2999ccfcc52bb579d2d487b0b13de822cedb63c1aea744172bd833d0b77", kill_on_drop: false }` [INFO] [stdout] 7a3bd2999ccfcc52bb579d2d487b0b13de822cedb63c1aea744172bd833d0b77