[INFO] updating cached repository https://github.com/three-star-flex-book/bitdefender-rust-error-example [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] a734b5973eb81a68e1c0e8fbab07b8e98e32efe2 [INFO] documenting three-star-flex-book/bitdefender-rust-error-example against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthree-star-flex-book%2Fbitdefender-rust-error-example" "/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/three-star-flex-book/bitdefender-rust-error-example on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/three-star-flex-book/bitdefender-rust-error-example [INFO] finished tweaking git repo https://github.com/three-star-flex-book/bitdefender-rust-error-example [INFO] tweaked toml for git repo https://github.com/three-star-flex-book/bitdefender-rust-error-example written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/three-star-flex-book/bitdefender-rust-error-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df194ae7d956abdcf346239dfe40c14104e000e215931ecdc511074ec9e170a2 [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" "df194ae7d956abdcf346239dfe40c14104e000e215931ecdc511074ec9e170a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df194ae7d956abdcf346239dfe40c14104e000e215931ecdc511074ec9e170a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df194ae7d956abdcf346239dfe40c14104e000e215931ecdc511074ec9e170a2", kill_on_drop: false }` [INFO] [stdout] df194ae7d956abdcf346239dfe40c14104e000e215931ecdc511074ec9e170a2 [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" "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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f0b4745f6d93d0574b97b6c1f6c745c2145ee36ba9daf15802758768b9e3aa0 [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" "4f0b4745f6d93d0574b97b6c1f6c745c2145ee36ba9daf15802758768b9e3aa0", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking serde_json v1.0.47 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking headers v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking redis v0.15.1 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking warp v0.2.1 [INFO] [stderr] Documenting warp-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | return wait_both; [INFO] [stdout] | ^^^^^^^^^ expected `()`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found tuple `(std::result::Result, ())` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: Could not document `warp-example`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name warp_example 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 futures=/opt/rustwide/target/debug/deps/libfutures-adf123a257db0d71.rmeta --extern redis=/opt/rustwide/target/debug/deps/libredis-f864cea5304f53c6.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-9f34fe917c3532c7.rmeta --extern warp=/opt/rustwide/target/debug/deps/libwarp-aa86fa9c71182627.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "4f0b4745f6d93d0574b97b6c1f6c745c2145ee36ba9daf15802758768b9e3aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f0b4745f6d93d0574b97b6c1f6c745c2145ee36ba9daf15802758768b9e3aa0", kill_on_drop: false }` [INFO] [stdout] 4f0b4745f6d93d0574b97b6c1f6c745c2145ee36ba9daf15802758768b9e3aa0