[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] checking seikichi/greentty against try#50b21af28e291c419ae81eebcb7705fb4200dc90 for pr-135167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseikichi%2Fgreentty" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seikichi/greentty on toolchain 50b21af28e291c419ae81eebcb7705fb4200dc90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "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 wayland-sys v0.21.12 [INFO] [stderr] Downloaded cmake v0.1.38 [INFO] [stderr] Downloaded wayland-commons v0.21.12 [INFO] [stderr] Downloaded core-text v13.2.0 [INFO] [stderr] Downloaded gleam v0.6.16 [INFO] [stderr] Downloaded wayland-scanner v0.21.12 [INFO] [stderr] Downloaded wayland-client v0.21.12 [INFO] [stderr] Downloaded glutin v0.20.0 [INFO] [stderr] Downloaded wayland-protocols v0.21.12 [INFO] [stderr] Downloaded smithay-client-toolkit v0.4.5 [INFO] [stderr] Downloaded rusttype v0.7.6 [INFO] [stderr] Downloaded winit v0.19.1 [INFO] [stderr] Downloaded harfbuzz_rs v1.0.0 [INFO] [stderr] Downloaded glium v0.24.0 [INFO] [stderr] Downloaded harfbuzz-sys v0.3.2 [INFO] [stderr] Downloaded vte v0.3.3 [INFO] [stderr] Downloaded cc v1.0.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9a0232275259694eb9d874b2670954a6025301de6e6a802b3e1975c1e6fcd0d [INFO] running `Command { std: "docker" "start" "-a" "e9a0232275259694eb9d874b2670954a6025301de6e6a802b3e1975c1e6fcd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9a0232275259694eb9d874b2670954a6025301de6e6a802b3e1975c1e6fcd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a0232275259694eb9d874b2670954a6025301de6e6a802b3e1975c1e6fcd0d", kill_on_drop: false }` [INFO] [stdout] e9a0232275259694eb9d874b2670954a6025301de6e6a802b3e1975c1e6fcd0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b048a849ff43c3e6fb54e309adfb78b91b42adeb6957f943edb1873391d8bd1 [INFO] running `Command { std: "docker" "start" "-a" "6b048a849ff43c3e6fb54e309adfb78b91b42adeb6957f943edb1873391d8bd1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling proc-macro2 v0.4.28 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling wayland-scanner v0.21.12 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling cmake v0.1.38 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking wayland-sys v0.21.12 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking rusttype v0.7.6 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling wayland-client v0.21.12 [INFO] [stderr] Compiling wayland-protocols v0.21.12 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling harfbuzz-sys v0.3.2 [INFO] [stderr] Checking wayland-commons v0.21.12 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Compiling glium v0.24.0 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking harfbuzz_rs v1.0.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.5 [INFO] [stderr] Checking winit v0.19.1 [INFO] [stderr] Checking glutin v0.20.0 [INFO] [stderr] Checking 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/os/mod.rs:120:1 [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[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] note: found an item that was configured out [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/os/mod.rs:120:1 [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] 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | ) -> Result> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | ) -> Result> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | pub fn write(&self, b: u8) -> Result<(), Box> { [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] note: if you're trying to build a new `File` consider using one of the following associated functions: [INFO] [stdout] File::open [INFO] [stdout] File::create [INFO] [stdout] File::create_new [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/fs.rs:382:5 [INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 | let mut file_in = File::from_raw_fd(pipe_in as RawHandle); [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] note: if you're trying to build a new `File` consider using one of the following associated functions: [INFO] [stdout] File::open [INFO] [stdout] File::create [INFO] [stdout] File::create_new [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/fs.rs:382:5 [INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 | let mut file_in = File::from_raw_fd(pipe_in as RawHandle); [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: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] note: if you're trying to build a new `File` consider using one of the following associated functions: [INFO] [stdout] File::open [INFO] [stdout] File::create [INFO] [stdout] File::create_new [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/fs.rs:382:5 [INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 151 | let mut file_out = File::from_raw_fd(pipe_out as RawHandle); [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: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] note: if you're trying to build a new `File` consider using one of the following associated functions: [INFO] [stdout] File::open [INFO] [stdout] File::create [INFO] [stdout] File::create_new [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/std/src/fs.rs:382:5 [INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 151 | let mut file_out = File::from_raw_fd(pipe_out as RawHandle); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `greentty` (bin "greentty") due to 13 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `greentty` (bin "greentty" test) due to 13 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6b048a849ff43c3e6fb54e309adfb78b91b42adeb6957f943edb1873391d8bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b048a849ff43c3e6fb54e309adfb78b91b42adeb6957f943edb1873391d8bd1", kill_on_drop: false }` [INFO] [stdout] 6b048a849ff43c3e6fb54e309adfb78b91b42adeb6957f943edb1873391d8bd1