[INFO] cloning repository https://github.com/TheRealHnefi/fortress [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheRealHnefi/fortress" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheRealHnefi%2Ffortress", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheRealHnefi%2Ffortress'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7eda20786c7f62cc3850c4bb3693c6c1ed32cf86 [INFO] checking TheRealHnefi/fortress against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheRealHnefi%2Ffortress" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheRealHnefi/fortress on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheRealHnefi/fortress [INFO] finished tweaking git repo https://github.com/TheRealHnefi/fortress [INFO] tweaked toml for git repo https://github.com/TheRealHnefi/fortress written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/TheRealHnefi/fortress already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] [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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clock_ticks v0.1.1 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa163f9b4b40367a8ffe271f0f1bda225c42e7e22cbf4f6cc5fae0c8ab007d33 [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" "aa163f9b4b40367a8ffe271f0f1bda225c42e7e22cbf4f6cc5fae0c8ab007d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa163f9b4b40367a8ffe271f0f1bda225c42e7e22cbf4f6cc5fae0c8ab007d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa163f9b4b40367a8ffe271f0f1bda225c42e7e22cbf4f6cc5fae0c8ab007d33", kill_on_drop: false }` [INFO] [stdout] aa163f9b4b40367a8ffe271f0f1bda225c42e7e22cbf4f6cc5fae0c8ab007d33 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13e1c40ef913fd9b23bec1ff98e81006cde71de2f97cd2a08cb6c76a34eb55f4 [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" "13e1c40ef913fd9b23bec1ff98e81006cde71de2f97cd2a08cb6c76a34eb55f4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking clock_ticks v0.1.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glium v0.29.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking wayland-egl v0.28.5 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking fortress v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | use glium::DisplayBuild; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | glium::glutin::Event::Closed => running = false, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/main.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | let window = glium::glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use glium::glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clock_ticks` is imported redundantly [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate clock_ticks; [INFO] [stdout] | ------------------------- the item `clock_ticks` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use clock_ticks; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | use glium::DisplayBuild; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | glium::glutin::Event::Closed => running = false, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/main.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | let window = glium::glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use glium::glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clock_ticks` is imported redundantly [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate clock_ticks; [INFO] [stdout] | ------------------------- the item `clock_ticks` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use clock_ticks; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_events` found for struct `glium::Display` in the current scope [INFO] [stdout] --> src/main.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | for event in window.poll_events() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `glium::Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/session.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | transform: Matrix4::::from_translation(&Vector3::::new(-5.0, 5.0, -10.0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vector3`, found `&Vector3` [INFO] [stdout] | help: consider removing the borrow: `Vector3::::new(-5.0, 5.0, -10.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vector3` [INFO] [stdout] found reference `&Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_window` found for reference `&glium::Display` in the current scope [INFO] [stdout] --> src/renderer.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | let (view_x, view_y) = match display.get_window() { [INFO] [stdout] | ^^^^^^^^^^ help: there is an associated function with a similar name: `gl_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `identity` found for struct `Matrix4<_>` in the current scope [INFO] [stdout] --> src/renderer.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | self.do_render(&mut frame, graph, Matrix4::identity()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Matrix4<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use cgmath::SquareMatrix;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix4: AsUniformValue` is not satisfied [INFO] [stdout] --> src/renderer.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | matrix: self.projection * new_transform [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsUniformValue` is not implemented for `Matrix4` [INFO] [stdout] | [INFO] [stdout] = note: required by `UniformsStorage::<'n, T, EmptyUniforms>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix4: AsUniformValue` is not satisfied [INFO] [stdout] --> src/renderer.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let uniforms = uniform! { [INFO] [stdout] | ____________________^ [INFO] [stdout] 71 | | matrix: self.projection * new_transform [INFO] [stdout] 72 | | }; [INFO] [stdout] | |_____^ the trait `AsUniformValue` is not implemented for `Matrix4` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium-0.29.0/src/uniforms/uniforms.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UniformsStorage<'n, T, R> where T: AsUniformValue, R: Uniforms { [INFO] [stdout] | -------------- required by this bound in `UniformsStorage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix4: AsUniformValue` is not satisfied [INFO] [stdout] --> src/renderer.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | &uniforms, [INFO] [stdout] | ^^^^^^^^^ the trait `AsUniformValue` is not implemented for `Matrix4` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Uniforms` for `UniformsStorage<'_, Matrix4, EmptyUniforms>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `identity` found for struct `Matrix4` in the current scope [INFO] [stdout] --> src/world.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | transform: Matrix4::::identity(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Matrix4` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use cgmath::SquareMatrix;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | transform: Matrix4::::from_translation(&placeholder_pos), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vector3`, found `&Vector3` [INFO] [stdout] | help: consider removing the borrow: `placeholder_pos` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vector3` [INFO] [stdout] found reference `&Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fortress` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `poll_events` found for struct `glium::Display` in the current scope [INFO] [stdout] --> src/main.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | for event in window.poll_events() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `glium::Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/session.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | transform: Matrix4::::from_translation(&Vector3::::new(-5.0, 5.0, -10.0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vector3`, found `&Vector3` [INFO] [stdout] | help: consider removing the borrow: `Vector3::::new(-5.0, 5.0, -10.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vector3` [INFO] [stdout] found reference `&Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_window` found for reference `&glium::Display` in the current scope [INFO] [stdout] --> src/renderer.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | let (view_x, view_y) = match display.get_window() { [INFO] [stdout] | ^^^^^^^^^^ help: there is an associated function with a similar name: `gl_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `identity` found for struct `Matrix4<_>` in the current scope [INFO] [stdout] --> src/renderer.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | self.do_render(&mut frame, graph, Matrix4::identity()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Matrix4<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use cgmath::SquareMatrix;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix4: AsUniformValue` is not satisfied [INFO] [stdout] --> src/renderer.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | matrix: self.projection * new_transform [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsUniformValue` is not implemented for `Matrix4` [INFO] [stdout] | [INFO] [stdout] = note: required by `UniformsStorage::<'n, T, EmptyUniforms>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix4: AsUniformValue` is not satisfied [INFO] [stdout] --> src/renderer.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let uniforms = uniform! { [INFO] [stdout] | ____________________^ [INFO] [stdout] 71 | | matrix: self.projection * new_transform [INFO] [stdout] 72 | | }; [INFO] [stdout] | |_____^ the trait `AsUniformValue` is not implemented for `Matrix4` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glium-0.29.0/src/uniforms/uniforms.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UniformsStorage<'n, T, R> where T: AsUniformValue, R: Uniforms { [INFO] [stdout] | -------------- required by this bound in `UniformsStorage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix4: AsUniformValue` is not satisfied [INFO] [stdout] --> src/renderer.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | &uniforms, [INFO] [stdout] | ^^^^^^^^^ the trait `AsUniformValue` is not implemented for `Matrix4` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Uniforms` for `UniformsStorage<'_, Matrix4, EmptyUniforms>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `identity` found for struct `Matrix4` in the current scope [INFO] [stdout] --> src/world.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | transform: Matrix4::::identity(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Matrix4` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use cgmath::SquareMatrix;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | transform: Matrix4::::from_translation(&placeholder_pos), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vector3`, found `&Vector3` [INFO] [stdout] | help: consider removing the borrow: `placeholder_pos` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vector3` [INFO] [stdout] found reference `&Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "13e1c40ef913fd9b23bec1ff98e81006cde71de2f97cd2a08cb6c76a34eb55f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e1c40ef913fd9b23bec1ff98e81006cde71de2f97cd2a08cb6c76a34eb55f4", kill_on_drop: false }` [INFO] [stdout] 13e1c40ef913fd9b23bec1ff98e81006cde71de2f97cd2a08cb6c76a34eb55f4