[INFO] updating cached repository https://github.com/bakerj76/rust-tetris [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] 8d335a3534657596a02d4b46307cc06b8b760993 [INFO] testing bakerj76/rust-tetris against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbakerj76%2Frust-tetris" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bakerj76/rust-tetris 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/bakerj76/rust-tetris [INFO] finished tweaking git repo https://github.com/bakerj76/rust-tetris [INFO] tweaked toml for git repo https://github.com/bakerj76/rust-tetris written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/bakerj76/rust-tetris 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-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7d00b513abd838f167d00805c97c75a6196de3410dacde47c384b2bb935f5015 [INFO] running `"docker" "start" "-a" "7d00b513abd838f167d00805c97c75a6196de3410dacde47c384b2bb935f5015"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling instant v0.1.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling clock_ticks v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling png v0.16.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.4 [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 tetris v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stderr] --> src/rootwindow.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `glium::glutin::Event`, `glium::glutin::ElementState`, `glium::glutin::VirtualKeyCode` [INFO] [stderr] --> src/tetris.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | use glium::glutin::{Event, ElementState, VirtualKeyCode}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `VirtualKeyCode` in `glutin` [INFO] [stderr] | | | [INFO] [stderr] | | no `ElementState` in `glutin` [INFO] [stderr] | no `Event` in `glutin` [INFO] [stderr] | help: a similar name exists in the module: `event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stderr] --> src/rootwindow.rs:20:34 [INFO] [stderr] | [INFO] [stderr] 20 | pub display: glium::backend::glutin_backend::GlutinFacade, [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/rootwindow.rs:49:38 [INFO] [stderr] | [INFO] [stderr] 49 | 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/rootwindow.rs:158:25 [INFO] [stderr] | [INFO] [stderr] 158 | glutin::Event::Closed => GameState::Exit, [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `glutin_backend` in `backend` [INFO] [stderr] --> src/sprite.rs:28:42 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, [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/sprite.rs:35:49 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn new_tinted(display: &glium::backend::glutin_backend::GlutinFacade, [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/tetris.rs:57:55 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn start(&mut self, display: &glium::backend::glutin_backend::GlutinFacade) [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/tetris.rs:242:55 [INFO] [stderr] | [INFO] [stderr] 242 | fn new_piece(&mut self, display: &glium::backend::glutin_backend::GlutinFacade) [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/tetris.rs:255:62 [INFO] [stderr] | [INFO] [stderr] 255 | fn setup_background(&mut self, display: &glium::backend::glutin_backend::GlutinFacade) [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/tetromino.rs:35:42 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn new(display: &glium::backend::glutin_backend::GlutinFacade, shape: Shape, [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/tetromino.rs:122:48 [INFO] [stderr] | [INFO] [stderr] 122 | fn build_sprites(display: &glium::backend::glutin_backend::GlutinFacade, matrix: &CellMatrix) [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `zero` in crate `cgmath` [INFO] [stderr] --> src/sprite.rs:79:31 [INFO] [stderr] | [INFO] [stderr] 79 | position: cgmath::zero(), [INFO] [stderr] | ^^^^ not found in `cgmath` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use cgmath::num_traits::identities::zero; [INFO] [stderr] | [INFO] [stderr] 1 | use cgmath::num_traits::zero; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stderr] --> src/spritemanager.rs:29:20 [INFO] [stderr] | [INFO] [stderr] 29 | image::PNG [INFO] [stderr] | ^^^ not found in `image` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stderr] --> src/spritemanager.rs:34:20 [INFO] [stderr] | [INFO] [stderr] 34 | image::PNG [INFO] [stderr] | ^^^ not found in `image` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/rootwindow.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | thread::sleep_ms(((fixed_time_stamp - accumulator) as f64 / 1E+6) as u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/sprite.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | / vec![ [INFO] [stderr] 41 | | Vertex [INFO] [stderr] 42 | | { [INFO] [stderr] 43 | | position: [rect.left(), rect.top()], [INFO] [stderr] ... | [INFO] [stderr] 66 | | }, [INFO] [stderr] 67 | | ] [INFO] [stderr] | |_____________^ expected `&[_]`, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&[_]` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/sprite.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | vec![0, 2, 1, 0, 3, 2] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected `&[_]`, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&[_]` [INFO] [stderr] found struct `std::vec::Vec<{integer}>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/sprite.rs:83:28 [INFO] [stderr] | [INFO] [stderr] 83 | vertex_buffer: vertex_buffer, [INFO] [stderr] | ^^^^^^^^^^^^^ expected struct `glium::VertexBuffer`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `glium::VertexBuffer` [INFO] [stderr] found enum `std::result::Result, glium::vertex::BufferCreationError>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/sprite.rs:84:27 [INFO] [stderr] | [INFO] [stderr] 84 | index_buffer: index_buffer, [INFO] [stderr] | ^^^^^^^^^^^^ expected struct `glium::IndexBuffer`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `glium::IndexBuffer` [INFO] [stderr] found enum `std::result::Result, glium::index::BufferCreationError>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `identity` found for struct `cgmath::Matrix4` in the current scope [INFO] [stderr] --> src/sprite.rs:96:41 [INFO] [stderr] | [INFO] [stderr] 96 | let rotmatrix = Matrix4::::identity(); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `cgmath::Matrix4` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use cgmath::SquareMatrix;` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/sprite.rs:98:53 [INFO] [stderr] | [INFO] [stderr] 98 | let translation = Matrix4::from_translation(&self.position); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `cgmath::Vector3`, found reference [INFO] [stderr] | help: consider removing the borrow: `self.position` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `cgmath::Vector3<_>` [INFO] [stderr] found reference `&cgmath::Vector3` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `glium::DrawParameters<'_>` has no field named `blending_function` [INFO] [stderr] --> src/sprite.rs:107:13 [INFO] [stderr] | [INFO] [stderr] 107 | blending_function: [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ `glium::DrawParameters<'_>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `depth`, `stencil`, `blend`, `color_mask`, `line_width` ... and 19 others [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `image::DynamicImage: glium::texture::Texture2dDataSource<'_>` is not satisfied [INFO] [stderr] --> src/spritemanager.rs:40:63 [INFO] [stderr] | [INFO] [stderr] 40 | texture::Texture2d::new(&root_window.display, sprite_sheet), [INFO] [stderr] | ^^^^^^^^^^^^ the trait `glium::texture::Texture2dDataSource<'_>` is not implemented for `image::DynamicImage` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/glium-e8db9667f5bec9e5/out/textures.rs:2860:40 [INFO] [stderr] | [INFO] [stderr] 2860 | ... where T: Texture2dDataSource<'a>, F: Facade [INFO] [stderr] | ----------------------- required by this bound in `glium::Texture2d::new` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/spritemanager.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | texture::Texture2d::new(&root_window.display, sprite_sheet), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `glium::Texture2d`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `glium::Texture2d` [INFO] [stderr] found enum `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `image::DynamicImage: glium::texture::Texture2dDataSource<'_>` is not satisfied [INFO] [stderr] --> src/spritemanager.rs:41:63 [INFO] [stderr] | [INFO] [stderr] 41 | texture::Texture2d::new(&root_window.display, background), [INFO] [stderr] | ^^^^^^^^^^ the trait `glium::texture::Texture2dDataSource<'_>` is not implemented for `image::DynamicImage` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/glium-e8db9667f5bec9e5/out/textures.rs:2860:40 [INFO] [stderr] | [INFO] [stderr] 2860 | ... where T: Texture2dDataSource<'a>, F: Facade [INFO] [stderr] | ----------------------- required by this bound in `glium::Texture2d::new` [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/tetris.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | key_held: None, [INFO] [stderr] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Surface` [INFO] [stderr] --> src/rootwindow.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 26 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0282, E0308, E0425, E0432, E0433, E0560, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `tetris`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7d00b513abd838f167d00805c97c75a6196de3410dacde47c384b2bb935f5015"` [INFO] running `"docker" "rm" "-f" "7d00b513abd838f167d00805c97c75a6196de3410dacde47c384b2bb935f5015"` [INFO] [stdout] 7d00b513abd838f167d00805c97c75a6196de3410dacde47c384b2bb935f5015