[INFO] updating cached repository https://github.com/rjdgtn/rtetris [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] 160a96b44dfc3e93b6e00ed860506d106d9365c8 [INFO] checking rjdgtn/rtetris against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjdgtn%2Frtetris" "/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/rjdgtn/rtetris on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/rjdgtn/rtetris [INFO] finished tweaking git repo https://github.com/rjdgtn/rtetris [INFO] tweaked toml for git repo https://github.com/rjdgtn/rtetris written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/rjdgtn/rtetris already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [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] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rjdgtn/ears.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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=forbid" "-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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8e8018c0b8f2f858b44682ae8423a4f4b1738286a5db9f08095948353b8a7bfe [INFO] running `"docker" "start" "-a" "8e8018c0b8f2f858b44682ae8423a4f4b1738286a5db9f08095948353b8a7bfe"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Checking glutin_glx_sys v0.1.5 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking pistoncore-input v0.28.0 [INFO] [stderr] Checking piston2d-graphics v0.35.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking pistoncore-window v0.44.0 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking wayland-client v0.21.13 [INFO] [stderr] Checking pistoncore-event_loop v0.49.0 [INFO] [stderr] Checking piston v0.49.0 [INFO] [stderr] Checking wayland-protocols v0.21.13 [INFO] [stderr] Checking piston2d-opengl_graphics v0.70.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.4 [INFO] [stderr] Checking glutin v0.21.1 [INFO] [stderr] Checking pistoncore-glutin_window v0.63.0 [INFO] [stderr] Checking rtetris v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `piston::event` [INFO] [stderr] --> src/main.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use piston::event::*; [INFO] [stderr] | ^^^^^ could not find `event` in `piston` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RenderArgs` in this scope [INFO] [stderr] --> src/main.rs:98:47 [INFO] [stderr] | [INFO] [stderr] 98 | fn render(&mut self, gl: &mut GlGraphics, r: RenderArgs) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use piston::RenderArgs; [INFO] [stderr] | [INFO] [stderr] 17 | use piston::input::RenderArgs; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/main.rs:107:42 [INFO] [stderr] | [INFO] [stderr] 107 | self.gameStepElapsed += elapsed as f32;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolon)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | let wnd = Window::new(ws); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found struct `piston::WindowSettings` [INFO] [stderr] | help: consider borrowing here: `&ws` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&piston::WindowSettings` [INFO] [stderr] found type `piston::WindowSettings` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `piston::event` [INFO] [stderr] --> src/main.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use piston::event::*; [INFO] [stderr] | ^^^^^ could not find `event` in `piston` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RenderArgs` in this scope [INFO] [stderr] --> src/main.rs:98:47 [INFO] [stderr] | [INFO] [stderr] 98 | fn render(&mut self, gl: &mut GlGraphics, r: RenderArgs) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use piston::RenderArgs; [INFO] [stderr] | [INFO] [stderr] 17 | use piston::input::RenderArgs; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/main.rs:107:42 [INFO] [stderr] | [INFO] [stderr] 107 | self.gameStepElapsed += elapsed as f32;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolon)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | let wnd = Window::new(ws); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found struct `piston::WindowSettings` [INFO] [stderr] | help: consider borrowing here: `&ws` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&piston::WindowSettings` [INFO] [stderr] found type `piston::WindowSettings` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | App { window: Some(wnd) [INFO] [stderr] | ^^^ expected struct `glutin_window::GlutinWindow`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `glutin_window::GlutinWindow` [INFO] [stderr] found type `std::result::Result>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `_3_2` found for type `opengl_graphics::OpenGL` in the current scope [INFO] [stderr] --> src/main.rs:60:24 [INFO] [stderr] | [INFO] [stderr] 60 | let opengl = OpenGL::_3_2; [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `opengl_graphics::OpenGL` [INFO] [stderr] | help: there is a variant with a similar name: `V3_2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `events` found for type `glutin_window::GlutinWindow` in the current scope [INFO] [stderr] --> src/main.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | let evs = self.window.take().unwrap().events(); [INFO] [stderr] | ^^^^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `graphics::DrawState` in the current scope [INFO] [stderr] --> src/render/renderer.rs:38:82 [INFO] [stderr] | [INFO] [stderr] 38 | self.rectangle.draw([xpos, ypos, self.cellSize, self.cellSize], &DrawState::new(), coxt.transform, gl); [INFO] [stderr] | ^^^ function or associated item not found in `graphics::DrawState` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `graphics::DrawState` in the current scope [INFO] [stderr] --> src/render/renderer.rs:51:84 [INFO] [stderr] | [INFO] [stderr] 51 | self.rectangle.draw([xpos, ypos, self.cellSize, self.cellSize], &DrawState::new(), coxt.transform, gl); [INFO] [stderr] | ^^^ function or associated item not found in `graphics::DrawState` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rtetris`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | App { window: Some(wnd) [INFO] [stderr] | ^^^ expected struct `glutin_window::GlutinWindow`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `glutin_window::GlutinWindow` [INFO] [stderr] found type `std::result::Result>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `_3_2` found for type `opengl_graphics::OpenGL` in the current scope [INFO] [stderr] --> src/main.rs:60:24 [INFO] [stderr] | [INFO] [stderr] 60 | let opengl = OpenGL::_3_2; [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `opengl_graphics::OpenGL` [INFO] [stderr] | help: there is a variant with a similar name: `V3_2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `events` found for type `glutin_window::GlutinWindow` in the current scope [INFO] [stderr] --> src/main.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | let evs = self.window.take().unwrap().events(); [INFO] [stderr] | ^^^^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `graphics::DrawState` in the current scope [INFO] [stderr] --> src/render/renderer.rs:38:82 [INFO] [stderr] | [INFO] [stderr] 38 | self.rectangle.draw([xpos, ypos, self.cellSize, self.cellSize], &DrawState::new(), coxt.transform, gl); [INFO] [stderr] | ^^^ function or associated item not found in `graphics::DrawState` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `graphics::DrawState` in the current scope [INFO] [stderr] --> src/render/renderer.rs:51:84 [INFO] [stderr] | [INFO] [stderr] 51 | self.rectangle.draw([xpos, ypos, self.cellSize, self.cellSize], &DrawState::new(), coxt.transform, gl); [INFO] [stderr] | ^^^ function or associated item not found in `graphics::DrawState` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rtetris`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8e8018c0b8f2f858b44682ae8423a4f4b1738286a5db9f08095948353b8a7bfe"` [INFO] running `"docker" "rm" "-f" "8e8018c0b8f2f858b44682ae8423a4f4b1738286a5db9f08095948353b8a7bfe"` [INFO] [stdout] 8e8018c0b8f2f858b44682ae8423a4f4b1738286a5db9f08095948353b8a7bfe