[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#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchoviesHat%2Ftilepaste" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnchoviesHat/tilepaste on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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-1/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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-1/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 988a8248129399e1d55e9bbdb637a4960f9ed964f9639fc133d5022b5ff805f1 [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" "988a8248129399e1d55e9bbdb637a4960f9ed964f9639fc133d5022b5ff805f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "988a8248129399e1d55e9bbdb637a4960f9ed964f9639fc133d5022b5ff805f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "988a8248129399e1d55e9bbdb637a4960f9ed964f9639fc133d5022b5ff805f1", kill_on_drop: false }` [INFO] [stdout] 988a8248129399e1d55e9bbdb637a4960f9ed964f9639fc133d5022b5ff805f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc4f2e9aa5192c6c33e80676516f2367e6fcc5845ca5f17bcf887c5471d97c46 [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" "cc4f2e9aa5192c6c33e80676516f2367e6fcc5845ca5f17bcf887c5471d97c46", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glium v0.28.0 [INFO] [stderr] Compiling glium v0.23.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Compiling wayland-client v0.28.2 [INFO] [stderr] Compiling wayland-protocols v0.28.2 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking wayland-commons v0.28.2 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking wayland-cursor v0.28.2 [INFO] [stderr] Checking wayland-egl v0.28.2 [INFO] [stderr] Checking image v0.23.12 [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.1 [INFO] [stderr] Checking glutin v0.25.1 [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[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[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] 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] 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 `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] 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[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 `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 `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/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] 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: 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] 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 `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" "cc4f2e9aa5192c6c33e80676516f2367e6fcc5845ca5f17bcf887c5471d97c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4f2e9aa5192c6c33e80676516f2367e6fcc5845ca5f17bcf887c5471d97c46", kill_on_drop: false }` [INFO] [stdout] cc4f2e9aa5192c6c33e80676516f2367e6fcc5845ca5f17bcf887c5471d97c46