[INFO] cloning repository https://github.com/seikichi/greentty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seikichi/greentty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseikichi%2Fgreentty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseikichi%2Fgreentty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a49da5aadc8ecc15d1651712b9d0ee674f04fd9 [INFO] testing seikichi/greentty against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseikichi%2Fgreentty" "/workspace/builds/worker-114/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-114/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seikichi/greentty on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-114/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" "+1.60.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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-text v13.2.0 [INFO] [stderr] Downloaded glium v0.24.0 [INFO] [stderr] Downloaded cmake v0.1.38 [INFO] [stderr] Downloaded harfbuzz_rs v1.0.0 [INFO] [stderr] Downloaded harfbuzz-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21a38ba748f9e1129dca9640896a2577b524eb222c8a3b9b04466eba03d74bcf [INFO] running `Command { std: "docker" "start" "-a" "21a38ba748f9e1129dca9640896a2577b524eb222c8a3b9b04466eba03d74bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21a38ba748f9e1129dca9640896a2577b524eb222c8a3b9b04466eba03d74bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21a38ba748f9e1129dca9640896a2577b524eb222c8a3b9b04466eba03d74bcf", kill_on_drop: false }` [INFO] [stdout] 21a38ba748f9e1129dca9640896a2577b524eb222c8a3b9b04466eba03d74bcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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" "RUSTFLAGS=--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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83542a491f3be19fe90d99c05e405439ededabb2ad1968efaad0b8cd91cdc07f [INFO] running `Command { std: "docker" "start" "-a" "83542a491f3be19fe90d99c05e405439ededabb2ad1968efaad0b8cd91cdc07f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling proc-macro2 v0.4.28 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling widestring v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cmake v0.1.38 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling harfbuzz-sys v0.3.2 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glium v0.24.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.21.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling wayland-sys v0.21.12 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling rusttype v0.7.6 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling harfbuzz_rs v1.0.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-commons v0.21.12 [INFO] [stderr] Compiling wayland-client v0.21.12 [INFO] [stderr] Compiling wayland-protocols 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: use of deprecated function `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 the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn main() -> Result<(), Box> { [INFO] [stdout] 18 + fn main() -> Result<(), Box> { [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn open(mut handler: H) -> Result> { [INFO] [stdout] 33 + pub fn open(mut handler: H) -> Result> { [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 - pub fn render(&mut self, state: &State) -> Result<(), Box> { [INFO] [stdout] 121 + pub fn render(&mut self, state: &State) -> Result<(), Box> { [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - pub fn resize(&self, cols: u32, rows: u32) -> Result<(), Box> { [INFO] [stdout] 77 + pub fn resize(&self, cols: u32, rows: u32) -> Result<(), Box> { [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - pub fn write(&self, b: u8) -> Result<(), Box> { [INFO] [stdout] 82 + pub fn write(&self, b: u8) -> Result<(), Box> { [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - ) -> Result> { [INFO] [stdout] 90 + ) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `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 `File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `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 `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; 9 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` due to 48 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "83542a491f3be19fe90d99c05e405439ededabb2ad1968efaad0b8cd91cdc07f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83542a491f3be19fe90d99c05e405439ededabb2ad1968efaad0b8cd91cdc07f", kill_on_drop: false }` [INFO] [stdout] 83542a491f3be19fe90d99c05e405439ededabb2ad1968efaad0b8cd91cdc07f