[INFO] cloning repository https://github.com/gmorenz/touchpad-draw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gmorenz/touchpad-draw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmorenz%2Ftouchpad-draw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmorenz%2Ftouchpad-draw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a7d0a1b4fe571ac36fb00f074959d7506d3e701 [INFO] checking gmorenz/touchpad-draw against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmorenz%2Ftouchpad-draw" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmorenz/touchpad-draw on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gmorenz/touchpad-draw [INFO] finished tweaking git repo https://github.com/gmorenz/touchpad-draw [INFO] tweaked toml for git repo https://github.com/gmorenz/touchpad-draw written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/gmorenz/touchpad-draw already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/pistondevelopers/image` [INFO] [stderr] Updating git repository `https://github.com/AngryLawyer/rust-sdl2` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93f742387841f19a0a70a71c8758f167442e26f5fed57aa7440c81be1d8d30d4 [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" "93f742387841f19a0a70a71c8758f167442e26f5fed57aa7440c81be1d8d30d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93f742387841f19a0a70a71c8758f167442e26f5fed57aa7440c81be1d8d30d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f742387841f19a0a70a71c8758f167442e26f5fed57aa7440c81be1d8d30d4", kill_on_drop: false }` [INFO] [stdout] 93f742387841f19a0a70a71c8758f167442e26f5fed57aa7440c81be1d8d30d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 25e404b93876e0f06d8337e3dba898a41506744c58d47586525e8e55618ccee5 [INFO] running `Command { std: "docker" "start" "-a" "25e404b93876e0f06d8337e3dba898a41506744c58d47586525e8e55618ccee5", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2 v0.34.3 (https://github.com/AngryLawyer/rust-sdl2#ed465322) [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling sdl2-sys v0.34.3 (https://github.com/AngryLawyer/rust-sdl2#ed465322) [INFO] [stderr] Checking image v0.23.11 (https://github.com/pistondevelopers/image#e0261ce3) [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking touchpad-draw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `keycode` in `sdl2` [INFO] [stdout] --> src/main.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | use sdl2::keycode::KeyCode::*; [INFO] [stdout] | ^^^^^^^ could not find `keycode` in `sdl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sdl2::video::OPENGL`, `sdl2::video::INPUT_GRABBED` [INFO] [stdout] --> src/main.rs:136:42 [INFO] [stdout] | [INFO] [stdout] 136 | use sdl2::video::{WindowPos, Window, OPENGL, INPUT_GRABBED}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ no `INPUT_GRABBED` in `video` [INFO] [stdout] | | [INFO] [stdout] | no `OPENGL` in `video` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Renderer` in `render` [INFO] [stdout] --> src/main.rs:145:38 [INFO] [stdout] | [INFO] [stdout] 145 | let mut renderer = sdl2::render::Renderer::from_window( [INFO] [stdout] | ^^^^^^^^ could not find `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RenderDriverIndex` in `render` [INFO] [stdout] --> src/main.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | window, sdl2::render::RenderDriverIndex::Auto, sdl2::render::ACCELERATED) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RenderDriverIndex` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT_EVERYTHING` in crate `sdl2` [INFO] [stdout] --> src/main.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | let ctx = sdl2::init(sdl2::INIT_EVERYTHING).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `sdl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ACCELERATED` in module `sdl2::render` [INFO] [stdout] --> src/main.rs:146:70 [INFO] [stdout] | [INFO] [stdout] 146 | window, sdl2::render::RenderDriverIndex::Auto, sdl2::render::ACCELERATED) [INFO] [stdout] | ^^^^^^^^^^^ not found in `sdl2::render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `show_cursor` in module `sdl2::mouse` [INFO] [stdout] --> src/main.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | sdl2::mouse::show_cursor( false ); [INFO] [stdout] | ^^^^^^^^^^^ not found in `sdl2::mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(libc,file_type,dir_entry_ext,convert)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::Event::*` [INFO] [stdout] --> src/event.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | use self::Event::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | if time::precise_time_s() - 0.030 > last_update { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | last_update = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | std::thread::sleep_ms(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::c_int as int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | fn _IOC( dir: int, typ: int, nr: int, size: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | fn _IOC( dir: int, typ: int, nr: int, size: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | fn _IOC( dir: int, typ: int, nr: int, size: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | fn _IOC( dir: int, typ: int, nr: int, size: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:100:54 [INFO] [stdout] | [INFO] [stdout] 100 | fn _IOC( dir: int, typ: int, nr: int, size: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | fn _IOC_TYPECHECK(_: T) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | std::mem::size_of::() as int [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn _IOR( typ: int, nr: int, size: T ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | fn _IOR( typ: int, nr: int, size: T ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | fn _IOR( typ: int, nr: int, size: T ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | fn EVIOCGBIT( ev: int, len: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | fn EVIOCGBIT( ev: int, len: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | fn EVIOCGBIT( ev: int, len: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | _IOC( 2 /* _IOC_READ */, 'E' as int, 0x20 + ev, len) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe fn EVIOCGABS( abs: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe fn EVIOCGABS( abs: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | _IOR('E' as int, 0x40 + abs, uninitialized::()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/event.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | _IOR('E' as int, 0x40 + abs, uninitialized::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/event.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | fn read(fd: int, buf: *mut u8, len: int ) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | fn read(fd: int, buf: *mut u8, len: int ) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:139:50 [INFO] [stdout] | [INFO] [stdout] 139 | fn read(fd: int, buf: *mut u8, len: int ) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | fn perror(string: int /* *const u8 */); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:141:43 [INFO] [stdout] | [INFO] [stdout] 141 | fn open(filename: *const i8, options: int) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 141 | fn open(filename: *const i8, options: int) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | fn ioctl(fd: int, request: int, bitfield: *mut u8) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | fn ioctl(fd: int, request: int, bitfield: *mut u8) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:143:59 [INFO] [stdout] | [INFO] [stdout] 143 | fn ioctl(fd: int, request: int, bitfield: *mut u8) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | unsafe fn has_abs(fd: int) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:148:54 [INFO] [stdout] | [INFO] [stdout] 148 | let res = ioctl(fd, EVIOCGBIT( EventType::Abs as int, 1), &mut ret as *mut u8); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | fn read_input_event(fd: int) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/event.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let v = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/event.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 160 | use std::mem::{transmute, uninitialized, size_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `keycode` in `sdl2` [INFO] [stdout] --> src/main.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | use sdl2::keycode::KeyCode::*; [INFO] [stdout] | ^^^^^^^ could not find `keycode` in `sdl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn open_event() -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn get_size( fd: int ) -> (i32, i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sdl2::video::OPENGL`, `sdl2::video::INPUT_GRABBED` [INFO] [stdout] --> src/main.rs:136:42 [INFO] [stdout] | [INFO] [stdout] 136 | use sdl2::video::{WindowPos, Window, OPENGL, INPUT_GRABBED}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ no `INPUT_GRABBED` in `video` [INFO] [stdout] | | [INFO] [stdout] | no `OPENGL` in `video` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:211:56 [INFO] [stdout] | [INFO] [stdout] 211 | if 0 > ioctl(fd, EVIOCGABS( AbsEventCode::X as int ), tran(&mut info) ) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:216:56 [INFO] [stdout] | [INFO] [stdout] 216 | if 0 > ioctl(fd, EVIOCGABS( AbsEventCode::Y as int ), tran(&mut info) ) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Renderer` in `render` [INFO] [stdout] --> src/main.rs:145:38 [INFO] [stdout] | [INFO] [stdout] 145 | let mut renderer = sdl2::render::Renderer::from_window( [INFO] [stdout] | ^^^^^^^^ could not find `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RenderDriverIndex` in `render` [INFO] [stdout] --> src/main.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | window, sdl2::render::RenderDriverIndex::Auto, sdl2::render::ACCELERATED) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RenderDriverIndex` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT_EVERYTHING` in crate `sdl2` [INFO] [stdout] --> src/main.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | let ctx = sdl2::init(sdl2::INIT_EVERYTHING).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `sdl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ACCELERATED` in module `sdl2::render` [INFO] [stdout] --> src/main.rs:146:70 [INFO] [stdout] | [INFO] [stdout] 146 | window, sdl2::render::RenderDriverIndex::Auto, sdl2::render::ACCELERATED) [INFO] [stdout] | ^^^^^^^^^^^ not found in `sdl2::render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `show_cursor` in module `sdl2::mouse` [INFO] [stdout] --> src/main.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | sdl2::mouse::show_cursor( false ); [INFO] [stdout] | ^^^^^^^^^^^ not found in `sdl2::mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(libc,file_type,dir_entry_ext,convert)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::Event::*` [INFO] [stdout] --> src/event.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | use self::Event::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | let ctx = sdl2::init(sdl2::INIT_EVERYTHING).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ --------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | if time::precise_time_s() - 0.030 > last_update { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | last_update = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | std::thread::sleep_ms(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::c_int as int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | fn _IOC( dir: int, typ: int, nr: int, size: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | fn _IOC( dir: int, typ: int, nr: int, size: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | fn _IOC( dir: int, typ: int, nr: int, size: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | fn _IOC( dir: int, typ: int, nr: int, size: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:100:54 [INFO] [stdout] | [INFO] [stdout] 100 | fn _IOC( dir: int, typ: int, nr: int, size: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | fn _IOC_TYPECHECK(_: T) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | std::mem::size_of::() as int [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn _IOR( typ: int, nr: int, size: T ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | fn _IOR( typ: int, nr: int, size: T ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | fn _IOR( typ: int, nr: int, size: T ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | fn EVIOCGBIT( ev: int, len: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | fn EVIOCGBIT( ev: int, len: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | fn EVIOCGBIT( ev: int, len: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | _IOC( 2 /* _IOC_READ */, 'E' as int, 0x20 + ev, len) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe fn EVIOCGABS( abs: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe fn EVIOCGABS( abs: int ) -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | _IOR('E' as int, 0x40 + abs, uninitialized::()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/event.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | _IOR('E' as int, 0x40 + abs, uninitialized::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/event.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | fn read(fd: int, buf: *mut u8, len: int ) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | fn read(fd: int, buf: *mut u8, len: int ) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:139:50 [INFO] [stdout] | [INFO] [stdout] 139 | fn read(fd: int, buf: *mut u8, len: int ) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | fn perror(string: int /* *const u8 */); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:141:43 [INFO] [stdout] | [INFO] [stdout] 141 | fn open(filename: *const i8, options: int) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 141 | fn open(filename: *const i8, options: int) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | fn ioctl(fd: int, request: int, bitfield: *mut u8) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | fn ioctl(fd: int, request: int, bitfield: *mut u8) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:143:59 [INFO] [stdout] | [INFO] [stdout] 143 | fn ioctl(fd: int, request: int, bitfield: *mut u8) -> int; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | unsafe fn has_abs(fd: int) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:148:54 [INFO] [stdout] | [INFO] [stdout] 148 | let res = ioctl(fd, EVIOCGBIT( EventType::Abs as int, 1), &mut ret as *mut u8); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | fn read_input_event(fd: int) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/event.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let v = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/event.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 160 | use std::mem::{transmute, uninitialized, size_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn open_event() -> int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn get_size( fd: int ) -> (i32, i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:211:56 [INFO] [stdout] | [INFO] [stdout] 211 | if 0 > ioctl(fd, EVIOCGABS( AbsEventCode::X as int ), tran(&mut info) ) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/event.rs:216:56 [INFO] [stdout] | [INFO] [stdout] 216 | if 0 > ioctl(fd, EVIOCGABS( AbsEventCode::Y as int ), tran(&mut info) ) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | let ctx = sdl2::init(sdl2::INIT_EVERYTHING).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ --------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `sdl2::video::Window` in the current scope [INFO] [stdout] --> src/main.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | let window = Window::new( &ctx, "touchpad-draw", WindowPos::PosCentered, [INFO] [stdout] | ^^^ function or associated item not found in `sdl2::video::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PosCentered` found for enum `WindowPos` in the current scope [INFO] [stdout] --> src/main.rs:142:65 [INFO] [stdout] | [INFO] [stdout] 142 | let window = Window::new( &ctx, "touchpad-draw", WindowPos::PosCentered, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `WindowPos` [INFO] [stdout] | help: there is a variant with a similar name: `Centered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PosCentered` found for enum `WindowPos` in the current scope [INFO] [stdout] --> src/main.rs:143:42 [INFO] [stdout] | [INFO] [stdout] 143 | ... WindowPos::PosCentered, w as i32, h as i32, OPENGL | INPUT_GRABBED ) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `WindowPos` [INFO] [stdout] | help: there is a variant with a similar name: `Centered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb<_>` has no field named `data` [INFO] [stdout] --> src/main.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | image::Rgb{ data: [255, 255, 255] } [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb` has no field named `data` [INFO] [stdout] --> src/main.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | draw_color: image::Rgb{ data: [0, 0, 0] }, [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_iter` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:183:26 [INFO] [stdout] | [INFO] [stdout] 183 | for ev in events.poll_iter() { [INFO] [stdout] | ^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb` has no field named `data` [INFO] [stdout] --> src/main.rs:192:80 [INFO] [stdout] | [INFO] [stdout] 192 | KeyDown{ keycode: Num1, .. } => state.draw_color = image::Rgb{ data: [0, 0, 0] }, [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb` has no field named `data` [INFO] [stdout] --> src/main.rs:193:80 [INFO] [stdout] | [INFO] [stdout] 193 | KeyDown{ keycode: Num2, .. } => state.draw_color = image::Rgb{ data: [255, 0, 0] }, [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb` has no field named `data` [INFO] [stdout] --> src/main.rs:194:80 [INFO] [stdout] | [INFO] [stdout] 194 | KeyDown{ keycode: Num3, .. } => state.draw_color = image::Rgb{ data: [0, 255, 0] }, [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb` has no field named `data` [INFO] [stdout] --> src/main.rs:195:80 [INFO] [stdout] | [INFO] [stdout] 195 | KeyDown{ keycode: Num4, .. } => state.draw_color = image::Rgb{ data: [0, 0, 255] }, [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 9 arguments were supplied [INFO] [stdout] --> src/main.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | let surface = Surface::from_data( &mut state.img, w as i32, h as i32, 24, w as i32*3, 0, 0, 0, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ -------------- -------- -------- -- ---------- - - - - supplied 9 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_cstring` found for struct `OsString` in the current scope [INFO] [stdout] --> src/event.rs:184:57 [INFO] [stdout] | [INFO] [stdout] 184 | let path = file.path().into_os_string().to_cstring().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: there is an associated function with a similar name: `into_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0554, E0560, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `touchpad-draw` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `sdl2::video::Window` in the current scope [INFO] [stdout] --> src/main.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | let window = Window::new( &ctx, "touchpad-draw", WindowPos::PosCentered, [INFO] [stdout] | ^^^ function or associated item not found in `sdl2::video::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PosCentered` found for enum `WindowPos` in the current scope [INFO] [stdout] --> src/main.rs:142:65 [INFO] [stdout] | [INFO] [stdout] 142 | let window = Window::new( &ctx, "touchpad-draw", WindowPos::PosCentered, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `WindowPos` [INFO] [stdout] | help: there is a variant with a similar name: `Centered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PosCentered` found for enum `WindowPos` in the current scope [INFO] [stdout] --> src/main.rs:143:42 [INFO] [stdout] | [INFO] [stdout] 143 | ... WindowPos::PosCentered, w as i32, h as i32, OPENGL | INPUT_GRABBED ) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `WindowPos` [INFO] [stdout] | help: there is a variant with a similar name: `Centered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb<_>` has no field named `data` [INFO] [stdout] --> src/main.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | image::Rgb{ data: [255, 255, 255] } [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb` has no field named `data` [INFO] [stdout] --> src/main.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | draw_color: image::Rgb{ data: [0, 0, 0] }, [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_iter` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:183:26 [INFO] [stdout] | [INFO] [stdout] 183 | for ev in events.poll_iter() { [INFO] [stdout] | ^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb` has no field named `data` [INFO] [stdout] --> src/main.rs:192:80 [INFO] [stdout] | [INFO] [stdout] 192 | KeyDown{ keycode: Num1, .. } => state.draw_color = image::Rgb{ data: [0, 0, 0] }, [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb` has no field named `data` [INFO] [stdout] --> src/main.rs:193:80 [INFO] [stdout] | [INFO] [stdout] 193 | KeyDown{ keycode: Num2, .. } => state.draw_color = image::Rgb{ data: [255, 0, 0] }, [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb` has no field named `data` [INFO] [stdout] --> src/main.rs:194:80 [INFO] [stdout] | [INFO] [stdout] 194 | KeyDown{ keycode: Num3, .. } => state.draw_color = image::Rgb{ data: [0, 255, 0] }, [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgb` has no field named `data` [INFO] [stdout] --> src/main.rs:195:80 [INFO] [stdout] | [INFO] [stdout] 195 | KeyDown{ keycode: Num4, .. } => state.draw_color = image::Rgb{ data: [0, 0, 255] }, [INFO] [stdout] | ---------- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgb<_>` is a tuple struct, use the appropriate syntax: `Rgb<_>(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/image-ac7d41938885a19a/e0261ce/./src/color.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Rgb, 3, 0, "RGB", ColorType::Rgb8, ColorType::Rgb16, #[doc = "RGB colors"]; [INFO] [stdout] | --- `Rgb<_>` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 9 arguments were supplied [INFO] [stdout] --> src/main.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | let surface = Surface::from_data( &mut state.img, w as i32, h as i32, 24, w as i32*3, 0, 0, 0, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ -------------- -------- -------- -- ---------- - - - - supplied 9 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_cstring` found for struct `OsString` in the current scope [INFO] [stdout] --> src/event.rs:184:57 [INFO] [stdout] | [INFO] [stdout] 184 | let path = file.path().into_os_string().to_cstring().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: there is an associated function with a similar name: `into_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0554, E0560, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "25e404b93876e0f06d8337e3dba898a41506744c58d47586525e8e55618ccee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e404b93876e0f06d8337e3dba898a41506744c58d47586525e8e55618ccee5", kill_on_drop: false }` [INFO] [stdout] 25e404b93876e0f06d8337e3dba898a41506744c58d47586525e8e55618ccee5