[INFO] cloning repository https://github.com/swingbozo/hello-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swingbozo/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswingbozo%2Fhello-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswingbozo%2Fhello-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d70f4b01764a64f1b56ef52f991bc06ddd645381 [INFO] documenting swingbozo/hello-rust 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%2Fswingbozo%2Fhello-rust" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swingbozo/hello-rust 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/swingbozo/hello-rust [INFO] finished tweaking git repo https://github.com/swingbozo/hello-rust [INFO] tweaked toml for git repo https://github.com/swingbozo/hello-rust written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/swingbozo/hello-rust 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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] 8670e5bdd261372c843cc3e539d8190f18711c8de43977ddde81582d6bf5b911 [INFO] running `Command { std: "docker" "start" "-a" "8670e5bdd261372c843cc3e539d8190f18711c8de43977ddde81582d6bf5b911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8670e5bdd261372c843cc3e539d8190f18711c8de43977ddde81582d6bf5b911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8670e5bdd261372c843cc3e539d8190f18711c8de43977ddde81582d6bf5b911", kill_on_drop: false }` [INFO] [stdout] 8670e5bdd261372c843cc3e539d8190f18711c8de43977ddde81582d6bf5b911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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] fc036a0e267ad8af804a515729c8ea59710e8cb434114956e20d6ba6bc4d4593 [INFO] running `Command { std: "docker" "start" "-a" "fc036a0e267ad8af804a515729c8ea59710e8cb434114956e20d6ba6bc4d4593", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Documenting hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | use winapi::shared::minwindef::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | use winapi::shared::winerror::{ [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/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | use winapi::um::{ [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/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/main.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | const GUID_DEVINTERFACE_HID:GUID = GUID { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope [INFO] [stdout] --> src/main.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | const GUID_DEVINTERFACE_HID:GUID = GUID { [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/main.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | const SDRP_DEVICEDESC:DWORD = 0x00000000; [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/main.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | const SDRP_MFG:DWORD = 0x0000000B; [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/main.rs:139:40 [INFO] [stdout] | [INFO] [stdout] 139 | const SDRP_PHYSICAL_DEVICE_OBJECT_NAME:DWORD = 0x0000000E; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVINST` in this scope [INFO] [stdout] --> src/main.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | fn has_usb_parent(h_dev_inst:DEVINST) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope [INFO] [stdout] --> src/main.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | hdev_info:HDEVINFO, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | pdev_info_data:PSP_DEVINFO_DATA, [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/main.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | property:DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope [INFO] [stdout] --> src/main.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | fn print_dev_info(hdev_info:HDEVINFO, pdev_info_data:PSP_DEVINFO_DATA) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:224:54 [INFO] [stdout] | [INFO] [stdout] 224 | fn print_dev_info(hdev_info:HDEVINFO, pdev_info_data:PSP_DEVINFO_DATA) { [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, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `hello-rust` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name hello_rust src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=eebbf3da147ef199 -L dependency=/opt/rustwide/target/debug/deps --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-ad85bd75549c8ee7.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "fc036a0e267ad8af804a515729c8ea59710e8cb434114956e20d6ba6bc4d4593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc036a0e267ad8af804a515729c8ea59710e8cb434114956e20d6ba6bc4d4593", kill_on_drop: false }` [INFO] [stdout] fc036a0e267ad8af804a515729c8ea59710e8cb434114956e20d6ba6bc4d4593