[INFO] cloning repository https://github.com/you06/client-rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/you06/client-rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyou06%2Fclient-rust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyou06%2Fclient-rust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e95573f5bf5f0c6a44b353290b4c73707f24fa86 [INFO] testing you06/client-rust-test against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyou06%2Fclient-rust-test" "/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/you06/client-rust-test 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/you06/client-rust-test [INFO] removed path dependency tikv-client from git repo https://github.com/you06/client-rust-test [INFO] finished tweaking git repo https://github.com/you06/client-rust-test [INFO] tweaked toml for git repo https://github.com/you06/client-rust-test written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/you06/client-rust-test 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 (tikv-client) 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-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/tikv/raft-rs` [INFO] [stderr] Updating git repository `https://github.com/pingcap/kvproto.git` [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 (tikv-client) 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] 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] 0c591dd534a500ce5c918c0e978555ef611e28e1400e306db1f4dd1d3d843130 [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" "0c591dd534a500ce5c918c0e978555ef611e28e1400e306db1f4dd1d3d843130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c591dd534a500ce5c918c0e978555ef611e28e1400e306db1f4dd1d3d843130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c591dd534a500ce5c918c0e978555ef611e28e1400e306db1f4dd1d3d843130", kill_on_drop: false }` [INFO] [stdout] 0c591dd534a500ce5c918c0e978555ef611e28e1400e306db1f4dd1d3d843130 [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] 7b8a9f38af8cbe3d0081f5072f9a98f2da8af44b371e5f46116b1f03e6f2f279 [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" "7b8a9f38af8cbe3d0081f5072f9a98f2da8af44b371e5f46116b1f03e6f2f279", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tikv-client) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling protobuf v2.8.0 [INFO] [stderr] Compiling tikv-client v0.0.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling runtime-raw v0.3.0-alpha.5 [INFO] [stderr] Compiling runtime-tokio v0.3.0-alpha.6 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling runtime-attributes v0.3.0-alpha.6 [INFO] [stderr] Compiling grpcio-sys v0.5.4 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling runtime v0.3.0-alpha.8 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling grpcio-compiler v0.5.0 [INFO] [stderr] Compiling protobuf-build v0.11.3 [INFO] [stderr] Compiling raft-proto v0.6.0-alpha (https://github.com/tikv/raft-rs?rev=e624c1d48460940a40d8aa69b5329460d9af87dd#e624c1d4) [INFO] [stderr] Compiling kvproto v0.0.2 (https://github.com/pingcap/kvproto.git#61573376) [INFO] [stderr] Compiling grpcio v0.5.4 [INFO] [stderr] Compiling client-rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `tikv_client::Config`, `tikv_client::Key`, `tikv_client::KvPair`, `tikv_client::RawClient`, `tikv_client::Result`, `tikv_client::ToOwnedRange`, `tikv_client::Value` [INFO] [stdout] --> src/main.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tikv_client::{Config, Key, KvPair, RawClient as Client, Result, ToOwnedRange, Value}; [INFO] [stdout] | ^^^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^ no `Value` in the root [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | no `ToOwnedRange` in the root [INFO] [stdout] | | | | | no `Result` in the root [INFO] [stdout] | | | | no `RawClient` in the root [INFO] [stdout] | | | no `KvPair` in the root [INFO] [stdout] | | no `Key` in the root [INFO] [stdout] | no `Config` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/main.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | .scan((start..=end).to_owned(), 10) [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/main.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let pairs = client [INFO] [stdout] | _________________^ [INFO] [stdout] 89 | | .with_key_only(true) [INFO] [stdout] 90 | | .scan((start..=end).to_owned(), 10) [INFO] [stdout] 91 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/main.rs:110:49 [INFO] [stdout] | [INFO] [stdout] 110 | .batch_scan(batch_scan_keys.to_owned(), 10) [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/main.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let kv_pairs = client [INFO] [stdout] | ____________________^ [INFO] [stdout] 110 | | .batch_scan(batch_scan_keys.to_owned(), 10) [INFO] [stdout] 111 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `client-rust-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7b8a9f38af8cbe3d0081f5072f9a98f2da8af44b371e5f46116b1f03e6f2f279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8a9f38af8cbe3d0081f5072f9a98f2da8af44b371e5f46116b1f03e6f2f279", kill_on_drop: false }` [INFO] [stdout] 7b8a9f38af8cbe3d0081f5072f9a98f2da8af44b371e5f46116b1f03e6f2f279