[INFO] updating cached repository https://github.com/AnchoviesHat/tilepaste [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 521c69174e97a53db23099aeaf6c36cc35e4d899 [INFO] testing AnchoviesHat/tilepaste against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchoviesHat%2Ftilepaste" "work/builds/worker-10/source"` [INFO] [stderr] Cloning into 'work/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnchoviesHat/tilepaste on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.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 work/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/AnchoviesHat/tilepaste already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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.38.0" "build" "--frozen"` [INFO] [stdout] 8a33346a454c278ce27aff6949c87e9b6872c3379e82f2dd0e4f10b627da2d3d [INFO] running `"docker" "start" "-a" "8a33346a454c278ce27aff6949c87e9b6872c3379e82f2dd0e4f10b627da2d3d"` [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling glium v0.23.0 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling image v0.22.3 [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 `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 `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] 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: patterns aren't allowed in methods 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] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:41:4 [INFO] [stderr] | [INFO] [stderr] 41 | .with_dimensions(width, height) [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `with_vsync` found for type `glium::glutin::WindowBuilder` in the current scope [INFO] [stderr] --> src/main.rs:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | .with_vsync() [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Closed` found for type `glium::glutin::Event` in the current scope [INFO] [stderr] --> src/main.rs:96:27 [INFO] [stderr] | [INFO] [stderr] 96 | glium::glutin::Event::Closed => { game_state = SceneTrans::Quit; }, [INFO] [stderr] | ^^^^^^ variant or associated item not found in `glium::glutin::Event` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `KeyboardInput` found for type `glium::glutin::Event` in the current scope [INFO] [stderr] --> src/main.rs:97:27 [INFO] [stderr] | [INFO] [stderr] 97 | glium::glutin::Event::KeyboardInput(state, _, key) => { [INFO] [stderr] | ^^^^^^^^^^^^^ variant or associated item not found in `glium::glutin::Event` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `MouseMoved` found for type `glium::glutin::Event` in the current scope [INFO] [stderr] --> src/main.rs:103:27 [INFO] [stderr] | [INFO] [stderr] 103 | glium::glutin::Event::MouseMoved(c) => { coords = Some(c); }, [INFO] [stderr] | ^^^^^^^^^^ variant or associated item not found in `glium::glutin::Event` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `MouseInput` found for type `glium::glutin::Event` in the current scope [INFO] [stderr] --> src/main.rs:104:27 [INFO] [stderr] | [INFO] [stderr] 104 | glium::glutin::Event::MouseInput(_, b) => { mouse = Some(b); }, [INFO] [stderr] | ^^^^^^^^^^ variant or associated item not found in `glium::glutin::Event` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Resized` found for type `glium::glutin::Event` in the current scope [INFO] [stderr] --> src/main.rs:105:27 [INFO] [stderr] | [INFO] [stderr] 105 | glium::glutin::Event::Resized(tmp_height, tmp_width) => { [INFO] [stderr] | ^^^^^^^ variant or associated item not found in `glium::glutin::Event` [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 type `&[_]` [INFO] [stderr] found type `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] = note: required by `glium_text::draw` [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] = note: required by `glium_text::draw` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::fs::File: std::io::BufRead` is not satisfied [INFO] [stderr] --> src/menu.rs:24:19 [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] = note: required by `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 type `&[_]` [INFO] [stderr] found type `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:19 [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] = note: required by `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 type `&[_]` [INFO] [stderr] found type `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] = note: required by `glium_text::draw` [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 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `tilepaste`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8a33346a454c278ce27aff6949c87e9b6872c3379e82f2dd0e4f10b627da2d3d"` [INFO] running `"docker" "rm" "-f" "8a33346a454c278ce27aff6949c87e9b6872c3379e82f2dd0e4f10b627da2d3d"` [INFO] [stdout] 8a33346a454c278ce27aff6949c87e9b6872c3379e82f2dd0e4f10b627da2d3d