[INFO] updating cached repository https://github.com/TheNeikos/rust-gallery [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] aea1f4bacd44d1d1d47bf8e8187fb9da4c581799 [INFO] documenting TheNeikos/rust-gallery against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNeikos%2Frust-gallery" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheNeikos/rust-gallery 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/TheNeikos/rust-gallery [INFO] finished tweaking git repo https://github.com/TheNeikos/rust-gallery [INFO] tweaked toml for git repo https://github.com/TheNeikos/rust-gallery written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/TheNeikos/rust-gallery 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] error: the lock file /workspace/builds/worker-1/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] Updating git repository `https://github.com/servo/rust-url` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stdout] d89ea43b4c447a0fb8d86556ba7d60f550b63fa59435912244e4a7ac593b65e2 [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" "d89ea43b4c447a0fb8d86556ba7d60f550b63fa59435912244e4a7ac593b65e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d89ea43b4c447a0fb8d86556ba7d60f550b63fa59435912244e4a7ac593b65e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89ea43b4c447a0fb8d86556ba7d60f550b63fa59435912244e4a7ac593b65e2", kill_on_drop: false }` [INFO] [stdout] d89ea43b4c447a0fb8d86556ba7d60f550b63fa59435912244e4a7ac593b65e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stdout] 357e7434eb1a1ad558dc30e2756aa494a201b21a7af431d4cd7434a1bbb8bd50 [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" "357e7434eb1a1ad558dc30e2756aa494a201b21a7af431d4cd7434a1bbb8bd50", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking form_urlencoded v1.0.0 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking idna v0.2.0 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking url v2.1.1 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Documenting gallery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::server::Request` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::server::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Request` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::server::Response` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use hyper::server::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Response` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::uri` [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use hyper::uri::RequestUri; [INFO] [stdout] | ^^^ could not find `uri` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: crate `percent_encoding` is private [INFO] [stdout] --> src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | use url::percent_encoding::percent_decode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private crate [INFO] [stdout] | [INFO] [stdout] note: the crate `percent_encoding` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-url-3ddac0958e207dae/c2f9227/src/lib.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | extern crate percent_encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: Could not document `gallery`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name gallery 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 getopts=/opt/rustwide/target/debug/deps/libgetopts-5dd02bac62462ba6.rmeta --extern glob=/opt/rustwide/target/debug/deps/libglob-255bea52c890b5f0.rmeta --extern hyper=/opt/rustwide/target/debug/deps/libhyper-2dc34b72109ec5ac.rmeta --extern url=/opt/rustwide/target/debug/deps/liburl-229460e7cecd5b06.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "357e7434eb1a1ad558dc30e2756aa494a201b21a7af431d4cd7434a1bbb8bd50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "357e7434eb1a1ad558dc30e2756aa494a201b21a7af431d4cd7434a1bbb8bd50", kill_on_drop: false }` [INFO] [stdout] 357e7434eb1a1ad558dc30e2756aa494a201b21a7af431d4cd7434a1bbb8bd50