[INFO] cloning repository https://github.com/AnchoviesHat/tilepaste [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchoviesHat%2Ftilepaste'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 521c69174e97a53db23099aeaf6c36cc35e4d899 [INFO] testing AnchoviesHat/tilepaste against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchoviesHat%2Ftilepaste" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnchoviesHat/tilepaste on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-8/source/Cargo.toml [INFO] crate git repo https://github.com/AnchoviesHat/tilepaste already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 195cf4cf1ea53f4b9695b6dcb07c1090615b821b50249ac09bd4ca41be2a1688 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "195cf4cf1ea53f4b9695b6dcb07c1090615b821b50249ac09bd4ca41be2a1688"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling png v0.16.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling glium v0.23.0 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling glium_text v0.14.0 [INFO] [stderr] Compiling tilepaste v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stderr] --> src/main.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stderr] --> src/tile.rs:53:42 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, tile_width: u32, tile_height: u32) -> TileAtlas { [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/keyboard.rs:46:28 [INFO] [stderr] | [INFO] [stderr] 46 | glium::glutin::VirtualKeyCode::W => Some((Action::Up, self.keys.get_mut(&Action::Up).unwrap())), [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/keyboard.rs:47:28 [INFO] [stderr] | [INFO] [stderr] 47 | glium::glutin::VirtualKeyCode::S => Some((Action::Down, self.keys.get_mut(&Action::Down).unwrap())), [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/keyboard.rs:48:28 [INFO] [stderr] | [INFO] [stderr] 48 | glium::glutin::VirtualKeyCode::A => Some((Action::Left, self.keys.get_mut(&Action::Left).unwrap())), [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/keyboard.rs:49:28 [INFO] [stderr] | [INFO] [stderr] 49 | glium::glutin::VirtualKeyCode::D => Some((Action::Right, self.keys.get_mut(&Action::Right).unwrap())), [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/keyboard.rs:50:28 [INFO] [stderr] | [INFO] [stderr] 50 | glium::glutin::VirtualKeyCode::Space => Some((Action::Space, self.keys.get_mut(&Action::Space).unwrap())), [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/keyboard.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | glium::glutin::VirtualKeyCode::Q => Some((Action::Quit, self.keys.get_mut(&Action::Quit).unwrap())), [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/keyboard.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | glium::glutin::VirtualKeyCode::Escape => Some((Action::Back, self.keys.get_mut(&Action::Back).unwrap())), [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/keyboard.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | glium::glutin::VirtualKeyCode::Return => Some((Action::Enter, self.keys.get_mut(&Action::Enter).unwrap())), [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ElementState` in `glutin` [INFO] [stderr] --> src/keyboard.rs:64:48 [INFO] [stderr] | [INFO] [stderr] 64 | if new_state == glium::glutin::ElementState::Released { [INFO] [stderr] | ^^^^^^^^^^^^ could not find `ElementState` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ElementState` in `glutin` [INFO] [stderr] --> src/keyboard.rs:68:48 [INFO] [stderr] | [INFO] [stderr] 68 | if new_state == glium::glutin::ElementState::Pressed { [INFO] [stderr] | ^^^^^^^^^^^^ could not find `ElementState` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stderr] --> src/menu.rs:22:42 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, tex_name: &str, ratio: f32) -> Menu { [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MouseButton` in `glutin` [INFO] [stderr] --> src/menu.rs:64:80 [INFO] [stderr] | [INFO] [stderr] 64 | if clicked.is_some() && clicked.unwrap() == glium::glutin::MouseButton::Left { [INFO] [stderr] | ^^^^^^^^^^^ could not find `MouseButton` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stderr] --> src/menu.rs:115:42 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, x: f32, y: f32, width: f32, height: f32, text: String, tex_name: String, ratio: f32) -> Button { [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stderr] --> src/main.rs:40:31 [INFO] [stderr] | [INFO] [stderr] 40 | let display = glium::glutin::WindowBuilder::new() [INFO] [stderr] | ^^^^^^^^^^^^^ could not find `WindowBuilder` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:96:20 [INFO] [stderr] | [INFO] [stderr] 96 | glium::glutin::Event::Closed => { game_state = SceneTrans::Quit; }, [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:97:20 [INFO] [stderr] | [INFO] [stderr] 97 | glium::glutin::Event::KeyboardInput(state, _, key) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:103:20 [INFO] [stderr] | [INFO] [stderr] 103 | glium::glutin::Event::MouseMoved(c) => { coords = Some(c); }, [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:104:20 [INFO] [stderr] | [INFO] [stderr] 104 | glium::glutin::Event::MouseInput(_, b) => { mouse = Some(b); }, [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:105:20 [INFO] [stderr] | [INFO] [stderr] 105 | glium::glutin::Event::Resized(tmp_height, tmp_width) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stderr] --> src/tile.rs:54:95 [INFO] [stderr] | [INFO] [stderr] 54 | let img = image::load(Cursor::new(&include_bytes!("../assets/atlas.png")[..]), image::PNG).unwrap().to_rgba(); [INFO] [stderr] | ^^^ not found in `image` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VirtualKeyCode` in crate `glium::glutin` [INFO] [stderr] --> src/keyboard.rs:44:47 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn get(&mut self, key: glium::glutin::VirtualKeyCode) -> Option<(Action, &mut KeyState)> { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use glium::glutin::event::VirtualKeyCode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VirtualKeyCode` in crate `glium::glutin` [INFO] [stderr] --> src/keyboard.rs:58:50 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn update(&mut self, key: glium::glutin::VirtualKeyCode, new_state: glium::glutin::ElementState) { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use glium::glutin::event::VirtualKeyCode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ElementState` in crate `glium::glutin` [INFO] [stderr] --> src/keyboard.rs:58:92 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn update(&mut self, key: glium::glutin::VirtualKeyCode, new_state: glium::glutin::ElementState) { [INFO] [stderr] | ^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use glium::glutin::event::ElementState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MouseButton` in crate `glium::glutin` [INFO] [stderr] --> src/game.rs:38:118 [INFO] [stderr] | [INFO] [stderr] 38 | fn handle_input(&mut self, inputs: &keyboard::Inputs, coords: Option<(i32, i32)>, clicked: Option, dt: f32) -> SceneTrans { [INFO] [stderr] | ^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use glium::glutin::event::MouseButton; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stderr] --> src/menu.rs:24:48 [INFO] [stderr] | [INFO] [stderr] 24 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stderr] | ^^^ not found in `image` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MouseButton` in crate `glium::glutin` [INFO] [stderr] --> src/menu.rs:54:118 [INFO] [stderr] | [INFO] [stderr] 54 | fn handle_input(&mut self, inputs: &keyboard::Inputs, coords: Option<(i32, i32)>, clicked: Option, dt: f32) -> SceneTrans { [INFO] [stderr] | ^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use glium::glutin::event::MouseButton; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stderr] --> src/menu.rs:117:48 [INFO] [stderr] | [INFO] [stderr] 117 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stderr] | ^^^ not found in `image` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MouseButton` in crate `glium::glutin` [INFO] [stderr] --> src/main.rs:32:114 [INFO] [stderr] | [INFO] [stderr] 32 | fn handle_input(&mut self, inputs: &Inputs, mouse_coords: Option<(i32, i32)>, clicked: Option, dt: f32) -> SceneTrans; [INFO] [stderr] | ^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 17 | use glium::glutin::event::MouseButton; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/map.rs:52:46 [INFO] [stderr] | [INFO] [stderr] 52 | let view = View::new(0.0, 0.0, view_width, ((30.0 / ratio).floor())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/menu.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | (x >= self.x && x <= self.x + self.width && y >= self.y && y <= self.y + self.height) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: patterns aren't allowed in functions without bodies [INFO] [stderr] --> src/main.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | fn draw(&mut self, mut target: &mut glium::Frame, program: &glium::Program, text_system: &'a glium_text::TextSystem, font: &'a glium_text::FontTexture); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(patterns_in_fns_without_body)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #35203 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:91:20 [INFO] [stderr] | [INFO] [stderr] 91 | let start_time = time::precise_time_ns(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:133:18 [INFO] [stderr] | [INFO] [stderr] 133 | let end_time = time::precise_time_ns(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/tile.rs:56:74 [INFO] [stderr] | [INFO] [stderr] 56 | let raw_img = glium::texture::RawImage2d::from_raw_rgba_reversed(img.into_raw(), dims); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&[_]`, found struct `std::vec::Vec` [INFO] [stderr] | help: consider borrowing here: `&img.into_raw()` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&[_]` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `glium::Frame: glium::Surface` is not satisfied [INFO] [stderr] --> src/game.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | glium_text::draw(&score_text, text_system, target, score_matrix, (1.0, 1.0, 0.0, 1.0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ the trait `glium::Surface` is not implemented for `glium::Frame` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium_text-0.14.0/src/lib.rs:418:39 [INFO] [stderr] | [INFO] [stderr] 418 | ... where S: glium::Surface, M: Into<[[f32; 4]; 4]>, [INFO] [stderr] | -------------- required by this bound in `glium_text::draw` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium-0.27.0/src/lib.rs:1146:1 [INFO] [stderr] | [INFO] [stderr] 1146 | / impl Surface for Frame { [INFO] [stderr] 1147 | | #[inline] [INFO] [stderr] 1148 | | fn clear(&mut self, rect: Option<&Rect>, color: Option<(f32, f32, f32, f32)>, color_srgb: bool, [INFO] [stderr] 1149 | | depth: Option, stencil: Option) [INFO] [stderr] ... | [INFO] [stderr] 1226 | | } [INFO] [stderr] 1227 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: perhaps two different versions of crate `glium` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `glium::Frame: glium::Surface` is not satisfied [INFO] [stderr] --> src/game.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | glium_text::draw(&title_text, text_system, target, title_matrix, (1.0, 1.0, 0.0, 1.0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ the trait `glium::Surface` is not implemented for `glium::Frame` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium_text-0.14.0/src/lib.rs:418:39 [INFO] [stderr] | [INFO] [stderr] 418 | ... where S: glium::Surface, M: Into<[[f32; 4]; 4]>, [INFO] [stderr] | -------------- required by this bound in `glium_text::draw` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium-0.27.0/src/lib.rs:1146:1 [INFO] [stderr] | [INFO] [stderr] 1146 | / impl Surface for Frame { [INFO] [stderr] 1147 | | #[inline] [INFO] [stderr] 1148 | | fn clear(&mut self, rect: Option<&Rect>, color: Option<(f32, f32, f32, f32)>, color_srgb: bool, [INFO] [stderr] 1149 | | depth: Option, stencil: Option) [INFO] [stderr] ... | [INFO] [stderr] 1226 | | } [INFO] [stderr] 1227 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: perhaps two different versions of crate `glium` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::fs::File: std::io::BufRead` is not satisfied [INFO] [stderr] --> src/menu.rs:24:31 [INFO] [stderr] | [INFO] [stderr] 24 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stderr] | ^^^^^^^^ the trait `std::io::BufRead` is not implemented for `std::fs::File` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.4/./src/io/free_functions.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn load(r: R, format: ImageFormat) -> ImageResult { [INFO] [stderr] | ------- required by this bound in `image::load` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/menu.rs:26:74 [INFO] [stderr] | [INFO] [stderr] 26 | let raw_img = glium::texture::RawImage2d::from_raw_rgba_reversed(img.into_raw(), dims); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&[_]`, found struct `std::vec::Vec` [INFO] [stderr] | help: consider borrowing here: `&img.into_raw()` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&[_]` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::fs::File: std::io::BufRead` is not satisfied [INFO] [stderr] --> src/menu.rs:117:31 [INFO] [stderr] | [INFO] [stderr] 117 | let img = image::load(tex_file, image::PNG).unwrap().to_rgba(); [INFO] [stderr] | ^^^^^^^^ the trait `std::io::BufRead` is not implemented for `std::fs::File` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.4/./src/io/free_functions.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn load(r: R, format: ImageFormat) -> ImageResult { [INFO] [stderr] | ------- required by this bound in `image::load` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/menu.rs:119:74 [INFO] [stderr] | [INFO] [stderr] 119 | let raw_img = glium::texture::RawImage2d::from_raw_rgba_reversed(img.into_raw(), dims); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&[_]`, found struct `std::vec::Vec` [INFO] [stderr] | help: consider borrowing here: `&img.into_raw()` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&[_]` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `glium::Frame: glium::Surface` is not satisfied [INFO] [stderr] --> src/menu.rs:179:9 [INFO] [stderr] | [INFO] [stderr] 179 | glium_text::draw(&text, text_system, target, text_matrix, (1.0, 1.0, 0.0, 1.0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ the trait `glium::Surface` is not implemented for `glium::Frame` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium_text-0.14.0/src/lib.rs:418:39 [INFO] [stderr] | [INFO] [stderr] 418 | ... where S: glium::Surface, M: Into<[[f32; 4]; 4]>, [INFO] [stderr] | -------------- required by this bound in `glium_text::draw` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium-0.27.0/src/lib.rs:1146:1 [INFO] [stderr] | [INFO] [stderr] 1146 | / impl Surface for Frame { [INFO] [stderr] 1147 | | #[inline] [INFO] [stderr] 1148 | | fn clear(&mut self, rect: Option<&Rect>, color: Option<(f32, f32, f32, f32)>, color_srgb: bool, [INFO] [stderr] 1149 | | depth: Option, stencil: Option) [INFO] [stderr] ... | [INFO] [stderr] 1226 | | } [INFO] [stderr] 1227 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: perhaps two different versions of crate `glium` are being used? [INFO] [stderr] [INFO] [stderr] warning: unused import: `glium::Surface` [INFO] [stderr] --> src/game.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use glium::Surface; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Surface` [INFO] [stderr] --> src/main.rs:17:27 [INFO] [stderr] | [INFO] [stderr] 17 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 38 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `tilepaste`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "195cf4cf1ea53f4b9695b6dcb07c1090615b821b50249ac09bd4ca41be2a1688"` [INFO] running `"docker" "rm" "-f" "195cf4cf1ea53f4b9695b6dcb07c1090615b821b50249ac09bd4ca41be2a1688"` [INFO] [stdout] 195cf4cf1ea53f4b9695b6dcb07c1090615b821b50249ac09bd4ca41be2a1688