[INFO] fetching crate djin 0.1.1... [INFO] documenting djin-0.1.1 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate djin 0.1.1 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate djin 0.1.1 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 crates.io crate djin 0.1.1 [INFO] finished tweaking crates.io crate djin 0.1.1 [INFO] tweaked toml for crates.io crate djin 0.1.1 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate crates.io crate djin 0.1.1 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] [stdout] ec7678e80a9170d236f662364a544f11c19ba9096ac555667bac67cd5a7b8cee [INFO] running `Command { std: "docker" "start" "-a" "ec7678e80a9170d236f662364a544f11c19ba9096ac555667bac67cd5a7b8cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec7678e80a9170d236f662364a544f11c19ba9096ac555667bac67cd5a7b8cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7678e80a9170d236f662364a544f11c19ba9096ac555667bac67cd5a7b8cee", kill_on_drop: false }` [INFO] [stdout] ec7678e80a9170d236f662364a544f11c19ba9096ac555667bac67cd5a7b8cee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 25709230610eca118895bbe4e7396965813b51a56befbd6567e0e07fd1c51e16 [INFO] running `Command { std: "docker" "start" "-a" "25709230610eca118895bbe4e7396965813b51a56befbd6567e0e07fd1c51e16", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Documenting djin v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this crate is only meant to be used for windows targets [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("this crate is only meant to be used for windows targets"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/windows_prelude.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{ [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/windows_prelude.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/windows_prelude.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/imp/util.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn alloc(process: HANDLE, size: usize) -> LPVOID { [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/imp/util.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn alloc(process: HANDLE, size: usize) -> LPVOID { [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/imp/mod.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn inject_dll(process: HANDLE, dll: &std::path::Path, function: &[u8]) -> Result { [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/imp/mod.rs:94:86 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn inject_dll(process: HANDLE, dll: &std::path::Path, function: &[u8]) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/imp/mod.rs:94:93 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn inject_dll(process: HANDLE, dll: &std::path::Path, function: &[u8]) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn open_process(pid: DWORD) -> 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/lib.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn open_process(pid: DWORD) -> Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn open_process(pid: DWORD) -> Result { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | process: HANDLE, [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/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn inject_dll>( [INFO] [stdout] | - help: you might be missing a type parameter: `, DWORD` [INFO] [stdout] ... [INFO] [stdout] 42 | ) -> Result { [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/lib.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn inject_dll>( [INFO] [stdout] | - help: you might be missing a type parameter: `, DWORD` [INFO] [stdout] ... [INFO] [stdout] 42 | ) -> 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 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 `djin` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name djin src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=45bffb0198df36dd -L dependency=/opt/rustwide/target/debug/deps --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-60658e34c4632dae.rmeta --cap-lints=warn --crate-version 0.1.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "25709230610eca118895bbe4e7396965813b51a56befbd6567e0e07fd1c51e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25709230610eca118895bbe4e7396965813b51a56befbd6567e0e07fd1c51e16", kill_on_drop: false }` [INFO] [stdout] 25709230610eca118895bbe4e7396965813b51a56befbd6567e0e07fd1c51e16