[INFO] updating cached repository https://github.com/wathiede/rustyrenderer
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 1adce3afda4a1d0b29db61459e7c5d84b119da2b
[INFO] checking wathiede/rustyrenderer against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwathiede%2Frustyrenderer" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wathiede/rustyrenderer on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/wathiede/rustyrenderer
[INFO] removed path dependency math from git repo https://github.com/wathiede/rustyrenderer
[INFO] finished tweaking git repo https://github.com/wathiede/rustyrenderer
[INFO] tweaked toml for git repo https://github.com/wathiede/rustyrenderer written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/wathiede/rustyrenderer already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-7/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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (math) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6cf9969e10c2968999e5630778324d6029b4263b459de243821546c9973bd4cf
[INFO] running `"docker" "start" "-a" "6cf9969e10c2968999e5630778324d6029b4263b459de243821546c9973bd4cf"`
[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 math v0.0.2
[INFO] [stderr]     Checking miniz-sys v0.1.12
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking flate2 v0.2.20
[INFO] [stderr]     Checking imagefmt v4.0.0
[INFO] [stderr]     Checking rustyrenderer v0.1.0 (/opt/rustwide/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[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 `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<draw::RGB>;
[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<draw::RGB> {
[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<draw::RGB> {
[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: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/draw.rs:74:18
[INFO] [stderr]    |
[INFO] [stderr] 74 |         let im = try!(imagefmt::read(filepath, ColFmt::RGB));
[INFO] [stderr]    |                  ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:149:19
[INFO] [stderr]     |
[INFO] [stderr] 149 |         let tex = try!(draw::Texture2D::read(pb.as_path()));
[INFO] [stderr]     |                   ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:153:26
[INFO] [stderr]     |
[INFO] [stderr] 153 |         let normal_map = try!(draw::Texture2D::read(pb.as_path()));
[INFO] [stderr]     |                          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:163:17
[INFO] [stderr]     |
[INFO] [stderr] 163 |         let f = try!(File::open(p));
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:168:21
[INFO] [stderr]     |
[INFO] [stderr] 168 |                     try!(obj.parse_line(l));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:235:27
[INFO] [stderr]     |
[INFO] [stderr] 235 |                 let idx = try!(c.parse::<usize>()) - 1;
[INFO] [stderr]     |                           ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:255:17
[INFO] [stderr]     |
[INFO] [stderr] 255 |         let x = try!(p[1].parse::<f32>());
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:256:17
[INFO] [stderr]     |
[INFO] [stderr] 256 |         let y = try!(p[2].parse::<f32>());
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:257:17
[INFO] [stderr]     |
[INFO] [stderr] 257 |         let z = try!(p[3].parse::<f32>());
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:264:17
[INFO] [stderr]     |
[INFO] [stderr] 264 |         let v = try!(Object::parse_vec3f(p));
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:271:17
[INFO] [stderr]     |
[INFO] [stderr] 271 |         let v = try!(Object::parse_vec3f(p));
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:278:17
[INFO] [stderr]     |
[INFO] [stderr] 278 |         let v = try!(Object::parse_vec3f(p));
[INFO] [stderr]     |                 ^^^
[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[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 `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<draw::RGB>;
[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<draw::RGB> {
[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<draw::RGB> {
[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: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/draw.rs:74:18
[INFO] [stderr]    |
[INFO] [stderr] 74 |         let im = try!(imagefmt::read(filepath, ColFmt::RGB));
[INFO] [stderr]    |                  ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:149:19
[INFO] [stderr]     |
[INFO] [stderr] 149 |         let tex = try!(draw::Texture2D::read(pb.as_path()));
[INFO] [stderr]     |                   ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:153:26
[INFO] [stderr]     |
[INFO] [stderr] 153 |         let normal_map = try!(draw::Texture2D::read(pb.as_path()));
[INFO] [stderr]     |                          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:163:17
[INFO] [stderr]     |
[INFO] [stderr] 163 |         let f = try!(File::open(p));
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:168:21
[INFO] [stderr]     |
[INFO] [stderr] 168 |                     try!(obj.parse_line(l));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:235:27
[INFO] [stderr]     |
[INFO] [stderr] 235 |                 let idx = try!(c.parse::<usize>()) - 1;
[INFO] [stderr]     |                           ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:255:17
[INFO] [stderr]     |
[INFO] [stderr] 255 |         let x = try!(p[1].parse::<f32>());
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:256:17
[INFO] [stderr]     |
[INFO] [stderr] 256 |         let y = try!(p[2].parse::<f32>());
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:257:17
[INFO] [stderr]     |
[INFO] [stderr] 257 |         let z = try!(p[3].parse::<f32>());
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:264:17
[INFO] [stderr]     |
[INFO] [stderr] 264 |         let v = try!(Object::parse_vec3f(p));
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:271:17
[INFO] [stderr]     |
[INFO] [stderr] 271 |         let v = try!(Object::parse_vec3f(p));
[INFO] [stderr]     |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/wavefront.rs:278:17
[INFO] [stderr]     |
[INFO] [stderr] 278 |         let v = try!(Object::parse_vec3f(p));
[INFO] [stderr]     |                 ^^^
[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[E0282]: type annotations needed
[INFO] [stderr]    --> src/wavefront.rs:155:23
[INFO] [stderr]     |
[INFO] [stderr] 155 |             vertices: Vec::new(),
[INFO] [stderr]     |                       ^^^^^^^^ cannot infer type for type parameter `T`
[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 69 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0071, E0282, 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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0282]: type annotations needed
[INFO] [stderr]    --> src/wavefront.rs:155:23
[INFO] [stderr]     |
[INFO] [stderr] 155 |             vertices: Vec::new(),
[INFO] [stderr]     |                       ^^^^^^^^ cannot infer type for type parameter `T`
[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 69 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0071, E0282, 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" "6cf9969e10c2968999e5630778324d6029b4263b459de243821546c9973bd4cf"`
[INFO] running `"docker" "rm" "-f" "6cf9969e10c2968999e5630778324d6029b4263b459de243821546c9973bd4cf"`
[INFO] [stdout] 6cf9969e10c2968999e5630778324d6029b4263b459de243821546c9973bd4cf
