[INFO] updating cached repository https://github.com/jackalligator/tetris [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d36d8686e5c81e969c66ce4f88b3788c03276ae [INFO] testing jackalligator/tetris against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackalligator%2Ftetris" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackalligator/tetris on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/jackalligator/tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50db9ffb919559d3b8689fdacc351744e99ba3b3fedac56c84161b52d3aebc4e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "50db9ffb919559d3b8689fdacc351744e99ba3b3fedac56c84161b52d3aebc4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50db9ffb919559d3b8689fdacc351744e99ba3b3fedac56c84161b52d3aebc4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50db9ffb919559d3b8689fdacc351744e99ba3b3fedac56c84161b52d3aebc4e", kill_on_drop: false }` [INFO] [stdout] 50db9ffb919559d3b8689fdacc351744e99ba3b3fedac56c84161b52d3aebc4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a35b8927d54eac3e04ab7c0e0f88caa5fbd59c75dc6ce5c200f7a5a3967ea6c7 [INFO] running `Command { std: "docker" "start" "-a" "a35b8927d54eac3e04ab7c0e0f88caa5fbd59c75dc6ce5c200f7a5a3967ea6c7", kill_on_drop: false }` [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 autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling json v0.11.15 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling freetype-rs v0.11.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.27.3 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling math v0.8.1 [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/core/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | window_size: Vec2 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/core/mod.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | window_size: vec2(0.0, 0.0) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/core/mod.rs:314:38 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn get_window_size(&self) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/core/mod.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | vec2(x as f32, y as f32) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/ui/quad.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn render(&self, x:f32, y:f32, color:Vec3){ [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mat4` in this scope [INFO] [stdout] --> src/ui/quad.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | let orthoproj = mat4() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec3` in this scope [INFO] [stdout] --> src/ui/quad.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | ... .translate(vec3(x, y, 0.0)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/ui/font.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | bearing: Vec2, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/ui/font.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | let size = vec2(glyph_width as f32, glyph_rows as f32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/ui/font.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | bearing: vec2(glyph_left/self.scale, glyph_top/self.scale), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/ui/font.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn get_text_size(&self, font_name:&str, text:&str) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/ui/font.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | vec2(x, y) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/ui/font.rs:147:90 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn render_text(&self, font_name:&str, text:&str, start_x:f32, start_y:f32, color:Vec3){ [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/ui/mod.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | Color(Quad, Vec3), [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec3` in this scope [INFO] [stdout] --> src/ui/mod.rs:204:71 [INFO] [stdout] | [INFO] [stdout] 204 | UIBackground::Color(Quad::new(width, height), vec3(r, g, b)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/ui/mod.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | brick_size: Vec2 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/ui/mod.rs:285:26 [INFO] [stdout] | [INFO] [stdout] 285 | brick_size: vec2(brick_width, brick_height) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/ui/mod.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | let brick_dist = vec2(self.brick_size.x+BRICK_DIST_X, self.brick_size.y+BRICK_DIST_Y); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec3` in this scope [INFO] [stdout] --> src/ui/mod.rs:338:132 [INFO] [stdout] | [INFO] [stdout] 338 | ...round()+padding_x.round(), parent_padding_y.round(), vec3(0.0, 0.0, 0.0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/shader/mod.rs:37:79 [INFO] [stdout] | [INFO] [stdout] 37 | panic!("невозможно открыть файл шейдера {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/shader/mod.rs:46:80 [INFO] [stdout] | [INFO] [stdout] 46 | panic!("невозможно прочесть файл шейдера {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a35b8927d54eac3e04ab7c0e0f88caa5fbd59c75dc6ce5c200f7a5a3967ea6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a35b8927d54eac3e04ab7c0e0f88caa5fbd59c75dc6ce5c200f7a5a3967ea6c7", kill_on_drop: false }` [INFO] [stdout] a35b8927d54eac3e04ab7c0e0f88caa5fbd59c75dc6ce5c200f7a5a3967ea6c7