[INFO] cloning repository https://github.com/huonw/prime-website [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huonw/prime-website" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuonw%2Fprime-website", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuonw%2Fprime-website'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5673eb8ee5b14d6731ec433f9664e2747fe9db5 [INFO] documenting huonw/prime-website against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuonw%2Fprime-website" "/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/huonw/prime-website 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/huonw/prime-website [INFO] finished tweaking git repo https://github.com/huonw/prime-website [INFO] tweaked toml for git repo https://github.com/huonw/prime-website written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/huonw/prime-website 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] Blocking waiting for file lock on package cache [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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/nickel-org/nickel.rs.git` [INFO] [stderr] Updating git repository `https://github.com/huonw/slow_primes` [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] d8f8970d2436f5d66ed2301c6fdac61f498ebefd814c08c98056018e6bc84d9f [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" "d8f8970d2436f5d66ed2301c6fdac61f498ebefd814c08c98056018e6bc84d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8f8970d2436f5d66ed2301c6fdac61f498ebefd814c08c98056018e6bc84d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8f8970d2436f5d66ed2301c6fdac61f498ebefd814c08c98056018e6bc84d9f", kill_on_drop: false }` [INFO] [stdout] d8f8970d2436f5d66ed2301c6fdac61f498ebefd814c08c98056018e6bc84d9f [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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7d729bcbd227020b2160625ae21954903a8321123d168cf5694b7c849bb5f299 [INFO] running `Command { std: "docker" "start" "-a" "7d729bcbd227020b2160625ae21954903a8321123d168cf5694b7c849bb5f299", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking groupable v0.2.0 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking slow_primes v0.1.14 (https://github.com/huonw/slow_primes#76c2fedb) [INFO] [stderr] Checking nickel v0.11.0 (https://github.com/nickel-org/nickel.rs.git#f1388afc) [INFO] [stderr] Documenting prime-website v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{mod, File}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{r#mod, File}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `time` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [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 E0463`. [INFO] [stdout] [INFO] [stderr] error: Could not document `prime-website`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name prime_website 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 nickel=/opt/rustwide/target/debug/deps/libnickel-c96eba62253837f7.rmeta --extern slow_primes=/opt/rustwide/target/debug/deps/libslow_primes-cdee34810b235731.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "7d729bcbd227020b2160625ae21954903a8321123d168cf5694b7c849bb5f299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d729bcbd227020b2160625ae21954903a8321123d168cf5694b7c849bb5f299", kill_on_drop: false }` [INFO] [stdout] 7d729bcbd227020b2160625ae21954903a8321123d168cf5694b7c849bb5f299