[INFO] updating cached repository https://github.com/jackalligator/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] 1d36d8686e5c81e969c66ce4f88b3788c03276ae [INFO] testing jackalligator/tetris against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackalligator%2Ftetris" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackalligator/tetris on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/jackalligator/tetris [INFO] removed path dependency math from git repo https://github.com/jackalligator/tetris [INFO] finished tweaking git repo https://github.com/jackalligator/tetris [INFO] tweaked toml for git repo https://github.com/jackalligator/tetris written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/jackalligator/tetris already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (math) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (math) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2020-06-03" "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] 3f0fa44da46ffc01aa415eff2d63edc1d4018d3225cdd987c574a7c99cff0b11 [INFO] running `"docker" "start" "-a" "3f0fa44da46ffc01aa415eff2d63edc1d4018d3225cdd987c574a7c99cff0b11"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (math) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling math v0.1.0 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling sdl2 v0.27.3 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling freetype-rs v0.11.0 [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stderr] --> src/core/mod.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 24 | window_size: Vec2 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `vec2` in this scope [INFO] [stderr] --> src/core/mod.rs:195:33 [INFO] [stderr] | [INFO] [stderr] 195 | window_size: vec2(0.0, 0.0) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stderr] --> src/core/mod.rs:314:38 [INFO] [stderr] | [INFO] [stderr] 314 | pub fn get_window_size(&self) -> Vec2 { [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `vec2` in this scope [INFO] [stderr] --> src/core/mod.rs:318:9 [INFO] [stderr] | [INFO] [stderr] 318 | vec2(x as f32, y as f32) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/ui/quad.rs:78:46 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn render(&self, x:f32, y:f32, color:Vec3){ [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `mat4` in this scope [INFO] [stderr] --> src/ui/quad.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | let orthoproj = mat4() [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `vec3` in this scope [INFO] [stderr] --> src/ui/quad.rs:84:40 [INFO] [stderr] | [INFO] [stderr] 84 | ... .translate(vec3(x, y, 0.0)) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stderr] --> src/ui/font.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | bearing: Vec2, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `vec2` in this scope [INFO] [stderr] --> src/ui/font.rs:114:28 [INFO] [stderr] | [INFO] [stderr] 114 | let size = vec2(glyph_width as f32, glyph_rows as f32); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `vec2` in this scope [INFO] [stderr] --> src/ui/font.rs:119:33 [INFO] [stderr] | [INFO] [stderr] 119 | bearing: vec2(glyph_left/self.scale, glyph_top/self.scale), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stderr] --> src/ui/font.rs:127:63 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn get_text_size(&self, font_name:&str, text:&str) -> Vec2 { [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `vec2` in this scope [INFO] [stderr] --> src/ui/font.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | vec2(x, y) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/ui/font.rs:147:90 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn render_text(&self, font_name:&str, text:&str, start_x:f32, start_y:f32, color:Vec3){ [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/ui/mod.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | Color(Quad, Vec3), [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `vec3` in this scope [INFO] [stderr] --> src/ui/mod.rs:204:71 [INFO] [stderr] | [INFO] [stderr] 204 | UIBackground::Color(Quad::new(width, height), vec3(r, g, b)) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stderr] --> src/ui/mod.rs:245:18 [INFO] [stderr] | [INFO] [stderr] 245 | brick_size: Vec2 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `vec2` in this scope [INFO] [stderr] --> src/ui/mod.rs:285:26 [INFO] [stderr] | [INFO] [stderr] 285 | brick_size: vec2(brick_width, brick_height) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `vec2` in this scope [INFO] [stderr] --> src/ui/mod.rs:323:26 [INFO] [stderr] | [INFO] [stderr] 323 | let brick_dist = vec2(self.brick_size.x+BRICK_DIST_X, self.brick_size.y+BRICK_DIST_Y); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `vec3` in this scope [INFO] [stderr] --> src/ui/mod.rs:338:132 [INFO] [stderr] | [INFO] [stderr] 338 | self.font_lib.render_text(font_name, &node.text, parent_padding_x.round()+padding_x.round(), parent_padding_y.round(), vec3(0.0, 0.0, 0.0)); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/shader/mod.rs:37:79 [INFO] [stderr] | [INFO] [stderr] 37 | panic!("невозможно открыть файл шейдера {}: {}", display, why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/shader/mod.rs:46:80 [INFO] [stderr] | [INFO] [stderr] 46 | panic!("невозможно прочесть файл шейдера {}: {}", display, why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `tetris`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3f0fa44da46ffc01aa415eff2d63edc1d4018d3225cdd987c574a7c99cff0b11"` [INFO] running `"docker" "rm" "-f" "3f0fa44da46ffc01aa415eff2d63edc1d4018d3225cdd987c574a7c99cff0b11"` [INFO] [stdout] 3f0fa44da46ffc01aa415eff2d63edc1d4018d3225cdd987c574a7c99cff0b11