[INFO] updating cached 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" "-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] e95573f5bf5f0c6a44b353290b4c73707f24fa86 [INFO] testing you06/client-rust-test against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyou06%2Fclient-rust-test" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/you06/client-rust-test on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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 crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d530e5a29c236d8b451337c32bd764aa743732f4adde0871872e1fdd5dad41e [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" "3d530e5a29c236d8b451337c32bd764aa743732f4adde0871872e1fdd5dad41e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d530e5a29c236d8b451337c32bd764aa743732f4adde0871872e1fdd5dad41e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d530e5a29c236d8b451337c32bd764aa743732f4adde0871872e1fdd5dad41e", kill_on_drop: false }` [INFO] [stdout] 3d530e5a29c236d8b451337c32bd764aa743732f4adde0871872e1fdd5dad41e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e5cba4e360990e7e26c4d31ab44e774526d4c780133a9a93439aa4321f0a7407 [INFO] running `Command { std: "docker" "start" "-a" "e5cba4e360990e7e26c4d31ab44e774526d4c780133a9a93439aa4321f0a7407", 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 libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [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 lazy_static v1.4.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [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-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling protobuf v2.8.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling tikv-client v0.0.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling iovec v0.1.4 [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 tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling rand v0.7.3 [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 mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.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.22 [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#5f564ec8) [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" "e5cba4e360990e7e26c4d31ab44e774526d4c780133a9a93439aa4321f0a7407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5cba4e360990e7e26c4d31ab44e774526d4c780133a9a93439aa4321f0a7407", kill_on_drop: false }` [INFO] [stdout] e5cba4e360990e7e26c4d31ab44e774526d4c780133a9a93439aa4321f0a7407