[INFO] cloning repository https://github.com/HotelCalifornia/er [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HotelCalifornia/er" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotelCalifornia%2Fer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotelCalifornia%2Fer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd3ae152e4f50e5cb681772ed4d519f372ab54b5 [INFO] documenting HotelCalifornia/er against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotelCalifornia%2Fer" "/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/HotelCalifornia/er on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HotelCalifornia/er [INFO] finished tweaking git repo https://github.com/HotelCalifornia/er [INFO] tweaked toml for git repo https://github.com/HotelCalifornia/er written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/HotelCalifornia/er already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "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" "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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6b4a464ff23cbec041f3db9e8472b17f78e12635aa0425b43124d5be41cbb7c [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" "d6b4a464ff23cbec041f3db9e8472b17f78e12635aa0425b43124d5be41cbb7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6b4a464ff23cbec041f3db9e8472b17f78e12635aa0425b43124d5be41cbb7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b4a464ff23cbec041f3db9e8472b17f78e12635aa0425b43124d5be41cbb7c", kill_on_drop: false }` [INFO] [stdout] d6b4a464ff23cbec041f3db9e8472b17f78e12635aa0425b43124d5be41cbb7c [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" "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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", 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] b3b8f4db49e09e8562a511a98b8cac3e2d6c56780ed4b8a3683883b77c88a3de [INFO] running `Command { std: "docker" "start" "-a" "b3b8f4db49e09e8562a511a98b8cac3e2d6c56780ed4b8a3683883b77c88a3de", kill_on_drop: false }` [INFO] [stderr] Documenting er v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::basetsd::{DWORD_PTR, PSIZE_T, SIZE_T}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{BOOL, DWORD, LPCVOID, LPDWORD, LPVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::consoleapi::CreatePseudoConsole; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::fileapi::WriteFile; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::minwinbase::{LPSECURITY_ATTRIBUTES, LPOVERLAPPED}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::namedpipeapi::CreatePipe; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::processthreadsapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::wincon::{GetConsoleScreenBufferInfo, PCONSOLE_SCREEN_BUFFER_INFO}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::wincontypes::{COORD, HPCON}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win/api.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winnt::{HANDLE, LPCWSTR, LPWSTR, PHANDLE, PVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win/mod.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | 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: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{DWORD, LPCVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winbase::{STD_ERROR_HANDLE, STD_INPUT_HANDLE, STD_OUTPUT_HANDLE}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::{HANDLE, PHANDLE}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_std_handle(handle_id: winapi::shared::minwindef::DWORD) -> Result> { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_console_size() -> Result> { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | pc: *mut winapi::um::wincontypes::HPCON, [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | pc: winapi::um::wincontypes::HPCON, [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result> { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:65:74 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_std_handle(handle_id: winapi::shared::minwindef::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/main.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | fn create_pty_pipes() -> Result<[HANDLE; 4], Box> { [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/main.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 129 | fn create_pseudoconsole_and_pipes( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 130 | pc: *mut winapi::um::wincontypes::HPCON, [INFO] [stdout] 131 | ) -> Result<[HANDLE; 2], Box> { [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 25 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 `er`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name er 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 --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "b3b8f4db49e09e8562a511a98b8cac3e2d6c56780ed4b8a3683883b77c88a3de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b8f4db49e09e8562a511a98b8cac3e2d6c56780ed4b8a3683883b77c88a3de", kill_on_drop: false }` [INFO] [stdout] b3b8f4db49e09e8562a511a98b8cac3e2d6c56780ed4b8a3683883b77c88a3de