[INFO] cloning repository https://github.com/yohandev/software-rasterizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yohandev/software-rasterizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyohandev%2Fsoftware-rasterizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyohandev%2Fsoftware-rasterizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b84cca09112ff289b784e2df92674caba8099f2d [INFO] checking yohandev/software-rasterizer against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyohandev%2Fsoftware-rasterizer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yohandev/software-rasterizer on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yohandev/software-rasterizer [INFO] removed path dependency framework from git repo https://github.com/yohandev/software-rasterizer [INFO] finished tweaking git repo https://github.com/yohandev/software-rasterizer [INFO] tweaked toml for git repo https://github.com/yohandev/software-rasterizer written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/yohandev/software-rasterizer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (framework) 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-5/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" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (framework) 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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 396be5805fb1fce94669c196cc6b6575387bacb015ea2c247acea19ce94d7632 [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" "396be5805fb1fce94669c196cc6b6575387bacb015ea2c247acea19ce94d7632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "396be5805fb1fce94669c196cc6b6575387bacb015ea2c247acea19ce94d7632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396be5805fb1fce94669c196cc6b6575387bacb015ea2c247acea19ce94d7632", kill_on_drop: false }` [INFO] [stdout] 396be5805fb1fce94669c196cc6b6575387bacb015ea2c247acea19ce94d7632 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15f91e47a25714164dfc776682946f1fe18d16c0ced3f741d3e66be9f8686b09 [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" "15f91e47a25714164dfc776682946f1fe18d16c0ced3f741d3e66be9f8686b09", kill_on_drop: false }` [INFO] [stderr] warning: dependency (framework) 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] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking tobj v2.0.3 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking framework v0.2.0 [INFO] [stderr] Checking software-rasterizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `framework::math` [INFO] [stdout] --> src/shader.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use framework::math::*; [INFO] [stdout] | ^^^^ could not find `math` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `framework::util` [INFO] [stdout] --> src/draw.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use framework::util::{ Bresenham, Triangle }; [INFO] [stdout] | ^^^^ could not find `util` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `framework::math` [INFO] [stdout] --> src/draw.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use framework::math::*; [INFO] [stdout] | ^^^^ could not find `math` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `framework::math` [INFO] [stdout] --> src/app.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use framework::math::*; [INFO] [stdout] | ^^^^ could not find `math` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `framework::math`, `crate::draw` [INFO] [stdout] --> src/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::draw; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/obj.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use framework::math::*; [INFO] [stdout] | ^^^^ could not find `math` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/shader.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let pos = Vec4::new(v.pos.x, v.pos.y, v.pos.z, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let r = Vec3::new(tri.x.r, tri.y.r, tri.z.r).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let g = Vec3::new(tri.x.g, tri.y.g, tri.z.g).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let b = Vec3::new(tri.x.b, tri.y.b, tri.z.b).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let a = Vec3::new(tri.x.a, tri.y.a, tri.z.a).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgba` [INFO] [stdout] --> src/shader.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Rgba::new(r, g, b, a) [INFO] [stdout] | ^^^^ use of undeclared type `Rgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `framework::math` [INFO] [stdout] --> src/shader.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use framework::math::*; [INFO] [stdout] | ^^^^ could not find `math` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `framework::util` [INFO] [stdout] --> src/draw.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use framework::util::{ Bresenham, Triangle }; [INFO] [stdout] | ^^^^ could not find `util` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `framework::math` [INFO] [stdout] --> src/draw.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use framework::math::*; [INFO] [stdout] | ^^^^ could not find `math` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `framework::math` [INFO] [stdout] --> src/app.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use framework::math::*; [INFO] [stdout] | ^^^^ could not find `math` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `framework::math`, `crate::draw` [INFO] [stdout] --> src/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::draw; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/obj.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use framework::math::*; [INFO] [stdout] | ^^^^ could not find `math` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgba` [INFO] [stdout] --> src/shader.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Rgba::::interpolate(tri.map(|n| n.as_()), bar).as_() [INFO] [stdout] | ^^^^ use of undeclared type `Rgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let r = Vec3::new(tri.x.r, tri.y.r, tri.z.r).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let g = Vec3::new(tri.x.g, tri.y.g, tri.z.g).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let b = Vec3::new(tri.x.b, tri.y.b, tri.z.b).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgb` [INFO] [stdout] --> src/shader.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | Rgb::new(r, g, b) [INFO] [stdout] | ^^^ use of undeclared type `Rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/shader.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let pos = Vec4::new(v.pos.x, v.pos.y, v.pos.z, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgb` [INFO] [stdout] --> src/shader.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | Rgb::::interpolate(tri.map(|n| n.as_()), bar).as_() [INFO] [stdout] | ^^^ use of undeclared type `Rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let r = Vec3::new(tri.x.r, tri.y.r, tri.z.r).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/draw.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | let col = tex[Vec2::new(u, 1.0 - v)].map(|p| (p as f32 * light) as u8); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let g = Vec3::new(tri.x.g, tri.y.g, tri.z.g).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let b = Vec3::new(tri.x.b, tri.y.b, tri.z.b).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let a = Vec3::new(tri.x.a, tri.y.a, tri.z.a).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgba` [INFO] [stdout] --> src/shader.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Rgba::new(r, g, b, a) [INFO] [stdout] | ^^^^ use of undeclared type `Rgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgba` [INFO] [stdout] --> src/app.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | frame.clear(Rgba::black()); [INFO] [stdout] | ^^^^ use of undeclared type `Rgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgba` [INFO] [stdout] --> src/shader.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Rgba::::interpolate(tri.map(|n| n.as_()), bar).as_() [INFO] [stdout] | ^^^^ use of undeclared type `Rgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/app.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let t = Mat3::identity() [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/app.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | self.light = Vec3::new(c, s, c * s); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/app.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | light: Vec3::zero(), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Image` [INFO] [stdout] --> src/app.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | tex: Image::open("res/head_diffuse.tga").unwrap(), [INFO] [stdout] | ^^^^^ use of undeclared type `Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let r = Vec3::new(tri.x.r, tri.y.r, tri.z.r).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let g = Vec3::new(tri.x.g, tri.y.g, tri.z.g).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/shader.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let b = Vec3::new(tri.x.b, tri.y.b, tri.z.b).dot(bar); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgb` [INFO] [stdout] --> src/shader.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | Rgb::new(r, g, b) [INFO] [stdout] | ^^^ use of undeclared type `Rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgb` [INFO] [stdout] --> src/shader.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | Rgb::::interpolate(tri.map(|n| n.as_()), bar).as_() [INFO] [stdout] | ^^^ use of undeclared type `Rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/obj.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | pos: Vec3::new(pos[0], pos[1], pos[2]), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/obj.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | nor: Vec3::new(nor[0], nor[1], nor[2]), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/obj.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | tex: Vec2::new(tex[0], tex[1]), [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/draw.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | let col = tex[Vec2::new(u, 1.0 - v)].map(|p| (p as f32 * light) as u8); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mat4` in this scope [INFO] [stdout] --> src/shader.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | type Uniforms = (Mat4,); // (mvp,) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec4` in this scope [INFO] [stdout] --> src/shader.rs:12:61 [INFO] [stdout] | [INFO] [stdout] 12 | fn vertex(v: Self::Vertex, (mvp,): &Self::Uniforms) -> (Vec4, Self::Varyings) [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/shader.rs:20:59 [INFO] [stdout] | [INFO] [stdout] 20 | fn fragment(v: Self::Varyings, u: &Self::Uniforms) -> Rgba [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec4` in this scope [INFO] [stdout] --> src/shader.rs:40:56 [INFO] [stdout] | [INFO] [stdout] 40 | fn vertex(v: Self::Vertex, u: &Self::Uniforms) -> (Vec4, Self::Varyings); [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/shader.rs:42:59 [INFO] [stdout] | [INFO] [stdout] 42 | fn fragment(v: Self::Varyings, u: &Self::Uniforms) -> Rgba; [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/shader.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | fn interpolate(tri: Vec3, bar: Vec3) -> Self; [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/shader.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | fn interpolate(tri: Vec3, bar: Vec3) -> Self; [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/shader.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [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/shader.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/shader.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | impl Varying for Rgba [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/shader.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [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/shader.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgba` [INFO] [stdout] --> src/app.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | frame.clear(Rgba::black()); [INFO] [stdout] | ^^^^ use of undeclared type `Rgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/shader.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | impl Varying for Rgba [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/shader.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [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/shader.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgb` in this scope [INFO] [stdout] --> src/shader.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | impl Varying for Rgb [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/shader.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [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/shader.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgb` in this scope [INFO] [stdout] --> src/shader.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | impl Varying for Rgb [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/shader.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [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/shader.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frame` in this scope [INFO] [stdout] --> src/draw.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn line(frame: &mut Frame, a: Vec2, b: Vec2, col: Rgba) [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/draw.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn line(frame: &mut Frame, a: Vec2, b: Vec2, col: Rgba) [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/app.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let t = Mat3::identity() [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/draw.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn line(frame: &mut Frame, a: Vec2, b: Vec2, col: Rgba) [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/draw.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn line(frame: &mut Frame, a: Vec2, b: Vec2, col: Rgba) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frame` in this scope [INFO] [stdout] --> src/draw.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn triangle(frame: &mut Frame, depth: &mut [f32], tri: [Vertex; 3], tex: &Image, light: f32) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Image` in this scope [INFO] [stdout] --> src/draw.rs:23:79 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn triangle(frame: &mut Frame, depth: &mut [f32], tri: [Vertex; 3], tex: &Image, light: 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/app.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | light: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Image` in this scope [INFO] [stdout] --> src/app.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | tex: Image, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `App` in this scope [INFO] [stdout] --> src/app.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl App for MyApp [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frame` in this scope [INFO] [stdout] --> src/app.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | fn render(&mut self, frame: &mut Frame) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/app.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | self.light = Vec3::new(c, s, c * s); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/app.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let size: Vec2 = Self::SIZE.as_().into(); [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Time` in this scope [INFO] [stdout] --> src/app.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | fn update(&mut self, time: &Time) [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/obj.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub pos: 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/obj.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub nor: Vec3, [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/obj.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub tex: Vec2, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/app.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | light: Vec3::zero(), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in crate `framework` [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | framework::run::(); [INFO] [stdout] | ^^^ not found in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Image` [INFO] [stdout] --> src/app.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | tex: Image::open("res/head_diffuse.tga").unwrap(), [INFO] [stdout] | ^^^^^ use of undeclared type `Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `framework::*` [INFO] [stdout] --> src/shader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use framework::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `framework::*` [INFO] [stdout] --> src/draw.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use framework::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `framework::*` [INFO] [stdout] --> src/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use framework::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/obj.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | pos: Vec3::new(pos[0], pos[1], pos[2]), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/obj.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | nor: Vec3::new(nor[0], nor[1], nor[2]), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/obj.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | tex: Vec2::new(tex[0], tex[1]), [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mat4` in this scope [INFO] [stdout] --> src/shader.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | type Uniforms = (Mat4,); // (mvp,) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec4` in this scope [INFO] [stdout] --> src/shader.rs:12:61 [INFO] [stdout] | [INFO] [stdout] 12 | fn vertex(v: Self::Vertex, (mvp,): &Self::Uniforms) -> (Vec4, Self::Varyings) [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/shader.rs:20:59 [INFO] [stdout] | [INFO] [stdout] 20 | fn fragment(v: Self::Varyings, u: &Self::Uniforms) -> Rgba [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec4` in this scope [INFO] [stdout] --> src/shader.rs:40:56 [INFO] [stdout] | [INFO] [stdout] 40 | fn vertex(v: Self::Vertex, u: &Self::Uniforms) -> (Vec4, Self::Varyings); [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/shader.rs:42:59 [INFO] [stdout] | [INFO] [stdout] 42 | fn fragment(v: Self::Varyings, u: &Self::Uniforms) -> Rgba; [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/shader.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | fn interpolate(tri: Vec3, bar: Vec3) -> Self; [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/shader.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | fn interpolate(tri: Vec3, bar: Vec3) -> Self; [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/shader.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [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/shader.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/shader.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | impl Varying for Rgba [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/shader.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [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/shader.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/shader.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | impl Varying for Rgba [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/shader.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [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/shader.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgb` in this scope [INFO] [stdout] --> src/shader.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | impl Varying for Rgb [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/shader.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [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/shader.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgb` in this scope [INFO] [stdout] --> src/shader.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | impl Varying for Rgb [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/shader.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `software-rasterizer` [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/shader.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | fn interpolate(tri: Vec3, bar: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `Frame` in this scope [INFO] [stdout] --> src/draw.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn line(frame: &mut Frame, a: Vec2, b: Vec2, col: Rgba) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/draw.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn line(frame: &mut Frame, a: Vec2, b: Vec2, col: Rgba) [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/draw.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn line(frame: &mut Frame, a: Vec2, b: Vec2, col: Rgba) [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/draw.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn line(frame: &mut Frame, a: Vec2, b: Vec2, col: Rgba) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frame` in this scope [INFO] [stdout] --> src/draw.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn triangle(frame: &mut Frame, depth: &mut [f32], tri: [Vertex; 3], tex: &Image, light: f32) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Image` in this scope [INFO] [stdout] --> src/draw.rs:23:79 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn triangle(frame: &mut Frame, depth: &mut [f32], tri: [Vertex; 3], tex: &Image, light: 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/app.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | light: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Image` in this scope [INFO] [stdout] --> src/app.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | tex: Image, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `App` in this scope [INFO] [stdout] --> src/app.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl App for MyApp [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frame` in this scope [INFO] [stdout] --> src/app.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | fn render(&mut self, frame: &mut Frame) [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/app.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let size: Vec2 = Self::SIZE.as_().into(); [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Time` in this scope [INFO] [stdout] --> src/app.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | fn update(&mut self, time: &Time) [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/obj.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub pos: 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/obj.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub nor: Vec3, [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/obj.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub tex: Vec2, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in crate `framework` [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | framework::run::(); [INFO] [stdout] | ^^^ not found in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `framework::*` [INFO] [stdout] --> src/shader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use framework::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `framework::*` [INFO] [stdout] --> src/draw.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use framework::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `framework::*` [INFO] [stdout] --> src/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use framework::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "15f91e47a25714164dfc776682946f1fe18d16c0ced3f741d3e66be9f8686b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f91e47a25714164dfc776682946f1fe18d16c0ced3f741d3e66be9f8686b09", kill_on_drop: false }` [INFO] [stdout] 15f91e47a25714164dfc776682946f1fe18d16c0ced3f741d3e66be9f8686b09