[INFO] updating cached repository https://github.com/iepathos/guessing_game [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] 69aaf51e74ae809b0ef1ce9fa8fdbac9fafefd15 [INFO] documenting iepathos/guessing_game against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiepathos%2Fguessing_game" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iepathos/guessing_game 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/iepathos/guessing_game [INFO] finished tweaking git repo https://github.com/iepathos/guessing_game [INFO] tweaked toml for git repo https://github.com/iepathos/guessing_game written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/iepathos/guessing_game 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 4b1aba61ecf4c715ba6cfb62eaba755c19de51702b1f10fe9d8c1fbfc8beba6c [INFO] running `Command { std: "docker" "start" "-a" "4b1aba61ecf4c715ba6cfb62eaba755c19de51702b1f10fe9d8c1fbfc8beba6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b1aba61ecf4c715ba6cfb62eaba755c19de51702b1f10fe9d8c1fbfc8beba6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1aba61ecf4c715ba6cfb62eaba755c19de51702b1f10fe9d8c1fbfc8beba6c", kill_on_drop: false }` [INFO] [stdout] 4b1aba61ecf4c715ba6cfb62eaba755c19de51702b1f10fe9d8c1fbfc8beba6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 256f166e34696d194a70bc582399a790b0dd24dbdea7638171045b68cc5f2d60 [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" "256f166e34696d194a70bc582399a790b0dd24dbdea7638171045b68cc5f2d60", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Documenting guessing_game v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/main.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | let secret_number = (rand::random::() % 100u) + 1u; [INFO] [stdout] | ^^^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/main.rs:7:59 [INFO] [stdout] | [INFO] [stdout] 7 | let secret_number = (rand::random::() % 100u) + 1u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | fn cmp(a: uint, b: uint) -> Ordering { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | fn cmp(a: uint, b: uint) -> Ordering { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/main.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | fn cmp(a: uint, b: uint) -> Ordering { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `guessing_game`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name guessing_game 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 --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "256f166e34696d194a70bc582399a790b0dd24dbdea7638171045b68cc5f2d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256f166e34696d194a70bc582399a790b0dd24dbdea7638171045b68cc5f2d60", kill_on_drop: false }` [INFO] [stdout] 256f166e34696d194a70bc582399a790b0dd24dbdea7638171045b68cc5f2d60