[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] documenting you06/client-rust-test against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyou06%2Fclient-rust-test" "/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/you06/client-rust-test on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "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-3/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "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-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" "+394e1b40d264aa6928811919c1124fa248e7d802" "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" "+394e1b40d264aa6928811919c1124fa248e7d802" "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-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" "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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", 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] 9f148801db6b98173a0eefb1f82453545958d309a744b8ad3ffcab82e57bd400 [INFO] running `Command { std: "docker" "start" "-a" "9f148801db6b98173a0eefb1f82453545958d309a744b8ad3ffcab82e57bd400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f148801db6b98173a0eefb1f82453545958d309a744b8ad3ffcab82e57bd400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f148801db6b98173a0eefb1f82453545958d309a744b8ad3ffcab82e57bd400", kill_on_drop: false }` [INFO] [stdout] 9f148801db6b98173a0eefb1f82453545958d309a744b8ad3ffcab82e57bd400 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] b3a4a591ca12e7b09b34a6d6d49261eb58cea919e5cec21c4c2aebe78e4a58cc [INFO] running `Command { std: "docker" "start" "-a" "b3a4a591ca12e7b09b34a6d6d49261eb58cea919e5cec21c4c2aebe78e4a58cc", 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.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling protobuf v2.8.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking tikv-client v0.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking runtime-raw v0.3.0-alpha.5 [INFO] [stderr] Checking 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.3 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking 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#4ef28cac) [INFO] [stderr] Checking grpcio v0.5.3 [INFO] [stderr] Documenting 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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: Could not document `client-rust-test`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name client_rust_test src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-d91697f972468d21.rmeta --extern kvproto=/opt/rustwide/target/debug/deps/libkvproto-50b9d2d16227ef2c.rmeta --extern runtime=/opt/rustwide/target/debug/deps/libruntime-4666348db223114a.rmeta --extern runtime_tokio=/opt/rustwide/target/debug/deps/libruntime_tokio-29180487cba0aa16.rmeta --extern tikv_client=/opt/rustwide/target/debug/deps/libtikv_client-9674712287394d4d.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "b3a4a591ca12e7b09b34a6d6d49261eb58cea919e5cec21c4c2aebe78e4a58cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3a4a591ca12e7b09b34a6d6d49261eb58cea919e5cec21c4c2aebe78e4a58cc", kill_on_drop: false }` [INFO] [stdout] b3a4a591ca12e7b09b34a6d6d49261eb58cea919e5cec21c4c2aebe78e4a58cc