[INFO] cloning repository https://github.com/AnchoviesHat/tilepaste [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnchoviesHat/tilepaste" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchoviesHat%2Ftilepaste", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchoviesHat%2Ftilepaste'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 521c69174e97a53db23099aeaf6c36cc35e4d899 [INFO] checking AnchoviesHat/tilepaste against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchoviesHat%2Ftilepaste" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnchoviesHat/tilepaste on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AnchoviesHat/tilepaste [INFO] finished tweaking git repo https://github.com/AnchoviesHat/tilepaste [INFO] tweaked toml for git repo https://github.com/AnchoviesHat/tilepaste written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/AnchoviesHat/tilepaste already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-13/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glium v0.29.0 [INFO] [stderr] Downloaded glium v0.23.0 [INFO] [stderr] Downloaded glium_text v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd5fce6403cd2d4b6d1143d04d2addcc33feb1784fe286390687f388dbf8a985 [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" "bd5fce6403cd2d4b6d1143d04d2addcc33feb1784fe286390687f388dbf8a985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd5fce6403cd2d4b6d1143d04d2addcc33feb1784fe286390687f388dbf8a985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd5fce6403cd2d4b6d1143d04d2addcc33feb1784fe286390687f388dbf8a985", kill_on_drop: false }` [INFO] [stdout] bd5fce6403cd2d4b6d1143d04d2addcc33feb1784fe286390687f388dbf8a985 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36fbb2ad8131550d0428d648776a0da3d053218bb26562de485643090150c81c [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" "36fbb2ad8131550d0428d648776a0da3d053218bb26562de485643090150c81c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling glium v0.23.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glium v0.29.0 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking wayland-commons v0.28.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking wayland-cursor v0.28.3 [INFO] [stderr] Checking wayland-egl v0.28.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.2 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking glium_text v0.14.0 [INFO] [stderr] Checking tilepaste v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use glium::{DisplayBuild, Surface}; [INFO] [stdout] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stdout] --> src/tile.rs:53:42 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, tile_width: u32, tile_height: u32) -> TileAtlas { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | glium::glutin::VirtualKeyCode::W => Some((Action::Up, self.keys.get_mut(&Action::Up).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | glium::glutin::VirtualKeyCode::S => Some((Action::Down, self.keys.get_mut(&Action::Down).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | glium::glutin::VirtualKeyCode::A => Some((Action::Left, self.keys.get_mut(&Action::Left).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | glium::glutin::VirtualKeyCode::D => Some((Action::Right, self.keys.get_mut(&Action::Right).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | glium::glutin::VirtualKeyCode::Space => Some((Action::Space, self.keys.get_mut(&Action::Space).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | glium::glutin::VirtualKeyCode::Q => Some((Action::Quit, self.keys.get_mut(&Action::Quit).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | glium::glutin::VirtualKeyCode::Escape => Some((Action::Back, self.keys.get_mut(&Action::Back).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | glium::glutin::VirtualKeyCode::Return => Some((Action::Enter, self.keys.get_mut(&Action::Enter).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ElementState` in `glutin` [INFO] [stdout] --> src/keyboard.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | if new_state == glium::glutin::ElementState::Released { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `ElementState` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ElementState` in `glutin` [INFO] [stdout] --> src/keyboard.rs:68:48 [INFO] [stdout] | [INFO] [stdout] 68 | if new_state == glium::glutin::ElementState::Pressed { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `ElementState` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stdout] --> src/menu.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, tex_name: &str, ratio: f32) -> Menu { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MouseButton` in `glutin` [INFO] [stdout] --> src/menu.rs:64:80 [INFO] [stdout] | [INFO] [stdout] 64 | if clicked.is_some() && clicked.unwrap() == glium::glutin::MouseButton::Left { [INFO] [stdout] | ^^^^^^^^^^^ could not find `MouseButton` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stdout] --> src/menu.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, x: f32, y: f32, width: f32, height: f32, text: String, tex_name: S... [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use glium::{DisplayBuild, Surface}; [INFO] [stdout] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | glium::glutin::Event::Closed => { game_state = SceneTrans::Quit; }, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | glium::glutin::Event::KeyboardInput(state, _, key) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | glium::glutin::Event::MouseMoved(c) => { coords = Some(c); }, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | glium::glutin::Event::MouseInput(_, b) => { mouse = Some(b); }, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | glium::glutin::Event::Resized(tmp_height, tmp_width) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/tile.rs:54:95 [INFO] [stdout] | [INFO] [stdout] 54 | let img = image::load(Cursor::new(&include_bytes!("../assets/atlas.png")[..]), image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glium::glutin` [INFO] [stdout] --> src/keyboard.rs:44:47 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get(&mut self, key: glium::glutin::VirtualKeyCode) -> Option<(Action, &mut KeyState)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use glium::glutin::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stdout] --> src/tile.rs:53:42 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, tile_width: u32, tile_height: u32) -> TileAtlas { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glium::glutin` [INFO] [stdout] --> src/keyboard.rs:58:50 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn update(&mut self, key: glium::glutin::VirtualKeyCode, new_state: glium::glutin::ElementState) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use glium::glutin::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElementState` in crate `glium::glutin` [INFO] [stdout] --> src/keyboard.rs:58:92 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn update(&mut self, key: glium::glutin::VirtualKeyCode, new_state: glium::glutin::ElementState) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use glium::glutin::event::ElementState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MouseButton` in crate `glium::glutin` [INFO] [stdout] --> src/game.rs:38:118 [INFO] [stdout] | [INFO] [stdout] 38 | ...on<(i32, i32)>, clicked: Option, dt: f32) -> SceneTrans { [INFO] [stdout] | ^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use glium::glutin::event::MouseButton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/menu.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MouseButton` in crate `glium::glutin` [INFO] [stdout] --> src/menu.rs:54:118 [INFO] [stdout] | [INFO] [stdout] 54 | ...on<(i32, i32)>, clicked: Option, dt: f32) -> SceneTrans { [INFO] [stdout] | ^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use glium::glutin::event::MouseButton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/menu.rs:117:48 [INFO] [stdout] | [INFO] [stdout] 117 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MouseButton` in crate `glium::glutin` [INFO] [stdout] --> src/main.rs:32:114 [INFO] [stdout] | [INFO] [stdout] 32 | ...on<(i32, i32)>, clicked: Option, dt: f32) -> SceneTrans; [INFO] [stdout] | ^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 17 | use glium::glutin::event::MouseButton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/main.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | let display = glium::glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 | use glium::glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/map.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | let view = View::new(0.0, 0.0, view_width, ((30.0 / ratio).floor())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/menu.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | (x >= self.x && x <= self.x + self.width && y >= self.y && y <= self.y + self.height) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/main.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn draw(&mut self, mut target: &mut glium::Frame, program: &glium::Program, text_system: &'a glium_text::TextSystem, font: &'a glium_tex... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | let start_time = time::precise_time_ns(); [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_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | let end_time = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | glium::glutin::VirtualKeyCode::W => Some((Action::Up, self.keys.get_mut(&Action::Up).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | glium::glutin::VirtualKeyCode::S => Some((Action::Down, self.keys.get_mut(&Action::Down).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | glium::glutin::VirtualKeyCode::A => Some((Action::Left, self.keys.get_mut(&Action::Left).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | glium::glutin::VirtualKeyCode::D => Some((Action::Right, self.keys.get_mut(&Action::Right).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | glium::glutin::VirtualKeyCode::Space => Some((Action::Space, self.keys.get_mut(&Action::Space).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | glium::glutin::VirtualKeyCode::Q => Some((Action::Quit, self.keys.get_mut(&Action::Quit).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | glium::glutin::VirtualKeyCode::Escape => Some((Action::Back, self.keys.get_mut(&Action::Back).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/keyboard.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | glium::glutin::VirtualKeyCode::Return => Some((Action::Enter, self.keys.get_mut(&Action::Enter).unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ElementState` in `glutin` [INFO] [stdout] --> src/keyboard.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | if new_state == glium::glutin::ElementState::Released { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `ElementState` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ElementState` in `glutin` [INFO] [stdout] --> src/keyboard.rs:68:48 [INFO] [stdout] | [INFO] [stdout] 68 | if new_state == glium::glutin::ElementState::Pressed { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `ElementState` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stdout] --> src/menu.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, tex_name: &str, ratio: f32) -> Menu { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MouseButton` in `glutin` [INFO] [stdout] --> src/menu.rs:64:80 [INFO] [stdout] | [INFO] [stdout] 64 | if clicked.is_some() && clicked.unwrap() == glium::glutin::MouseButton::Left { [INFO] [stdout] | ^^^^^^^^^^^ could not find `MouseButton` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stdout] --> src/menu.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, x: f32, y: f32, width: f32, height: f32, text: String, tex_name: S... [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | glium::glutin::Event::Closed => { game_state = SceneTrans::Quit; }, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | glium::glutin::Event::KeyboardInput(state, _, key) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | glium::glutin::Event::MouseMoved(c) => { coords = Some(c); }, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | glium::glutin::Event::MouseInput(_, b) => { mouse = Some(b); }, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | glium::glutin::Event::Resized(tmp_height, tmp_width) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/tile.rs:54:95 [INFO] [stdout] | [INFO] [stdout] 54 | let img = image::load(Cursor::new(&include_bytes!("../assets/atlas.png")[..]), image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glium::glutin` [INFO] [stdout] --> src/keyboard.rs:44:47 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get(&mut self, key: glium::glutin::VirtualKeyCode) -> Option<(Action, &mut KeyState)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use glium::glutin::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glium::glutin` [INFO] [stdout] --> src/keyboard.rs:58:50 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn update(&mut self, key: glium::glutin::VirtualKeyCode, new_state: glium::glutin::ElementState) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use glium::glutin::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElementState` in crate `glium::glutin` [INFO] [stdout] --> src/keyboard.rs:58:92 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn update(&mut self, key: glium::glutin::VirtualKeyCode, new_state: glium::glutin::ElementState) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use glium::glutin::event::ElementState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MouseButton` in crate `glium::glutin` [INFO] [stdout] --> src/game.rs:38:118 [INFO] [stdout] | [INFO] [stdout] 38 | ...on<(i32, i32)>, clicked: Option, dt: f32) -> SceneTrans { [INFO] [stdout] | ^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use glium::glutin::event::MouseButton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/menu.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MouseButton` in crate `glium::glutin` [INFO] [stdout] --> src/menu.rs:54:118 [INFO] [stdout] | [INFO] [stdout] 54 | ...on<(i32, i32)>, clicked: Option, dt: f32) -> SceneTrans { [INFO] [stdout] | ^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use glium::glutin::event::MouseButton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/menu.rs:117:48 [INFO] [stdout] | [INFO] [stdout] 117 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MouseButton` in crate `glium::glutin` [INFO] [stdout] --> src/main.rs:32:114 [INFO] [stdout] | [INFO] [stdout] 32 | ...on<(i32, i32)>, clicked: Option, dt: f32) -> SceneTrans; [INFO] [stdout] | ^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 17 | use glium::glutin::event::MouseButton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/main.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | let display = glium::glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 | use glium::glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/map.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | let view = View::new(0.0, 0.0, view_width, ((30.0 / ratio).floor())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/menu.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | (x >= self.x && x <= self.x + self.width && y >= self.y && y <= self.y + self.height) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/main.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn draw(&mut self, mut target: &mut glium::Frame, program: &glium::Program, text_system: &'a glium_text::TextSystem, font: &'a glium_tex... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | let start_time = time::precise_time_ns(); [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_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | let end_time = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/tile.rs:54:109 [INFO] [stdout] | [INFO] [stdout] 54 | let img = image::load(Cursor::new(&include_bytes!("../assets/atlas.png")[..]), image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tile.rs:56:74 [INFO] [stdout] | [INFO] [stdout] 56 | let raw_img = glium::texture::RawImage2d::from_raw_rgba_reversed(img.into_raw(), dims); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[_]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&img.into_raw()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/tile.rs:54:109 [INFO] [stdout] | [INFO] [stdout] 54 | let img = image::load(Cursor::new(&include_bytes!("../assets/atlas.png")[..]), image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tile.rs:56:74 [INFO] [stdout] | [INFO] [stdout] 56 | let raw_img = glium::texture::RawImage2d::from_raw_rgba_reversed(img.into_raw(), dims); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[_]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&img.into_raw()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `glium::Frame: glium::Surface` is not satisfied [INFO] [stdout] --> src/game.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | glium_text::draw(&score_text, text_system, target, score_matrix, (1.0, 1.0, 0.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `glium::Surface` is not implemented for `glium::Frame` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium_text-0.14.0/src/lib.rs:418:39 [INFO] [stdout] | [INFO] [stdout] 418 | ... where S: glium::Surface, M: Into<[[f32; 4]; 4]>, [INFO] [stdout] | -------------- required by this bound in `glium_text::draw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `glium::Frame: glium::Surface` is not satisfied [INFO] [stdout] --> src/game.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | glium_text::draw(&title_text, text_system, target, title_matrix, (1.0, 1.0, 0.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `glium::Surface` is not implemented for `glium::Frame` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium_text-0.14.0/src/lib.rs:418:39 [INFO] [stdout] | [INFO] [stdout] 418 | ... where S: glium::Surface, M: Into<[[f32; 4]; 4]>, [INFO] [stdout] | -------------- required by this bound in `glium_text::draw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `File: BufRead` is not satisfied [INFO] [stdout] --> src/menu.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^^^^^^ the trait `BufRead` is not implemented for `File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/io/free_functions.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn load(r: R, format: ImageFormat) -> ImageResult { [INFO] [stdout] | ------- required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/menu.rs:24:62 [INFO] [stdout] | [INFO] [stdout] 24 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/menu.rs:26:74 [INFO] [stdout] | [INFO] [stdout] 26 | let raw_img = glium::texture::RawImage2d::from_raw_rgba_reversed(img.into_raw(), dims); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[_]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&img.into_raw()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `File: BufRead` is not satisfied [INFO] [stdout] --> src/menu.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^^^^^^ the trait `BufRead` is not implemented for `File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/io/free_functions.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn load(r: R, format: ImageFormat) -> ImageResult { [INFO] [stdout] | ------- required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/menu.rs:117:62 [INFO] [stdout] | [INFO] [stdout] 117 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/menu.rs:119:74 [INFO] [stdout] | [INFO] [stdout] 119 | let raw_img = glium::texture::RawImage2d::from_raw_rgba_reversed(img.into_raw(), dims); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[_]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&img.into_raw()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `glium::Frame: glium::Surface` is not satisfied [INFO] [stdout] --> src/menu.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | glium_text::draw(&text, text_system, target, text_matrix, (1.0, 1.0, 0.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `glium::Surface` is not implemented for `glium::Frame` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium_text-0.14.0/src/lib.rs:418:39 [INFO] [stdout] | [INFO] [stdout] 418 | ... where S: glium::Surface, M: Into<[[f32; 4]; 4]>, [INFO] [stdout] | -------------- required by this bound in `glium_text::draw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::Surface` [INFO] [stdout] --> src/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glium::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use glium::{DisplayBuild, Surface}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tilepaste` [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[E0277]: the trait bound `glium::Frame: glium::Surface` is not satisfied [INFO] [stdout] --> src/game.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | glium_text::draw(&score_text, text_system, target, score_matrix, (1.0, 1.0, 0.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `glium::Surface` is not implemented for `glium::Frame` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium_text-0.14.0/src/lib.rs:418:39 [INFO] [stdout] | [INFO] [stdout] 418 | ... where S: glium::Surface, M: Into<[[f32; 4]; 4]>, [INFO] [stdout] | -------------- required by this bound in `glium_text::draw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `glium::Frame: glium::Surface` is not satisfied [INFO] [stdout] --> src/game.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | glium_text::draw(&title_text, text_system, target, title_matrix, (1.0, 1.0, 0.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `glium::Surface` is not implemented for `glium::Frame` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium_text-0.14.0/src/lib.rs:418:39 [INFO] [stdout] | [INFO] [stdout] 418 | ... where S: glium::Surface, M: Into<[[f32; 4]; 4]>, [INFO] [stdout] | -------------- required by this bound in `glium_text::draw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `File: BufRead` is not satisfied [INFO] [stdout] --> src/menu.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^^^^^^ the trait `BufRead` is not implemented for `File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/io/free_functions.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn load(r: R, format: ImageFormat) -> ImageResult { [INFO] [stdout] | ------- required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/menu.rs:24:62 [INFO] [stdout] | [INFO] [stdout] 24 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/menu.rs:26:74 [INFO] [stdout] | [INFO] [stdout] 26 | let raw_img = glium::texture::RawImage2d::from_raw_rgba_reversed(img.into_raw(), dims); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[_]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&img.into_raw()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `File: BufRead` is not satisfied [INFO] [stdout] --> src/menu.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^^^^^^ the trait `BufRead` is not implemented for `File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/io/free_functions.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn load(r: R, format: ImageFormat) -> ImageResult { [INFO] [stdout] | ------- required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/menu.rs:117:62 [INFO] [stdout] | [INFO] [stdout] 117 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/menu.rs:119:74 [INFO] [stdout] | [INFO] [stdout] 119 | let raw_img = glium::texture::RawImage2d::from_raw_rgba_reversed(img.into_raw(), dims); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[_]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&img.into_raw()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `glium::Frame: glium::Surface` is not satisfied [INFO] [stdout] --> src/menu.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | glium_text::draw(&text, text_system, target, text_matrix, (1.0, 1.0, 0.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `glium::Surface` is not implemented for `glium::Frame` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium_text-0.14.0/src/lib.rs:418:39 [INFO] [stdout] | [INFO] [stdout] 418 | ... where S: glium::Surface, M: Into<[[f32; 4]; 4]>, [INFO] [stdout] | -------------- required by this bound in `glium_text::draw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::Surface` [INFO] [stdout] --> src/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glium::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use glium::{DisplayBuild, Surface}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "36fbb2ad8131550d0428d648776a0da3d053218bb26562de485643090150c81c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36fbb2ad8131550d0428d648776a0da3d053218bb26562de485643090150c81c", kill_on_drop: false }` [INFO] [stdout] 36fbb2ad8131550d0428d648776a0da3d053218bb26562de485643090150c81c