[INFO] updating cached repository https://github.com/seikichi/greentty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a49da5aadc8ecc15d1651712b9d0ee674f04fd9 [INFO] testing seikichi/greentty against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseikichi%2Fgreentty" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seikichi/greentty on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seikichi/greentty [INFO] finished tweaking git repo https://github.com/seikichi/greentty [INFO] tweaked toml for git repo https://github.com/seikichi/greentty written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/seikichi/greentty already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb22f01ef32dbd628d6fef15d6a10f791a31e4e7a6471cb19e88df32d42fef22 [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" "eb22f01ef32dbd628d6fef15d6a10f791a31e4e7a6471cb19e88df32d42fef22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb22f01ef32dbd628d6fef15d6a10f791a31e4e7a6471cb19e88df32d42fef22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb22f01ef32dbd628d6fef15d6a10f791a31e4e7a6471cb19e88df32d42fef22", kill_on_drop: false }` [INFO] [stdout] eb22f01ef32dbd628d6fef15d6a10f791a31e4e7a6471cb19e88df32d42fef22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2aa977ccf6763c0f1851943017e98c16cc6ad05b2a9afcfba7a3d0b83591894 [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" "a2aa977ccf6763c0f1851943017e98c16cc6ad05b2a9afcfba7a3d0b83591894", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling widestring v0.4.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling cmake v0.1.38 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling wayland-scanner v0.21.12 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling harfbuzz-sys v0.3.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rusttype v0.7.6 [INFO] [stderr] Compiling wayland-sys v0.21.12 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glium v0.24.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling harfbuzz_rs v1.0.0 [INFO] [stderr] Compiling wayland-client v0.21.12 [INFO] [stderr] Compiling wayland-protocols v0.21.12 [INFO] [stderr] Compiling wayland-commons v0.21.12 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.5 [INFO] [stderr] Compiling winit v0.19.1 [INFO] [stderr] Compiling glutin v0.20.0 [INFO] [stderr] Compiling greentty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/pty.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::io::{FromRawHandle, RawHandle}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/pty.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::basetsd::{PSIZE_T, SIZE_T}; [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/pty.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::minwindef::BYTE; [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/pty.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::ntdef::LPWSTR; [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/pty.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::consoleapi::{ClosePseudoConsole, CreatePseudoConsole, ResizePseudoConsole}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pty.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pty.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::namedpipeapi::CreatePipe; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pty.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::processthreadsapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pty.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winbase::{EXTENDED_STARTUPINFO_PRESENT, STARTUPINFOEXW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pty.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::wincontypes::{COORD, HPCON}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pty.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HPCON` in this scope [INFO] [stdout] --> src/pty.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | handle: HPCON, [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/pty.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pipe_in: 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/pty.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pipe_out: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/pty.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | CloseHandle(self.pipe_in); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/pty.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | CloseHandle(self.pipe_out); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClosePseudoConsole` in this scope [INFO] [stdout] --> src/pty.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ClosePseudoConsole(self.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/pty.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | let mut pipe_in: HANDLE = null_mut(); [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/pty.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | let mut pipe_out: HANDLE = null_mut(); [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/pty.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | let mut pipe_pty_in: HANDLE = null_mut(); [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/pty.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | let mut pipe_pty_out: HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePipe` in this scope [INFO] [stdout] --> src/pty.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | CreatePipe(&mut pipe_pty_in, &mut pipe_in, null_mut(), 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePipe` in this scope [INFO] [stdout] --> src/pty.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | CreatePipe(&mut pipe_out, &mut pipe_pty_out, null_mut(), 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePseudoConsole` in this scope [INFO] [stdout] --> src/pty.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | CreatePseudoConsole( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/pty.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | COORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOEXW` in this scope [INFO] [stdout] --> src/pty.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | let mut si_ex: STARTUPINFOEXW = { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOEXW` in this scope [INFO] [stdout] --> src/pty.rs:116:51 [INFO] [stdout] | [INFO] [stdout] 76 | impl Pty { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 116 | si_ex.StartupInfo.cb = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/pty.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | let mut size: SIZE_T = 0; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeProcThreadAttributeList` in this scope [INFO] [stdout] --> src/pty.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | InitializeProcThreadAttributeList(null_mut(), 1, 0, &mut size as PSIZE_T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSIZE_T` in this scope [INFO] [stdout] --> src/pty.rs:119:78 [INFO] [stdout] | [INFO] [stdout] 119 | InitializeProcThreadAttributeList(null_mut(), 1, 0, &mut size as PSIZE_T); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/pty.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 76 | impl Pty { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 121 | let mut attr_list: Box<[BYTE]> = vec![0; size].into_boxed_slice(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeProcThreadAttributeList` in this scope [INFO] [stdout] --> src/pty.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | InitializeProcThreadAttributeList(si_ex.lpAttributeList, 1, 0, &mut size as PSIZE_T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSIZE_T` in this scope [INFO] [stdout] --> src/pty.rs:124:89 [INFO] [stdout] | [INFO] [stdout] 124 | InitializeProcThreadAttributeList(si_ex.lpAttributeList, 1, 0, &mut size as PSIZE_T); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateProcThreadAttribute` in this scope [INFO] [stdout] --> src/pty.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | UpdateProcThreadAttribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HPCON` in this scope [INFO] [stdout] --> src/pty.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 76 | impl Pty { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 130 | mem::size_of::(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/pty.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | let mut proc_info: PROCESS_INFORMATION = { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in this scope [INFO] [stdout] --> src/pty.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | CreateProcessW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/pty.rs:139:73 [INFO] [stdout] | [INFO] [stdout] 139 | U16CString::from_str(config.shell).unwrap().as_ptr() as LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXTENDED_STARTUPINFO_PRESENT` in this scope [INFO] [stdout] --> src/pty.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | EXTENDED_STARTUPINFO_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope [INFO] [stdout] --> src/pty.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 146 | &mut si_ex.StartupInfo as *mut STARTUPINFOW, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/pty.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 147 | &mut proc_info as *mut PROCESS_INFORMATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stdout] --> src/pty.rs:150:64 [INFO] [stdout] | [INFO] [stdout] 150 | let mut file_in = File::from_raw_handle(pipe_in as RawHandle); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stdout] --> src/pty.rs:151:66 [INFO] [stdout] | [INFO] [stdout] 151 | let mut file_out = File::from_raw_handle(pipe_out as RawHandle); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResizePseudoConsole` in this scope [INFO] [stdout] --> src/pty.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | ResizePseudoConsole(inner.handle, COORD { X: x, Y: y }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/pty.rs:181:59 [INFO] [stdout] | [INFO] [stdout] 181 | ResizePseudoConsole(inner.handle, COORD { X: x, Y: y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/display.rs:33:82 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn open(mut handler: H) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/display.rs:121:63 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn render(&mut self, state: &State) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pty.rs:77:66 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn resize(&self, cols: u32, rows: u32) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pty.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn write(&self, b: u8) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pty.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | ) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/display.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | implement_vertex!(Vertex, position, tex_coords, colour); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/display.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | implement_vertex!(Vertex, position, tex_coords, colour); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/pty.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | let mut file_in = File::from_raw_handle(pipe_in as RawHandle); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/pty.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let mut file_out = File::from_raw_handle(pipe_out as RawHandle); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/pty.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/pty.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `greentty`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a2aa977ccf6763c0f1851943017e98c16cc6ad05b2a9afcfba7a3d0b83591894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2aa977ccf6763c0f1851943017e98c16cc6ad05b2a9afcfba7a3d0b83591894", kill_on_drop: false }` [INFO] [stdout] a2aa977ccf6763c0f1851943017e98c16cc6ad05b2a9afcfba7a3d0b83591894