[INFO] updating cached repository https://github.com/c4fe/manualmap-rs [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] [stderr] From https://github.com/c4fe/manualmap-rs [INFO] [stderr] f04db80..89d43ec master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89d43ecf012a19abedcbea43fee5a88876565e8a [INFO] documenting c4fe/manualmap-rs against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4fe%2Fmanualmap-rs" "/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/c4fe/manualmap-rs 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/c4fe/manualmap-rs [INFO] finished tweaking git repo https://github.com/c4fe/manualmap-rs [INFO] tweaked toml for git repo https://github.com/c4fe/manualmap-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/c4fe/manualmap-rs 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-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] 91a57b7a3cc10b538e3a14c07d3a2d2349035a5e493149db712971b5c15ea583 [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" "91a57b7a3cc10b538e3a14c07d3a2d2349035a5e493149db712971b5c15ea583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91a57b7a3cc10b538e3a14c07d3a2d2349035a5e493149db712971b5c15ea583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a57b7a3cc10b538e3a14c07d3a2d2349035a5e493149db712971b5c15ea583", kill_on_drop: false }` [INFO] [stdout] 91a57b7a3cc10b538e3a14c07d3a2d2349035a5e493149db712971b5c15ea583 [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] 9e9d751e39c2b7b2c460c71d46f2d7bf1e973f4cd23d6f4d5f41e9aecd6da2fb [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" "9e9d751e39c2b7b2c460c71d46f2d7bf1e973f4cd23d6f4d5f41e9aecd6da2fb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking bytebuffer-rs v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling scroll_derive v0.10.2 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Checking goblin v0.2.3 [INFO] [stderr] Documenting manualmap-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/injector/manualmap.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::minwindef::{BOOL, DWORD, FARPROC, HINSTANCE, HMODULE, LPVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/injector/manualmap.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/injector/manualmap.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::ctypes::c_void as winapic_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/alloctype.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/library.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/library.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::processthreadsapi::OpenProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/freetype.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/processaccess.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/protectflag.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/remotethread.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/remotethread.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{CreateRemoteThread, GetExitCodeProcess}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/remotethread.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::synchapi::WaitForSingleObject; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/remotethread.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::WAIT_FAILED; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/remotethread.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winapiwrapper/remotethread.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_void as winapic_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/threadcreationflags.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winbase; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::memoryapi::{VirtualAllocEx, VirtualFreeEx, WriteProcessMemory}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_BASE_RELOCATION` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | const BASE_RELOCATION_SIZE: usize = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | type FnDllMain = unsafe extern "C" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 27 | type FnDllMain = unsafe extern "C" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:27:57 [INFO] [stdout] | [INFO] [stdout] 27 | type FnDllMain = unsafe extern "C" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:27:68 [INFO] [stdout] | [INFO] [stdout] 27 | type FnDllMain = unsafe extern "C" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | type FnLoadLibraryA = unsafe extern "C" fn(LPCSTR) -> HMODULE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:28:55 [INFO] [stdout] | [INFO] [stdout] 28 | type FnLoadLibraryA = unsafe extern "C" fn(LPCSTR) -> HMODULE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | type FnGetProcAddress = unsafe extern "C" fn(HMODULE, LPCSTR) -> FARPROC; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:29:55 [INFO] [stdout] | [INFO] [stdout] 29 | type FnGetProcAddress = unsafe extern "C" fn(HMODULE, LPCSTR) -> FARPROC; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:29:66 [INFO] [stdout] | [INFO] [stdout] 29 | type FnGetProcAddress = unsafe extern "C" fn(HMODULE, LPCSTR) -> FARPROC; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/winapiwrapper/library.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | handle: HMODULE, [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/winapiwrapper/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | handle: 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/winapiwrapper/process.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 12 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn handle(&self) -> 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/winapiwrapper/remotethread.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | handle: HANDLE, [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 37 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 `manualmap-rs`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name manualmap_rs 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 bitflags=/opt/rustwide/target/debug/deps/libbitflags-49772556016eda4a.rmeta --extern bytebuffer=/opt/rustwide/target/debug/deps/libbytebuffer-1b6752fc248a29bf.rmeta --extern goblin=/opt/rustwide/target/debug/deps/libgoblin-7271520ab45008ec.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-b8bb29aba2eee0a9.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "9e9d751e39c2b7b2c460c71d46f2d7bf1e973f4cd23d6f4d5f41e9aecd6da2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9d751e39c2b7b2c460c71d46f2d7bf1e973f4cd23d6f4d5f41e9aecd6da2fb", kill_on_drop: false }` [INFO] [stdout] 9e9d751e39c2b7b2c460c71d46f2d7bf1e973f4cd23d6f4d5f41e9aecd6da2fb