[INFO] updating cached repository https://github.com/RileyRedpath/cursed_c4 [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] 3c0584634a48e3ac535045861cd5c1630c897fba [INFO] documenting RileyRedpath/cursed_c4 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRileyRedpath%2Fcursed_c4" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RileyRedpath/cursed_c4 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/RileyRedpath/cursed_c4 [INFO] removed path dependency c4 from git repo https://github.com/RileyRedpath/cursed_c4 [INFO] finished tweaking git repo https://github.com/RileyRedpath/cursed_c4 [INFO] tweaked toml for git repo https://github.com/RileyRedpath/cursed_c4 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/RileyRedpath/cursed_c4 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 (c4) 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-0/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (c4) 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 2c64cd367a9dfef0a066083a954f159742a82ff8b1d973a697e17686d5bd1ca1 [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" "2c64cd367a9dfef0a066083a954f159742a82ff8b1d973a697e17686d5bd1ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c64cd367a9dfef0a066083a954f159742a82ff8b1d973a697e17686d5bd1ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c64cd367a9dfef0a066083a954f159742a82ff8b1d973a697e17686d5bd1ca1", kill_on_drop: false }` [INFO] [stdout] 2c64cd367a9dfef0a066083a954f159742a82ff8b1d973a697e17686d5bd1ca1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] b5c12d3885c07900f8c6da0f0053edd02504c81faf7d7369d46cd4ebee524424 [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" "b5c12d3885c07900f8c6da0f0053edd02504c81faf7d7369d46cd4ebee524424", kill_on_drop: false }` [INFO] [stderr] warning: dependency (c4) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking c4 v0.1.0 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Documenting cursed_c4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `c4::c4` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use c4::c4::*; [INFO] [stdout] | ^^ could not find `c4` in `c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `c4::mcts` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use c4::mcts::*; [INFO] [stdout] | ^^^^ could not find `mcts` in `c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> src/main.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | fn game_loop() -> Player { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Board` in this scope [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | fn game_step(board: Board) -> State { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `State::Board`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 32 | fn game_step(board: State) -> State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Board` in this scope [INFO] [stdout] --> src/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Board(Board), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `State::Board`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 62 | Board(State), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | Winner(Player), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Board` in this scope [INFO] [stdout] --> src/main.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | fn draw(board: &Board) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `State::Board`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 78 | fn draw(board: &State) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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 `cursed_c4`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name cursed_c4 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 c4=/opt/rustwide/target/debug/deps/libc4-6b009dc027b238ea.rmeta --extern ncurses=/opt/rustwide/target/debug/deps/libncurses-47802c9ab3c0fe91.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "b5c12d3885c07900f8c6da0f0053edd02504c81faf7d7369d46cd4ebee524424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c12d3885c07900f8c6da0f0053edd02504c81faf7d7369d46cd4ebee524424", kill_on_drop: false }` [INFO] [stdout] b5c12d3885c07900f8c6da0f0053edd02504c81faf7d7369d46cd4ebee524424