[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.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseikichi%2Fgreentty" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seikichi/greentty on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.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-4-tc1/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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing seikichi/greentty against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseikichi%2Fgreentty" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seikichi/greentty on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "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-4-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" "+beta-2024-03-24" "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 utf8parse v0.1.1 [INFO] [stderr] Downloaded smallvec v0.6.9 [INFO] [stderr] Downloaded widestring v0.4.0 [INFO] [stderr] Downloaded stb_truetype v0.2.6 [INFO] [stderr] Downloaded rusttype v0.7.6 [INFO] [stderr] Downloaded unicode-normalization v0.1.8 [INFO] [stderr] Downloaded cfg-if v0.1.7 [INFO] [stderr] Downloaded lazy_static v1.3.0 [INFO] [stderr] Downloaded crossbeam-deque v0.7.1 [INFO] [stderr] Downloaded cmake v0.1.38 [INFO] [stderr] Downloaded linked-hash-map v0.5.2 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded nodrop v0.1.13 [INFO] [stderr] Downloaded crossbeam-utils v0.6.5 [INFO] [stderr] Downloaded cc v1.0.35 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.3 [INFO] [stderr] Downloaded gl_generator v0.11.0 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.3 [INFO] [stderr] Downloaded cocoa v0.18.4 [INFO] [stderr] Downloaded gleam v0.6.16 [INFO] [stderr] Downloaded lock_api v0.1.5 [INFO] [stderr] Downloaded nix v0.13.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.4.5 [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded backtrace-sys v0.1.28 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] [stderr] Downloaded winit v0.19.1 [INFO] [stderr] Downloaded libc v0.2.51 [INFO] [stderr] Downloaded wayland-protocols v0.21.12 [INFO] [stderr] Downloaded quote v0.6.12 [INFO] [stderr] Downloaded servo-freetype-sys v4.0.5 [INFO] [stderr] Downloaded vte v0.3.3 [INFO] [stderr] Downloaded xml-rs v0.8.0 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded harfbuzz-sys v0.3.2 [INFO] [stderr] Downloaded core-text v13.2.0 [INFO] [stderr] Downloaded glium v0.24.0 [INFO] [stderr] Downloaded harfbuzz_rs v1.0.0 [INFO] [stderr] Downloaded rand_jitter v0.1.3 [INFO] [stderr] Downloaded parking_lot_core v0.4.0 [INFO] [stderr] Downloaded parking_lot v0.7.1 [INFO] [stderr] Downloaded same-file v1.0.4 [INFO] [stderr] Downloaded winapi-util v0.1.2 [INFO] [stderr] Downloaded walkdir v2.2.7 [INFO] [stderr] Downloaded downcast-rs v1.0.4 [INFO] [stderr] Downloaded proc-macro2 v0.4.28 [INFO] [stderr] Downloaded wayland-client v0.21.12 [INFO] [stderr] Downloaded glutin v0.20.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.14 [INFO] [stderr] Downloaded backtrace v0.3.15 [INFO] [stderr] Downloaded objc v0.2.6 [INFO] [stderr] Downloaded wayland-scanner v0.21.12 [INFO] [stderr] Downloaded log v0.4.6 [INFO] [stderr] Downloaded wayland-commons v0.21.12 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.5 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.3 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded wayland-sys v0.21.12 [INFO] [stderr] Downloaded freetype v0.4.1 [INFO] [stderr] Downloaded arrayvec v0.4.10 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded num-traits v0.2.6 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.1 [INFO] [stderr] Downloaded rustc-hash v1.0.1 [INFO] [stderr] Downloaded byteorder v1.3.1 [INFO] [stderr] Downloaded num_cpus v1.10.0 [INFO] [stderr] Downloaded ordered-float v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e088287a733685e40598ef12658df8149383d05ade8a8ca282a9bb70fadce894 [INFO] running `Command { std: "docker" "start" "-a" "e088287a733685e40598ef12658df8149383d05ade8a8ca282a9bb70fadce894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e088287a733685e40598ef12658df8149383d05ade8a8ca282a9bb70fadce894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e088287a733685e40598ef12658df8149383d05ade8a8ca282a9bb70fadce894", kill_on_drop: false }` [INFO] [stdout] e088287a733685e40598ef12658df8149383d05ade8a8ca282a9bb70fadce894 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ad276b0fca1b3d2015947c892a26a1a99b6e7b52415c7807df6eebbc87e8f55 [INFO] running `Command { std: "docker" "start" "-a" "5ad276b0fca1b3d2015947c892a26a1a99b6e7b52415c7807df6eebbc87e8f55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.28 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling wayland-scanner v0.21.12 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cmake v0.1.38 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling wayland-sys v0.21.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rusttype v0.7.6 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling wayland-client v0.21.12 [INFO] [stderr] Compiling wayland-protocols v0.21.12 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling wayland-commons v0.21.12 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling harfbuzz-sys v0.3.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling glium v0.24.0 [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 fnv v1.0.6 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling harfbuzz_rs v1.0.0 [INFO] [stderr] Compiling widestring v0.4.0 [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] note: found an item that was configured out [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/os/mod.rs:100:9 [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: the item `glium` is imported redundantly [INFO] [stdout] --> src/display.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glium; [INFO] [stdout] | ^^^^^ the item `glium` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/fs.rs:374: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/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/fs.rs:374: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] 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] [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 13 previous errors; 10 warnings emitted [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] [stderr] error: could not compile `greentty` (bin "greentty") due to 14 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5ad276b0fca1b3d2015947c892a26a1a99b6e7b52415c7807df6eebbc87e8f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ad276b0fca1b3d2015947c892a26a1a99b6e7b52415c7807df6eebbc87e8f55", kill_on_drop: false }` [INFO] [stdout] 5ad276b0fca1b3d2015947c892a26a1a99b6e7b52415c7807df6eebbc87e8f55