[INFO] cloning repository https://github.com/pabloordonez/rustlike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pabloordonez/rustlike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpabloordonez%2Frustlike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpabloordonez%2Frustlike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae54ea8715b9ffd892ee25aaee5896b8990683e4 [INFO] documenting pabloordonez/rustlike 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%2Fpabloordonez%2Frustlike" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pabloordonez/rustlike 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/pabloordonez/rustlike [INFO] finished tweaking git repo https://github.com/pabloordonez/rustlike [INFO] tweaked toml for git repo https://github.com/pabloordonez/rustlike written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/pabloordonez/rustlike 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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 10a694e84ac982be77b9652400eda7c2ad39ca2b1c5a6cb4af292edb2fef44eb [INFO] running `Command { std: "docker" "start" "-a" "10a694e84ac982be77b9652400eda7c2ad39ca2b1c5a6cb4af292edb2fef44eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10a694e84ac982be77b9652400eda7c2ad39ca2b1c5a6cb4af292edb2fef44eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10a694e84ac982be77b9652400eda7c2ad39ca2b1c5a6cb4af292edb2fef44eb", kill_on_drop: false }` [INFO] [stdout] 10a694e84ac982be77b9652400eda7c2ad39ca2b1c5a6cb4af292edb2fef44eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 71121e9a48a4b623ccfab8dfc0d96bd4fefcb3b2f6f378e8921065c15b4a4728 [INFO] running `Command { std: "docker" "start" "-a" "71121e9a48a4b623ccfab8dfc0d96bd4fefcb3b2f6f378e8921065c15b4a4728", kill_on_drop: false }` [INFO] [stderr] Documenting rustlike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/windows/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/windows/mouse.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/windows/terminal.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/windows/window.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/windows/mod.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | 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 `INPUT_RECORD` in this scope [INFO] [stdout] --> src/windows/application.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | fn process_key_events(input_record: &INPUT_RECORD) -> Event { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT_RECORD` in this scope [INFO] [stdout] --> src/windows/application.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | fn process_mouse_events(input_record: &INPUT_RECORD) -> Event { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/mouse.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | window_handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/windows/terminal.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | pub console_handle: *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows/terminal.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub output_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/windows/terminal.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub input_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/terminal.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub window_handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/window.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub window_handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/windows/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | impl Empty for POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/windows/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | fn empty() -> POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/windows/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | impl Empty for COORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/windows/mod.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | fn empty() -> COORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/windows/mod.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | impl Empty for SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/windows/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | fn empty() -> SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/windows/mod.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | impl Empty for RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/windows/mod.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | fn empty() -> RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/windows/mod.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Empty for CONSOLE_SCREEN_BUFFER_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/windows/mod.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | fn empty() -> CONSOLE_SCREEN_BUFFER_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_CURSOR_INFO` in this scope [INFO] [stdout] --> src/windows/mod.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | impl Empty for CONSOLE_CURSOR_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_CURSOR_INFO` in this scope [INFO] [stdout] --> src/windows/mod.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | fn empty() -> CONSOLE_CURSOR_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/windows/mod.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | impl Empty for CHAR_INFO { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/windows/mod.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | fn empty() -> CHAR_INFO { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT_RECORD` in this scope [INFO] [stdout] --> src/windows/mod.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | impl Empty for INPUT_RECORD { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT_RECORD` in this scope [INFO] [stdout] --> src/windows/mod.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | fn empty() -> INPUT_RECORD { [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 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `rustlike` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name rustlike src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=e498543a16a9d16f -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "71121e9a48a4b623ccfab8dfc0d96bd4fefcb3b2f6f378e8921065c15b4a4728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71121e9a48a4b623ccfab8dfc0d96bd4fefcb3b2f6f378e8921065c15b4a4728", kill_on_drop: false }` [INFO] [stdout] 71121e9a48a4b623ccfab8dfc0d96bd4fefcb3b2f6f378e8921065c15b4a4728