[INFO] cloning repository https://github.com/des256/steel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/des256/steel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdes256%2Fsteel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdes256%2Fsteel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b666992d3246e9a3522e96b6b288c20e62a3960d [INFO] documenting des256/steel against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdes256%2Fsteel" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/des256/steel on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/des256/steel [INFO] removed path dependency e from git repo https://github.com/des256/steel [INFO] finished tweaking git repo https://github.com/des256/steel [INFO] tweaked toml for git repo https://github.com/des256/steel written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (e) 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ed54083bd35ba6f4f6c67e0a52f9704ba0cac659f106b11deaac38cf4ee067f [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" "1ed54083bd35ba6f4f6c67e0a52f9704ba0cac659f106b11deaac38cf4ee067f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ed54083bd35ba6f4f6c67e0a52f9704ba0cac659f106b11deaac38cf4ee067f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ed54083bd35ba6f4f6c67e0a52f9704ba0cac659f106b11deaac38cf4ee067f", kill_on_drop: false }` [INFO] [stdout] 1ed54083bd35ba6f4f6c67e0a52f9704ba0cac659f106b11deaac38cf4ee067f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd1ef78b899dec1907dbd56e86fcada7bc78ea3413174247ef982da036cad11f [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" "fd1ef78b899dec1907dbd56e86fcada7bc78ea3413174247ef982da036cad11f", kill_on_drop: false }` [INFO] [stderr] warning: dependency (e) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking e v0.0.0 [INFO] [stderr] Checking g v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting g v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:27:90 [INFO] [stdout] | [INFO] [stdout] 27 | ...2D::::new(&engine.graphics,vec2!(64usize,64usize)).expect("Unable to create atlas texture.")); [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:28:79 [INFO] [stdout] | [INFO] [stdout] 28 | ... let map_texture = Rc::new(gpu::Texture2D::::new(&engine.graphics,vec2!(256usize,256usize)).expect("Unable to create map textur... [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | offset: Cell::new(vec2!(0.0f32,0.0f32)), [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:60:60 [INFO] [stdout] | [INFO] [stdout] 60 | self.engine.graphics.set_uniform("tiles_per_pixel",vec2!(0.125 as f32,0.125 as f32)); [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | self.engine.graphics.set_uniform("pixels_per_layer",vec2!(self.framebuffer.size.x as f32,self.framebuffer.size.y as f32)); [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | self.engine.graphics.set_uniform("maps_per_tile",vec2!(0.25 as f32,0.25 as f32)); [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rect` in this scope [INFO] [stdout] --> src/engine.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | let window = Rc::new(match Window::new(&system,rect!(50,50,winsize.x as isize,winsize.y as isize),"Engine Window") { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/engine.rs:199:42 [INFO] [stdout] | [INFO] [stdout] 199 | self.window.size.set(vec2!(s.x as usize,s.y as usize)); [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/engine.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | vec2!(fb_aspect / win_aspect,1.0) [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/engine.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | vec2!(1.0,win_aspect / fb_aspect) [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/lib.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | fn framebuffer(&self) -> &gpu::Framebuffer; [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/staticlayer.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) framebuffer: Rc, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/staticlayer.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new_from_mat(engine: &Rc,image: Mat) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared type or module `pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/staticlayer.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | let framebuffer = Rc::new(match gpu::Framebuffer::new(&engine.graphics,engine.framebuffer.size) { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/staticlayer.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | let texture = gpu::Texture2D::new_from_mat(&engine.graphics,image).expect("unable to load texture"); [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/staticlayer.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | fn framebuffer(&self) -> &gpu::Framebuffer { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) framebuffer: Rc, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) atlas_texture: RefCell>>, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/maplayer.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) atlas_texture: RefCell>>, [INFO] [stdout] | ^^^^^ use of undeclared type or module `pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) map_texture: RefCell>>, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | let framebuffer = Rc::new(match gpu::Framebuffer::new(&engine.graphics,engine.framebuffer.size) { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | ... let atlas_texture = Rc::new(gpu::Texture2D::::new(&engine.graphics,vec2!(64usize,64usize)).expect("Unable to create a... [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/maplayer.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | ... let atlas_texture = Rc::new(gpu::Texture2D::::new(&engine.graphics,vec2!(64usize,64usize)).expect("Unable to create a... [INFO] [stdout] | ^^^^^ use of undeclared type or module `pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | ... let map_texture = Rc::new(gpu::Texture2D::::new(&engine.graphics,vec2!(256usize,256usize)).expect("Unable to create map textur... [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/maplayer.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn set_atlas_from_mat(&self,image: Mat) { [INFO] [stdout] | ^^^^^ use of undeclared type or module `pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | ... *self.atlas_texture.borrow_mut() = Rc::new(gpu::Texture2D::::new_from_mat(&self.engine.graphics,image).expect("Unable... [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/maplayer.rs:39:69 [INFO] [stdout] | [INFO] [stdout] 39 | ... *self.atlas_texture.borrow_mut() = Rc::new(gpu::Texture2D::::new_from_mat(&self.engine.graphics,image).expect("Unable... [INFO] [stdout] | ^^^^^ use of undeclared type or module `pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:43:50 [INFO] [stdout] | [INFO] [stdout] 43 | ... *self.map_texture.borrow_mut() = Rc::new(gpu::Texture2D::::new_from_mat(&self.engine.graphics,image).expect("Unable to upload ... [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn framebuffer(&self) -> &gpu::Framebuffer { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) graphics: Rc, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub framebuffer: Rc, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) layer_shader: gpu::Shader, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) final_shader: gpu::Shader, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) static_shader: gpu::Shader, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) map_shader: gpu::Shader, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub quad_vertexbuffer: gpu::VertexBuffer>, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(system: &Rc,graphics: &Rc,winsize: Vec2,fbsize: Vec2) -> Result { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Window` [INFO] [stdout] --> src/engine.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | let window = Rc::new(match Window::new(&system,rect!(50,50,winsize.x as isize,winsize.y as isize),"Engine Window") { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | let framebuffer = Rc::new(match gpu::Framebuffer::new(&graphics,fbsize) { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | let layer_shader = match gpu::Shader::new(&graphics,layer_vs,None,layer_fs) { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:27:90 [INFO] [stdout] | [INFO] [stdout] 27 | ...2D::::new(&engine.graphics,vec2!(64usize,64usize)).expect("Unable to create atlas texture.")); [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let final_shader = match gpu::Shader::new(&graphics,final_vs,None,final_fs) { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | let static_shader = match gpu::Shader::new(&graphics,static_vs,None,static_fs) { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 167 | let map_shader = match gpu::Shader::new(&graphics,map_vs,None,map_fs) { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | let quad_vertexbuffer = match gpu::VertexBuffer::new_from_vec(&graphics,QUAD.to_vec()) { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stdout] --> src/engine.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | Event::Resize(s) => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stdout] --> src/engine.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | Event::Close => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | gpu::present(&self.system,&self.window); [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mat` in this scope [INFO] [stdout] --> src/staticlayer.rs:13:52 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new_from_mat(engine: &Rc,image: Mat) -> Result { [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/maplayer.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) offset: Cell>, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mat` in this scope [INFO] [stdout] --> src/maplayer.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn set_atlas_from_mat(&self,image: Mat) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mat` in this scope [INFO] [stdout] --> src/maplayer.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn set_map_from_mat(&self,image: Mat) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/engine.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) system: Rc, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Window` in this scope [INFO] [stdout] --> src/engine.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Engine { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 14 | pub window: Rc, [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/engine.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | pub quad_vertexbuffer: gpu::VertexBuffer>, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | static QUAD: [Vec2; 4] = [ [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Vec2:: { x: 0.0,y: 0.0, }, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Vec2:: { x: 1.0,y: 0.0, }, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Vec2:: { x: 1.0,y: 1.0, }, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Vec2:: { x: 0.0,y: 1.0, }, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/engine.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(system: &Rc,graphics: &Rc,winsize: Vec2,fbsize: Vec2) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:48:74 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(system: &Rc,graphics: &Rc,winsize: Vec2,fbsize: Vec2) -> Result { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:48:94 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(system: &Rc,graphics: &Rc,winsize: Vec2,fbsize: Vec2) -> Result { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:28:79 [INFO] [stdout] | [INFO] [stdout] 28 | ... let map_texture = Rc::new(gpu::Texture2D::::new(&engine.graphics,vec2!(256usize,256usize)).expect("Unable to create map textur... [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | offset: Cell::new(vec2!(0.0f32,0.0f32)), [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:60:60 [INFO] [stdout] | [INFO] [stdout] 60 | self.engine.graphics.set_uniform("tiles_per_pixel",vec2!(0.125 as f32,0.125 as f32)); [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | self.engine.graphics.set_uniform("pixels_per_layer",vec2!(self.framebuffer.size.x as f32,self.framebuffer.size.y as f32)); [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/maplayer.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | self.engine.graphics.set_uniform("maps_per_tile",vec2!(0.25 as f32,0.25 as f32)); [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rect` in this scope [INFO] [stdout] --> src/engine.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | let window = Rc::new(match Window::new(&system,rect!(50,50,winsize.x as isize,winsize.y as isize),"Engine Window") { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/engine.rs:199:42 [INFO] [stdout] | [INFO] [stdout] 199 | self.window.size.set(vec2!(s.x as usize,s.y as usize)); [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/engine.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | vec2!(fb_aspect / win_aspect,1.0) [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec2` in this scope [INFO] [stdout] --> src/engine.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | vec2!(1.0,win_aspect / fb_aspect) [INFO] [stdout] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/lib.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | fn framebuffer(&self) -> &gpu::Framebuffer; [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/staticlayer.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) framebuffer: Rc, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `e::*` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use e::*; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/staticlayer.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new_from_mat(engine: &Rc,image: Mat) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared type or module `pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/staticlayer.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | fn framebuffer(&self) -> &gpu::Framebuffer { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) framebuffer: Rc, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) atlas_texture: RefCell>>, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/maplayer.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) atlas_texture: RefCell>>, [INFO] [stdout] | ^^^^^ use of undeclared type or module `pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) map_texture: RefCell>>, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/maplayer.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn set_atlas_from_mat(&self,image: Mat) { [INFO] [stdout] | ^^^^^ use of undeclared type or module `pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/maplayer.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn framebuffer(&self) -> &gpu::Framebuffer { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) graphics: Rc, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub framebuffer: Rc, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) layer_shader: gpu::Shader, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) final_shader: gpu::Shader, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) static_shader: gpu::Shader, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) map_shader: gpu::Shader, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub quad_vertexbuffer: gpu::VertexBuffer>, [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpu` [INFO] [stdout] --> src/engine.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(system: &Rc,graphics: &Rc,winsize: Vec2,fbsize: Vec2) -> Result { [INFO] [stdout] | ^^^ use of undeclared type or module `gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mat` in this scope [INFO] [stdout] --> src/staticlayer.rs:13:52 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new_from_mat(engine: &Rc,image: Mat) -> Result { [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/maplayer.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) offset: Cell>, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mat` in this scope [INFO] [stdout] --> src/maplayer.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn set_atlas_from_mat(&self,image: Mat) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mat` in this scope [INFO] [stdout] --> src/maplayer.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn set_map_from_mat(&self,image: Mat) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/engine.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) system: Rc, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Window` in this scope [INFO] [stdout] --> src/engine.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Engine { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 14 | pub window: Rc, [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/engine.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | pub quad_vertexbuffer: gpu::VertexBuffer>, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | static QUAD: [Vec2; 4] = [ [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Vec2:: { x: 0.0,y: 0.0, }, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Vec2:: { x: 1.0,y: 0.0, }, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Vec2:: { x: 1.0,y: 1.0, }, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Vec2:: { x: 0.0,y: 1.0, }, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/engine.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(system: &Rc,graphics: &Rc,winsize: Vec2,fbsize: Vec2) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:48:74 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(system: &Rc,graphics: &Rc,winsize: Vec2,fbsize: Vec2) -> Result { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/engine.rs:48:94 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(system: &Rc,graphics: &Rc,winsize: Vec2,fbsize: Vec2) -> Result { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `g`. [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type rlib --crate-name g src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern e=/opt/rustwide/target/debug/deps/libe-da7e1aadbcfae049.rmeta --cap-lints=warn` (exit code: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 62 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fd1ef78b899dec1907dbd56e86fcada7bc78ea3413174247ef982da036cad11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd1ef78b899dec1907dbd56e86fcada7bc78ea3413174247ef982da036cad11f", kill_on_drop: false }` [INFO] [stdout] fd1ef78b899dec1907dbd56e86fcada7bc78ea3413174247ef982da036cad11f