[INFO] cloning repository https://github.com/sailfish009/read
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sailfish009/read" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsailfish009%2Fread", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsailfish009%2Fread'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54502c1fc6f4ec4766ae2a2c3fdbe5ee259146f1
[INFO] documenting sailfish009/read against 1.54.0 for beta-1.55-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsailfish009%2Fread" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sailfish009/read on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sailfish009/read
[INFO] finished tweaking git repo https://github.com/sailfish009/read
[INFO] tweaked toml for git repo https://github.com/sailfish009/read written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/sailfish009/read already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "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] f9bec199fcb6fb7dca29892044b52edd5ff4497dc8048925e3ad353863eb90ab
[INFO] running `Command { std: "docker" "start" "-a" "f9bec199fcb6fb7dca29892044b52edd5ff4497dc8048925e3ad353863eb90ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9bec199fcb6fb7dca29892044b52edd5ff4497dc8048925e3ad353863eb90ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9bec199fcb6fb7dca29892044b52edd5ff4497dc8048925e3ad353863eb90ab", kill_on_drop: false }`
[INFO] [stdout] f9bec199fcb6fb7dca29892044b52edd5ff4497dc8048925e3ad353863eb90ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.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] fb5497d0a67577dcd48d49906ac31e2098c549e38a2b4a10ff1e8c2526599815
[INFO] running `Command { std: "docker" "start" "-a" "fb5497d0a67577dcd48d49906ac31e2098c549e38a2b4a10ff1e8c2526599815", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.4
[INFO] [stderr]  Documenting read v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 | use winapi::um::shellapi as shell;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 | use winapi::um::winuser as user;     
[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:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, HICON, HFONT, HGDIOBJ, HBITMAP, HDC, RECT, POINT};        
[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:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 | use winapi::shared::minwindef::{HINSTANCE, INT, UINT, DWORD, WPARAM, LPARAM, LRESULT, LPVOID, MAX_PATH };        
[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:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 | use winapi::um::winnt::{LPCWSTR, LPWSTR, LONG};
[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/main.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::um`, `user::WS_OVERLAPPEDWINDOW`, `user::WS_VISIBLE`, `user::WNDCLASSW`, `user::LPCREATESTRUCTW`
[INFO] [stdout]   --> src/main.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 | use winapi::um::wingdi as gdi;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] ...
[INFO] [stdout] 43 | use user::{WS_OVERLAPPEDWINDOW, WS_VISIBLE, WNDCLASSW, LPCREATESTRUCTW};        
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stdout]   --> src/main.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct CH {x :LONG,  y :LONG, c :char}
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stdout]   --> src/main.rs:58:25
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct CH {x :LONG,  y :LONG, c :char}
[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/main.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |   static ref POS: Mutex<POINT> = Mutex::new(POINT{x:0, y:0});
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stdout]   --> src/main.rs:66:25
[INFO] [stdout]    |
[INFO] [stdout] 66 |   static ref CHX: Mutex<LONG> = Mutex::new(0);
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stdout]   --> src/main.rs:67:25
[INFO] [stdout]    |
[INFO] [stdout] 67 |   static ref CHY: Mutex<LONG> = Mutex::new(0);
[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/main.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn fileio(w :HWND, f :HFONT, path :String, mode :u8)
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stdout]   --> src/main.rs:88:23
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn fileio(w :HWND, f :HFONT, path :String, mode :u8)
[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/main.rs:151:19
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn clearscreen(w :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/main.rs:161:15
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn clearch(w :HWND, i :usize, r :i32)
[INFO] [stdout]     |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stdout]    --> src/main.rs:171:22
[INFO] [stdout]     |
[INFO] [stdout] 171 | fn getx(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let x = vec[i].x; x}
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stdout]    --> src/main.rs:172:22
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn gety(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let y = vec[i].y; y}
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stdout]    --> src/main.rs:174:22
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn setx(i :usize, x :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].x = x;}
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stdout]    --> src/main.rs:175:22
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn sety(i :usize, y :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].y = y;}
[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/main.rs:191:25
[INFO] [stdout]     |
[INFO] [stdout] 191 | fn getrect(i :usize) -> RECT
[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/main.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn line(w :HWND, f :HFONT, mode :u8)
[INFO] [stdout]     |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:200:21
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn line(w :HWND, f :HFONT, mode :u8)
[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/main.rs:265:16
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM)
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:265:25
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM)
[INFO] [stdout]     |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:265:42
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM)
[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/main.rs:285:14
[INFO] [stdout]     |
[INFO] [stdout] 285 | fn key_up(w :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/main.rs:294:16
[INFO] [stdout]     |
[INFO] [stdout] 294 | fn key_down(w :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/main.rs:301:16
[INFO] [stdout]     |
[INFO] [stdout] 301 | fn key_left(w :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/main.rs:321:17
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn key_right(w :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/main.rs:351:17
[INFO] [stdout]     |
[INFO] [stdout] 351 | fn showcaret(w :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/main.rs:400:17
[INFO] [stdout]     |
[INFO] [stdout] 400 | fn hidecaret(w :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/main.rs:405:12
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT)
[INFO] [stdout]     |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:405:21
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT)
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:405:32
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT)
[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/main.rs:597:46
[INFO] [stdout]     |
[INFO] [stdout] 597 | pub unsafe extern "system" fn window_proc(w :HWND, 
[INFO] [stdout]     |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]    --> src/main.rs:598:8
[INFO] [stdout]     |
[INFO] [stdout] 598 |   msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stdout]     |        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:598:17
[INFO] [stdout]     |
[INFO] [stdout] 598 |   msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:598:28
[INFO] [stdout]     |
[INFO] [stdout] 598 |   msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:598:39
[INFO] [stdout]     |
[INFO] [stdout] 598 |   msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[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 41 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `read`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name read 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 lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-4b2a5971e089374b.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-73a6d2e5eb7ce673.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-467ba08c85af0c36.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "fb5497d0a67577dcd48d49906ac31e2098c549e38a2b4a10ff1e8c2526599815", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb5497d0a67577dcd48d49906ac31e2098c549e38a2b4a10ff1e8c2526599815", kill_on_drop: false }`
[INFO] [stdout] fb5497d0a67577dcd48d49906ac31e2098c549e38a2b4a10ff1e8c2526599815
