[INFO] updating cached repository wathiede/rustyrenderer [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/wathiede/rustyrenderer [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/wathiede/rustyrenderer" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/wathiede/rustyrenderer"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/wathiede/rustyrenderer'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/wathiede/rustyrenderer" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/wathiede/rustyrenderer"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/wathiede/rustyrenderer'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1adce3afda4a1d0b29db61459e7c5d84b119da2b [INFO] sha for GitHub repo wathiede/rustyrenderer: 1adce3afda4a1d0b29db61459e7c5d84b119da2b [INFO] validating manifest of wathiede/rustyrenderer on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of wathiede/rustyrenderer on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing wathiede/rustyrenderer [INFO] removed path dependency math from wathiede/rustyrenderer [INFO] finished frobbing wathiede/rustyrenderer [INFO] frobbed toml for wathiede/rustyrenderer written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/wathiede/rustyrenderer/Cargo.toml [INFO] started frobbing wathiede/rustyrenderer [INFO] removed path dependency math from wathiede/rustyrenderer [INFO] finished frobbing wathiede/rustyrenderer [INFO] frobbed toml for wathiede/rustyrenderer written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/wathiede/rustyrenderer/Cargo.toml [INFO] crate wathiede/rustyrenderer already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/wathiede/rustyrenderer/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking wathiede/rustyrenderer against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-6/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/wathiede/rustyrenderer:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 56a3abb2fef18ae9987e36e8d499539658ca536099456d24c4fe63a28193da0e [INFO] running `"docker" "start" "-a" "56a3abb2fef18ae9987e36e8d499539658ca536099456d24c4fe63a28193da0e"` [INFO] [stderr] warning: dependency (math) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking math v0.0.2 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking imagefmt v4.0.0 [INFO] [stderr] Checking rustyrenderer v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `math::Vec3f` [INFO] [stderr] --> src/wavefront.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use math::Vec3f; [INFO] [stderr] | ^^^^^^^^^^^ no `Vec3f` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `math::Vec3f` [INFO] [stderr] --> src/wavefront.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use math::Vec3f; [INFO] [stderr] | ^^^^^^^^^^^ no `Vec3f` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:38:31 [INFO] [stderr] | [INFO] [stderr] 38 | model_view: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:39:29 [INFO] [stderr] | [INFO] [stderr] 39 | viewport: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:40:31 [INFO] [stderr] | [INFO] [stderr] 40 | projection: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | vp_p_mv: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:42:22 [INFO] [stderr] | [INFO] [stderr] 42 | m: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | mit: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:61:31 [INFO] [stderr] | [INFO] [stderr] 61 | let mut m_inv = math::Matrix::identity(); [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:62:29 [INFO] [stderr] | [INFO] [stderr] 62 | let mut t_r = math::Matrix::identity(); [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | let mut vp = math::Matrix::identity(); [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:127:25 [INFO] [stderr] | [INFO] [stderr] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:127:46 [INFO] [stderr] | [INFO] [stderr] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:127:67 [INFO] [stderr] | [INFO] [stderr] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:128:24 [INFO] [stderr] | [INFO] [stderr] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:128:45 [INFO] [stderr] | [INFO] [stderr] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:128:66 [INFO] [stderr] | [INFO] [stderr] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:136:39 [INFO] [stderr] | [INFO] [stderr] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:136:60 [INFO] [stderr] | [INFO] [stderr] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:136:81 [INFO] [stderr] | [INFO] [stderr] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:217:25 [INFO] [stderr] | [INFO] [stderr] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:217:46 [INFO] [stderr] | [INFO] [stderr] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:217:67 [INFO] [stderr] | [INFO] [stderr] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:218:24 [INFO] [stderr] | [INFO] [stderr] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:218:45 [INFO] [stderr] | [INFO] [stderr] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:218:66 [INFO] [stderr] | [INFO] [stderr] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:38:31 [INFO] [stderr] | [INFO] [stderr] 38 | model_view: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:39:29 [INFO] [stderr] | [INFO] [stderr] 39 | viewport: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:226:39 [INFO] [stderr] | [INFO] [stderr] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:226:60 [INFO] [stderr] | [INFO] [stderr] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:226:81 [INFO] [stderr] | [INFO] [stderr] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:40:31 [INFO] [stderr] | [INFO] [stderr] 40 | projection: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | vp_p_mv: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:42:22 [INFO] [stderr] | [INFO] [stderr] 42 | m: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | mit: math::Matrix::identity(), [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/draw.rs:84:36 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn sample(&self, uv: math::Vec3f) -> RGB { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec2i` in crate `math` [INFO] [stderr] --> src/draw.rs:154:39 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn line(&mut self, p0: &math::Vec2i, p1: &math::Vec2i, c: RGB) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec2i` in crate `math` [INFO] [stderr] --> src/draw.rs:154:57 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn line(&mut self, p0: &math::Vec2i, p1: &math::Vec2i, c: RGB) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec2i` in crate `math` [INFO] [stderr] --> src/draw.rs:159:24 [INFO] [stderr] | [INFO] [stderr] 159 | let &math::Vec2i { x: x0, y: y0 } = p0; [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec2i` in crate `math` [INFO] [stderr] --> src/draw.rs:160:24 [INFO] [stderr] | [INFO] [stderr] 160 | let &math::Vec2i { x: x1, y: y1 } = p1; [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/draw.rs:195:45 [INFO] [stderr] | [INFO] [stderr] 195 | pub fn triangle(&mut self, tri: &[math::Vec3f; 3], z_buffer: &mut DepthBuffer, c: RGB) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stderr] --> src/draw.rs:204:32 [INFO] [stderr] | [INFO] [stderr] 204 | let bc = math::barycentric( [INFO] [stderr] | ^^^^^^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stderr] --> src/draw.rs:206:27 [INFO] [stderr] | [INFO] [stderr] 206 | math::Vec3f { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | fn bbox(tri: &[math::Vec3f; 3]) -> (i32, i32, i32, i32) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | light_dir: math::Vec3f, [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:21:27 [INFO] [stderr] | [INFO] [stderr] 21 | pub model_view: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:22:25 [INFO] [stderr] | [INFO] [stderr] 22 | pub viewport: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | pub projection: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | pub vp_p_mv: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:26:18 [INFO] [stderr] | [INFO] [stderr] 26 | pub m: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:27:20 [INFO] [stderr] | [INFO] [stderr] 27 | pub mit: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | light_dir: math::Vec3f { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:47:54 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn set_light_dir(&mut self, light_dir: math::Vec3f) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:57:42 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:57:63 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:57:80 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `cross` in crate `math` [INFO] [stderr] --> src/shader.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | let x = math::cross(up, z).normalize(); [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `cross` in crate `math` [INFO] [stderr] --> src/shader.rs:60:23 [INFO] [stderr] | [INFO] [stderr] 60 | let y = math::cross(z, x).normalize(); [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:94:72 [INFO] [stderr] | [INFO] [stderr] 94 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3]; [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:97:49 [INFO] [stderr] | [INFO] [stderr] 97 | fn fragment(&self, world: &World, bc: math::Vec3f) -> Option; [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | uvs: [math::Vec3f; 3], [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:114:16 [INFO] [stderr] | [INFO] [stderr] 114 | ns: [math::Vec3f; 3], [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:134:72 [INFO] [stderr] | [INFO] [stderr] 134 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3] { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `dot` in crate `math` [INFO] [stderr] --> src/shader.rs:139:37 [INFO] [stderr] | [INFO] [stderr] 139 | self.intensity += math::dot(f.normals[i], world.light_dir.normalize()) / 3.; [INFO] [stderr] | ^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:147:50 [INFO] [stderr] | [INFO] [stderr] 147 | fn fragment(&self, _world: &World, bc: math::Vec3f) -> Option { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stderr] --> src/shader.rs:166:32 [INFO] [stderr] | [INFO] [stderr] 166 | let bc = math::barycentric(tri, [INFO] [stderr] | ^^^^^^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:167:50 [INFO] [stderr] | [INFO] [stderr] 167 | math::Vec3f { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:203:17 [INFO] [stderr] | [INFO] [stderr] 203 | uvs: [math::Vec3f; 3], [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:205:16 [INFO] [stderr] | [INFO] [stderr] 205 | ns: [math::Vec3f; 3], [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:224:72 [INFO] [stderr] | [INFO] [stderr] 224 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3] { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:235:49 [INFO] [stderr] | [INFO] [stderr] 235 | fn fragment(&self, world: &World, bc: math::Vec3f) -> Option { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `dot` in crate `math` [INFO] [stderr] --> src/shader.rs:241:35 [INFO] [stderr] | [INFO] [stderr] 241 | let mut intensity = math::dot(n, l); [INFO] [stderr] | ^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stderr] --> src/shader.rs:259:32 [INFO] [stderr] | [INFO] [stderr] 259 | let bc = math::barycentric(tri, [INFO] [stderr] | ^^^^^^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:260:50 [INFO] [stderr] | [INFO] [stderr] 260 | math::Vec3f { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wavefront.rs:113:32 [INFO] [stderr] | [INFO] [stderr] 113 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:61:31 [INFO] [stderr] | [INFO] [stderr] 61 | let mut m_inv = math::Matrix::identity(); [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:62:29 [INFO] [stderr] | [INFO] [stderr] 62 | let mut t_r = math::Matrix::identity(); [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stderr] --> src/shader.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | let mut vp = math::Matrix::identity(); [INFO] [stderr] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wavefront.rs:116:65 [INFO] [stderr] | [INFO] [stderr] 116 | ErrorRepr::ParseFloatError(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wavefront.rs:117:63 [INFO] [stderr] | [INFO] [stderr] 117 | ErrorRepr::ParseIntError(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wavefront.rs:118:57 [INFO] [stderr] | [INFO] [stderr] 118 | ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wavefront.rs:119:63 [INFO] [stderr] | [INFO] [stderr] 119 | ErrorRepr::ImagefmtError(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:127:25 [INFO] [stderr] | [INFO] [stderr] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:127:46 [INFO] [stderr] | [INFO] [stderr] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:127:67 [INFO] [stderr] | [INFO] [stderr] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:128:24 [INFO] [stderr] | [INFO] [stderr] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:128:45 [INFO] [stderr] | [INFO] [stderr] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:128:66 [INFO] [stderr] | [INFO] [stderr] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:136:39 [INFO] [stderr] | [INFO] [stderr] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:136:60 [INFO] [stderr] | [INFO] [stderr] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:136:81 [INFO] [stderr] | [INFO] [stderr] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:217:25 [INFO] [stderr] | [INFO] [stderr] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:217:46 [INFO] [stderr] | [INFO] [stderr] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:217:67 [INFO] [stderr] | [INFO] [stderr] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:218:24 [INFO] [stderr] | [INFO] [stderr] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:218:45 [INFO] [stderr] | [INFO] [stderr] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:218:66 [INFO] [stderr] | [INFO] [stderr] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:226:39 [INFO] [stderr] | [INFO] [stderr] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:226:60 [INFO] [stderr] | [INFO] [stderr] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stderr] --> src/shader.rs:226:81 [INFO] [stderr] | [INFO] [stderr] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stderr] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/draw.rs:84:36 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn sample(&self, uv: math::Vec3f) -> RGB { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec2i` in crate `math` [INFO] [stderr] --> src/draw.rs:154:39 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn line(&mut self, p0: &math::Vec2i, p1: &math::Vec2i, c: RGB) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec2i` in crate `math` [INFO] [stderr] --> src/draw.rs:154:57 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn line(&mut self, p0: &math::Vec2i, p1: &math::Vec2i, c: RGB) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec2i` in crate `math` [INFO] [stderr] --> src/draw.rs:159:24 [INFO] [stderr] | [INFO] [stderr] 159 | let &math::Vec2i { x: x0, y: y0 } = p0; [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec2i` in crate `math` [INFO] [stderr] --> src/draw.rs:160:24 [INFO] [stderr] | [INFO] [stderr] 160 | let &math::Vec2i { x: x1, y: y1 } = p1; [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/draw.rs:195:45 [INFO] [stderr] | [INFO] [stderr] 195 | pub fn triangle(&mut self, tri: &[math::Vec3f; 3], z_buffer: &mut DepthBuffer, c: RGB) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stderr] --> src/draw.rs:204:32 [INFO] [stderr] | [INFO] [stderr] 204 | let bc = math::barycentric( [INFO] [stderr] | ^^^^^^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stderr] --> src/draw.rs:206:27 [INFO] [stderr] | [INFO] [stderr] 206 | math::Vec3f { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | fn bbox(tri: &[math::Vec3f; 3]) -> (i32, i32, i32, i32) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | light_dir: math::Vec3f, [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:21:27 [INFO] [stderr] | [INFO] [stderr] 21 | pub model_view: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:22:25 [INFO] [stderr] | [INFO] [stderr] 22 | pub viewport: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | pub projection: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | pub vp_p_mv: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:26:18 [INFO] [stderr] | [INFO] [stderr] 26 | pub m: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stderr] --> src/shader.rs:27:20 [INFO] [stderr] | [INFO] [stderr] 27 | pub mit: math::Matrix, [INFO] [stderr] | ^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | light_dir: math::Vec3f { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:47:54 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn set_light_dir(&mut self, light_dir: math::Vec3f) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:57:42 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:57:63 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:57:80 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `cross` in crate `math` [INFO] [stderr] --> src/shader.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | let x = math::cross(up, z).normalize(); [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `cross` in crate `math` [INFO] [stderr] --> src/shader.rs:60:23 [INFO] [stderr] | [INFO] [stderr] 60 | let y = math::cross(z, x).normalize(); [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:94:72 [INFO] [stderr] | [INFO] [stderr] 94 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3]; [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:97:49 [INFO] [stderr] | [INFO] [stderr] 97 | fn fragment(&self, world: &World, bc: math::Vec3f) -> Option; [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | uvs: [math::Vec3f; 3], [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:114:16 [INFO] [stderr] | [INFO] [stderr] 114 | ns: [math::Vec3f; 3], [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:134:72 [INFO] [stderr] | [INFO] [stderr] 134 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3] { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `dot` in crate `math` [INFO] [stderr] --> src/shader.rs:139:37 [INFO] [stderr] | [INFO] [stderr] 139 | self.intensity += math::dot(f.normals[i], world.light_dir.normalize()) / 3.; [INFO] [stderr] | ^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:147:50 [INFO] [stderr] | [INFO] [stderr] 147 | fn fragment(&self, _world: &World, bc: math::Vec3f) -> Option { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stderr] --> src/shader.rs:166:32 [INFO] [stderr] | [INFO] [stderr] 166 | let bc = math::barycentric(tri, [INFO] [stderr] | ^^^^^^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:167:50 [INFO] [stderr] | [INFO] [stderr] 167 | math::Vec3f { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:203:17 [INFO] [stderr] | [INFO] [stderr] 203 | uvs: [math::Vec3f; 3], [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:205:16 [INFO] [stderr] | [INFO] [stderr] 205 | ns: [math::Vec3f; 3], [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:224:72 [INFO] [stderr] | [INFO] [stderr] 224 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3] { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:235:49 [INFO] [stderr] | [INFO] [stderr] 235 | fn fragment(&self, world: &World, bc: math::Vec3f) -> Option { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `dot` in crate `math` [INFO] [stderr] --> src/shader.rs:241:35 [INFO] [stderr] | [INFO] [stderr] 241 | let mut intensity = math::dot(n, l); [INFO] [stderr] | ^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stderr] --> src/shader.rs:259:32 [INFO] [stderr] | [INFO] [stderr] 259 | let bc = math::barycentric(tri, [INFO] [stderr] | ^^^^^^^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stderr] --> src/shader.rs:260:50 [INFO] [stderr] | [INFO] [stderr] 260 | math::Vec3f { [INFO] [stderr] | ^^^^^ not found in `math` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wavefront.rs:113:32 [INFO] [stderr] | [INFO] [stderr] 113 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wavefront.rs:116:65 [INFO] [stderr] | [INFO] [stderr] 116 | ErrorRepr::ParseFloatError(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wavefront.rs:117:63 [INFO] [stderr] | [INFO] [stderr] 117 | ErrorRepr::ParseIntError(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wavefront.rs:118:57 [INFO] [stderr] | [INFO] [stderr] 118 | ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wavefront.rs:119:63 [INFO] [stderr] | [INFO] [stderr] 119 | ErrorRepr::ImagefmtError(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] error[E0071]: expected struct, variant or union type, found type error [INFO] [stderr] --> src/wavefront.rs:258:12 [INFO] [stderr] | [INFO] [stderr] 258 | Ok(Vertex { x: x, y: y, z: z }) [INFO] [stderr] | ^^^^^^ not a struct [INFO] [stderr] [INFO] [stderr] error: aborting due to 68 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0071, E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0071`. [INFO] [stderr] error: Could not compile `rustyrenderer`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0071]: expected struct, variant or union type, found type error [INFO] [stderr] --> src/wavefront.rs:258:12 [INFO] [stderr] | [INFO] [stderr] 258 | Ok(Vertex { x: x, y: y, z: z }) [INFO] [stderr] | ^^^^^^ not a struct [INFO] [stderr] [INFO] [stderr] error: aborting due to 68 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0071, E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0071`. [INFO] [stderr] error: Could not compile `rustyrenderer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "56a3abb2fef18ae9987e36e8d499539658ca536099456d24c4fe63a28193da0e"` [INFO] running `"docker" "rm" "-f" "56a3abb2fef18ae9987e36e8d499539658ca536099456d24c4fe63a28193da0e"` [INFO] [stdout] 56a3abb2fef18ae9987e36e8d499539658ca536099456d24c4fe63a28193da0e