[INFO] cloning repository https://github.com/naari3/ppt-undo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naari3/ppt-undo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fppt-undo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fppt-undo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c72069d3c057804f39f26574f49d805436fc497 [INFO] documenting naari3/ppt-undo against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fppt-undo" "/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/naari3/ppt-undo on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/naari3/ppt-undo [INFO] finished tweaking git repo https://github.com/naari3/ppt-undo [INFO] tweaked toml for git repo https://github.com/naari3/ppt-undo written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/naari3/ppt-undo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inputbot v0.5.0 [INFO] [stderr] Downloaded uinput v0.1.3 [INFO] [stderr] Downloaded uinput-sys v0.1.7 [INFO] [stderr] Downloaded input v0.5.0 [INFO] [stderr] Downloaded custom_derive v0.1.7 [INFO] [stderr] Downloaded enum_derive v0.1.7 [INFO] [stderr] Downloaded ioctl-sys v0.5.2 [INFO] [stderr] Downloaded nix v0.17.0 [INFO] [stderr] Downloaded input-sys v1.15.0 [INFO] [stderr] Downloaded udev v0.4.0 [INFO] [stderr] Downloaded nix v0.10.0 [INFO] [stderr] Downloaded process-memory v0.4.0 [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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "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] cada34380ad128a357dd25fd03ec9a0e4724cb4945e40af8332e9445cc5078c6 [INFO] running `Command { std: "docker" "start" "-a" "cada34380ad128a357dd25fd03ec9a0e4724cb4945e40af8332e9445cc5078c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cada34380ad128a357dd25fd03ec9a0e4724cb4945e40af8332e9445cc5078c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cada34380ad128a357dd25fd03ec9a0e4724cb4945e40af8332e9445cc5078c6", kill_on_drop: false }` [INFO] [stdout] cada34380ad128a357dd25fd03ec9a0e4724cb4945e40af8332e9445cc5078c6 [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95999c79481aae845ee3afbdbea2c5b013266a3e3b7714d499abe7db9ddcad2a [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" "95999c79481aae845ee3afbdbea2c5b013266a3e3b7714d499abe7db9ddcad2a", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling input-sys v1.15.0 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking process-memory v0.4.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking udev v0.4.0 [INFO] [stderr] Checking input v0.5.0 [INFO] [stderr] Checking uinput v0.1.3 [INFO] [stderr] Checking inputbot v0.5.0 [INFO] [stderr] Documenting ppt-undo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/sync_ppt.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::debugapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::minwinbase::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{GetThreadContext, OpenProcess, OpenThread, SetThreadContext}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::psapi::{EnumProcessModules, EnumProcesses, GetModuleBaseNameW}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um::debugapi::*`, `winapi::um::errhandlingapi::GetLastError`, `winapi::um::handleapi::CloseHandle`, `winapi::um::memoryapi::ReadProcessMemory`, `winapi::um::memoryapi::WriteProcessMemory`, `winapi::um::minwinbase::*`, `winapi::um::processthreadsapi::GetThreadContext`, `winapi::um::processthreadsapi::OpenProcess`, `winapi::um::processthreadsapi::OpenThread`, `winapi::um::processthreadsapi::SetThreadContext`, `winapi::um::psapi::EnumProcessModules`, `winapi::um::psapi::EnumProcesses`, `winapi::um::psapi::GetModuleBaseNameW`, `winapi::um::winbase::*`, `winapi::um::winnt::*` [INFO] [stdout] --> src/sync_ppt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::debugapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use winapi::um::minwinbase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{GetThreadContext, OpenProcess, OpenThread, SetThreadContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use winapi::um::psapi::{EnumProcessModules, EnumProcesses, GetModuleBaseNameW}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use winapi::um::winbase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/state.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new_from_proc(handle: HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/state.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn write_current_piece(handle: HANDLE, piece: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/state.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn write_hold(handle: HANDLE, piece: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/state.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn write_board(handle: HANDLE, columns: Vec>) -> Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/state.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_seed(handle: HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/state.rs:123:44 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn get_is_current_piece_active(handle: HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONTEXT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | struct Context(CONTEXT); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | process: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:153:31 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe fn wait_for_event() -> DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | process: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 159 | fn breakpoint( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 165 | ) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `ppt-undo` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name ppt_undo src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=ba75da502b036516 -L dependency=/opt/rustwide/target/debug/deps --extern inputbot=/opt/rustwide/target/debug/deps/libinputbot-4881ffe6baa93c8c.rmeta --extern process_memory=/opt/rustwide/target/debug/deps/libprocess_memory-f89fee50b1c561bc.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "95999c79481aae845ee3afbdbea2c5b013266a3e3b7714d499abe7db9ddcad2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95999c79481aae845ee3afbdbea2c5b013266a3e3b7714d499abe7db9ddcad2a", kill_on_drop: false }` [INFO] [stdout] 95999c79481aae845ee3afbdbea2c5b013266a3e3b7714d499abe7db9ddcad2a