[INFO] cloning repository https://github.com/amcarthur/hammer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amcarthur/hammer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcarthur%2Fhammer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcarthur%2Fhammer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dacfa9a5675b5d66dec12cba229ac2d02ce9b068 [INFO] documenting amcarthur/hammer against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcarthur%2Fhammer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amcarthur/hammer on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amcarthur/hammer [INFO] finished tweaking git repo https://github.com/amcarthur/hammer [INFO] tweaked toml for git repo https://github.com/amcarthur/hammer written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/amcarthur/hammer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pe v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "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] 6e20c47832e8e8b37892d4f0b2c31b0e827eace71aabaf879670e4b30cc0e302 [INFO] running `Command { std: "docker" "start" "-a" "6e20c47832e8e8b37892d4f0b2c31b0e827eace71aabaf879670e4b30cc0e302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e20c47832e8e8b37892d4f0b2c31b0e827eace71aabaf879670e4b30cc0e302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e20c47832e8e8b37892d4f0b2c31b0e827eace71aabaf879670e4b30cc0e302", kill_on_drop: false }` [INFO] [stdout] 6e20c47832e8e8b37892d4f0b2c31b0e827eace71aabaf879670e4b30cc0e302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 550efd9de11569ff2b8859948058eeffd00d11708c157fc66fb5dc96ab3cd81d [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" "550efd9de11569ff2b8859948058eeffd00d11708c157fc66fb5dc96ab3cd81d", kill_on_drop: false }` [INFO] [stderr] Checking widestring v0.2.2 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking pe v0.1.1 [INFO] [stderr] Documenting hammer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | 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: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:333:76 [INFO] [stdout] | [INFO] [stdout] 333 | fn find_remote_module_by_path(process_id: u32, dll_path: &Path) -> winapi::minwindef::HMODULE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:372:86 [INFO] [stdout] | [INFO] [stdout] 372 | fn find_remote_module_by_name(process_id: u32, module_name: &WideCString) -> winapi::minwindef::HMODULE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:412:78 [INFO] [stdout] | [INFO] [stdout] 412 | fn find_remote_module_path_by_handle(process_id: u32, module_handle: winapi::minwindef::HMODULE) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:451:86 [INFO] [stdout] | [INFO] [stdout] 451 | fn find_remote_module_base_address_by_handle(process_id: u32, module_handle: winapi::minwindef::HMODULE) -> *mut winapi::BYTE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:488:58 [INFO] [stdout] | [INFO] [stdout] 488 | fn open_process(process_id: u32, desired_access: winapi::minwindef::DWORD) -> winapi::HANDLE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:583:73 [INFO] [stdout] | [INFO] [stdout] 583 | fn eject_library(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE) -> bool { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:712:80 [INFO] [stdout] | [INFO] [stdout] 712 | fn call_remote_function(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE, function_name: &CString, argument: win... [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:712:143 [INFO] [stdout] | [INFO] [stdout] 712 | ...function_name: &CString, argument: winapi::minwindef::LPVOID, argument_size: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in crate `winapi` [INFO] [stdout] --> src/main.rs:451:122 [INFO] [stdout] | [INFO] [stdout] 451 | fn find_remote_module_base_address_by_handle(process_id: u32, module_handle: winapi::minwindef::HMODULE) -> *mut winapi::BYTE { [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:488:87 [INFO] [stdout] | [INFO] [stdout] 488 | fn open_process(process_id: u32, desired_access: winapi::minwindef::DWORD) -> winapi::HANDLE { [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:497:43 [INFO] [stdout] | [INFO] [stdout] 497 | fn inject_library(process_handle: winapi::HANDLE, dll_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:583:42 [INFO] [stdout] | [INFO] [stdout] 583 | fn eject_library(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE) -> bool { [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:712:49 [INFO] [stdout] | [INFO] [stdout] 712 | fn call_remote_function(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE, function_name: &CString, argument: win... [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `hammer`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name hammer 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 kernel32=/opt/rustwide/target/debug/deps/libkernel32-add5f9529459183f.rmeta --extern pe=/opt/rustwide/target/debug/deps/libpe-b10bd26dc4e7b975.rmeta --extern user32=/opt/rustwide/target/debug/deps/libuser32-a8da69ccc9b5acff.rmeta --extern widestring=/opt/rustwide/target/debug/deps/libwidestring-b8b76fcf2cf57256.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-35bb43931dcc65fb.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "550efd9de11569ff2b8859948058eeffd00d11708c157fc66fb5dc96ab3cd81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "550efd9de11569ff2b8859948058eeffd00d11708c157fc66fb5dc96ab3cd81d", kill_on_drop: false }` [INFO] [stdout] 550efd9de11569ff2b8859948058eeffd00d11708c157fc66fb5dc96ab3cd81d