[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 beta-2020-07-24 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-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/you06/client-rust-test on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-2/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" "+beta-2020-07-24" "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] Updating git repository `https://github.com/tikv/raft-rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+beta-2020-07-24" "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" "+beta-2020-07-24" "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] Downloading crates ... [INFO] [stderr] Downloaded tikv-client v0.0.0 [INFO] [stderr] Downloaded runtime v0.3.0-alpha.8 [INFO] [stderr] Downloaded grpcio v0.5.4 [INFO] [stderr] Downloaded runtime-attributes v0.3.0-alpha.6 [INFO] [stderr] Downloaded runtime-raw v0.3.0-alpha.5 [INFO] [stderr] Downloaded protobuf-build v0.11.3 [INFO] [stderr] Downloaded grpcio-sys v0.5.4 [INFO] [stderr] Downloaded runtime-tokio v0.3.0-alpha.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77ae7aff2bf2465fb316015816aa4c3bba4513af25daaa5a9e376c992a209476 [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" "77ae7aff2bf2465fb316015816aa4c3bba4513af25daaa5a9e376c992a209476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77ae7aff2bf2465fb316015816aa4c3bba4513af25daaa5a9e376c992a209476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ae7aff2bf2465fb316015816aa4c3bba4513af25daaa5a9e376c992a209476", kill_on_drop: false }` [INFO] [stdout] 77ae7aff2bf2465fb316015816aa4c3bba4513af25daaa5a9e376c992a209476 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ffd50c30f9366a5d541319a3d709bb354466ebfc3fa3e214a292385d0f79d8c [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" "1ffd50c30f9366a5d541319a3d709bb354466ebfc3fa3e214a292385d0f79d8c", 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 log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling protobuf v2.8.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling tikv-client v0.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tokio v0.1.22 [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 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 runtime v0.3.0-alpha.8 [INFO] [stderr] Compiling prost v0.6.1 [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" "1ffd50c30f9366a5d541319a3d709bb354466ebfc3fa3e214a292385d0f79d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ffd50c30f9366a5d541319a3d709bb354466ebfc3fa3e214a292385d0f79d8c", kill_on_drop: false }` [INFO] [stdout] 1ffd50c30f9366a5d541319a3d709bb354466ebfc3fa3e214a292385d0f79d8c