[INFO] cloning repository https://github.com/wathiede/rustyrenderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wathiede/rustyrenderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwathiede%2Frustyrenderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwathiede%2Frustyrenderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1adce3afda4a1d0b29db61459e7c5d84b119da2b [INFO] checking wathiede/rustyrenderer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwathiede%2Frustyrenderer" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wathiede/rustyrenderer on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/wathiede/rustyrenderer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04a05bd0e95086eca26f8a063ed54f30b45b8a2687dc1b1d4b2ac7710829e764 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "04a05bd0e95086eca26f8a063ed54f30b45b8a2687dc1b1d4b2ac7710829e764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04a05bd0e95086eca26f8a063ed54f30b45b8a2687dc1b1d4b2ac7710829e764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a05bd0e95086eca26f8a063ed54f30b45b8a2687dc1b1d4b2ac7710829e764", kill_on_drop: false }` [INFO] [stdout] 04a05bd0e95086eca26f8a063ed54f30b45b8a2687dc1b1d4b2ac7710829e764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e30db51b7f6795a42efba8ceeeab1381533834beec8d4eafdabe2f0a48feb07a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e30db51b7f6795a42efba8ceeeab1381533834beec8d4eafdabe2f0a48feb07a", kill_on_drop: false }` [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 lazy_static v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking imagefmt v4.0.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking math v0.9.1 [INFO] [stderr] Checking rustyrenderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `math::Vec3f` [INFO] [stdout] --> src/wavefront.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use math::Vec3f; [INFO] [stdout] | ^^^^^^^^^^^ no `Vec3f` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | model_view: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `math::Vec3f` [INFO] [stdout] --> src/wavefront.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use math::Vec3f; [INFO] [stdout] | ^^^^^^^^^^^ no `Vec3f` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | viewport: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | projection: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | vp_p_mv: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | m: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | mit: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | let mut m_inv = math::Matrix::identity(); [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | let mut t_r = math::Matrix::identity(); [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | let mut vp = math::Matrix::identity(); [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:127:46 [INFO] [stdout] | [INFO] [stdout] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:127:67 [INFO] [stdout] | [INFO] [stdout] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | model_view: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | viewport: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | projection: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | vp_p_mv: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | m: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | mit: math::Matrix::identity(), [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | let mut m_inv = math::Matrix::identity(); [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | let mut t_r = math::Matrix::identity(); [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Matrix` in `math` [INFO] [stdout] --> src/shader.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | let mut vp = math::Matrix::identity(); [INFO] [stdout] | ^^^^^^ could not find `Matrix` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:127:46 [INFO] [stdout] | [INFO] [stdout] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:128:45 [INFO] [stdout] | [INFO] [stdout] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:128:66 [INFO] [stdout] | [INFO] [stdout] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:127:67 [INFO] [stdout] | [INFO] [stdout] 127 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:136:60 [INFO] [stdout] | [INFO] [stdout] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:136:81 [INFO] [stdout] | [INFO] [stdout] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:217:67 [INFO] [stdout] | [INFO] [stdout] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:218:45 [INFO] [stdout] | [INFO] [stdout] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:218:66 [INFO] [stdout] | [INFO] [stdout] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:226:60 [INFO] [stdout] | [INFO] [stdout] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:226:81 [INFO] [stdout] | [INFO] [stdout] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/draw.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn sample(&self, uv: math::Vec3f) -> RGB { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2i` in crate `math` [INFO] [stdout] --> src/draw.rs:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn line(&mut self, p0: &math::Vec2i, p1: &math::Vec2i, c: RGB) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2i` in crate `math` [INFO] [stdout] --> src/draw.rs:154:57 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn line(&mut self, p0: &math::Vec2i, p1: &math::Vec2i, c: RGB) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2i` in crate `math` [INFO] [stdout] --> src/draw.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let &math::Vec2i { x: x0, y: y0 } = p0; [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2i` in crate `math` [INFO] [stdout] --> src/draw.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | let &math::Vec2i { x: x1, y: y1 } = p1; [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/draw.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn triangle(&mut self, tri: &[math::Vec3f; 3], z_buffer: &mut DepthBuffer, c: RGB) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stdout] --> src/draw.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | let bc = math::barycentric( [INFO] [stdout] | ^^^^^^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stdout] --> src/draw.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | math::Vec3f { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | fn bbox(tri: &[math::Vec3f; 3]) -> (i32, i32, i32, i32) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | light_dir: math::Vec3f, [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | pub model_view: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | pub viewport: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub projection: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | pub vp_p_mv: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub m: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub mit: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | light_dir: math::Vec3f { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:47:54 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn set_light_dir(&mut self, light_dir: math::Vec3f) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:57:63 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:57:80 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cross` in crate `math` [INFO] [stdout] --> src/shader.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let x = math::cross(up, z).normalize(); [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cross` in crate `math` [INFO] [stdout] --> src/shader.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let y = math::cross(z, x).normalize(); [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:94:72 [INFO] [stdout] | [INFO] [stdout] 94 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3]; [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:97:49 [INFO] [stdout] | [INFO] [stdout] 97 | fn fragment(&self, world: &World, bc: math::Vec3f) -> Option; [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | uvs: [math::Vec3f; 3], [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | ns: [math::Vec3f; 3], [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:134:72 [INFO] [stdout] | [INFO] [stdout] 134 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3] { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `math` [INFO] [stdout] --> src/shader.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | self.intensity += math::dot(f.normals[i], world.light_dir.normalize()) / 3.; [INFO] [stdout] | ^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:147:50 [INFO] [stdout] | [INFO] [stdout] 147 | fn fragment(&self, _world: &World, bc: math::Vec3f) -> Option { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stdout] --> src/shader.rs:166:32 [INFO] [stdout] | [INFO] [stdout] 166 | let bc = math::barycentric(tri, [INFO] [stdout] | ^^^^^^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:167:50 [INFO] [stdout] | [INFO] [stdout] 167 | ... math::Vec3f { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | uvs: [math::Vec3f; 3], [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | ns: [math::Vec3f; 3], [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:224:72 [INFO] [stdout] | [INFO] [stdout] 224 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3] { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:235:49 [INFO] [stdout] | [INFO] [stdout] 235 | fn fragment(&self, world: &World, bc: math::Vec3f) -> Option { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `math` [INFO] [stdout] --> src/shader.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | let mut intensity = math::dot(n, l); [INFO] [stdout] | ^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stdout] --> src/shader.rs:259:32 [INFO] [stdout] | [INFO] [stdout] 259 | let bc = math::barycentric(tri, [INFO] [stdout] | ^^^^^^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:260:50 [INFO] [stdout] | [INFO] [stdout] 260 | ... math::Vec3f { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/draw.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | let im = try!(imagefmt::read(filepath, ColFmt::RGB)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wavefront.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wavefront.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | ErrorRepr::ParseFloatError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wavefront.rs:117:63 [INFO] [stdout] | [INFO] [stdout] 117 | ErrorRepr::ParseIntError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wavefront.rs:118:57 [INFO] [stdout] | [INFO] [stdout] 118 | ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wavefront.rs:119:63 [INFO] [stdout] | [INFO] [stdout] 119 | ErrorRepr::ImagefmtError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let tex = try!(draw::Texture2D::read(pb.as_path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | let normal_map = try!(draw::Texture2D::read(pb.as_path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let f = try!(File::open(p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | try!(obj.parse_line(l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | let idx = try!(c.parse::()) - 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | let x = try!(p[1].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | let y = try!(p[2].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let z = try!(p[3].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let v = try!(Object::parse_vec3f(p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let v = try!(Object::parse_vec3f(p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | let v = try!(Object::parse_vec3f(p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:128:45 [INFO] [stdout] | [INFO] [stdout] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:128:66 [INFO] [stdout] | [INFO] [stdout] 128 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:136:60 [INFO] [stdout] | [INFO] [stdout] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:136:81 [INFO] [stdout] | [INFO] [stdout] 136 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:217:67 [INFO] [stdout] | [INFO] [stdout] 217 | uvs: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:218:45 [INFO] [stdout] | [INFO] [stdout] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:218:66 [INFO] [stdout] | [INFO] [stdout] 218 | ns: [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()], [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:226:60 [INFO] [stdout] | [INFO] [stdout] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3f` in `math` [INFO] [stdout] --> src/shader.rs:226:81 [INFO] [stdout] | [INFO] [stdout] 226 | let mut screen_verts = [math::Vec3f::zero(), math::Vec3f::zero(), math::Vec3f::zero()]; [INFO] [stdout] | ^^^^^ could not find `Vec3f` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/draw.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn sample(&self, uv: math::Vec3f) -> RGB { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2i` in crate `math` [INFO] [stdout] --> src/draw.rs:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn line(&mut self, p0: &math::Vec2i, p1: &math::Vec2i, c: RGB) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2i` in crate `math` [INFO] [stdout] --> src/draw.rs:154:57 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn line(&mut self, p0: &math::Vec2i, p1: &math::Vec2i, c: RGB) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2i` in crate `math` [INFO] [stdout] --> src/draw.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let &math::Vec2i { x: x0, y: y0 } = p0; [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2i` in crate `math` [INFO] [stdout] --> src/draw.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | let &math::Vec2i { x: x1, y: y1 } = p1; [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/draw.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn triangle(&mut self, tri: &[math::Vec3f; 3], z_buffer: &mut DepthBuffer, c: RGB) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stdout] --> src/draw.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | let bc = math::barycentric( [INFO] [stdout] | ^^^^^^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stdout] --> src/draw.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | math::Vec3f { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | fn bbox(tri: &[math::Vec3f; 3]) -> (i32, i32, i32, i32) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | light_dir: math::Vec3f, [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | pub model_view: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | pub viewport: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub projection: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | pub vp_p_mv: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub m: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Matrix` in crate `math` [INFO] [stdout] --> src/shader.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub mit: math::Matrix, [INFO] [stdout] | ^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | light_dir: math::Vec3f { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:47:54 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn set_light_dir(&mut self, light_dir: math::Vec3f) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:57:63 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:57:80 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn look_at(&mut self, eye: math::Vec3f, center: math::Vec3f, up: math::Vec3f) { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cross` in crate `math` [INFO] [stdout] --> src/shader.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let x = math::cross(up, z).normalize(); [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cross` in crate `math` [INFO] [stdout] --> src/shader.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let y = math::cross(z, x).normalize(); [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:94:72 [INFO] [stdout] | [INFO] [stdout] 94 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3]; [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:97:49 [INFO] [stdout] | [INFO] [stdout] 97 | fn fragment(&self, world: &World, bc: math::Vec3f) -> Option; [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | uvs: [math::Vec3f; 3], [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | ns: [math::Vec3f; 3], [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:134:72 [INFO] [stdout] | [INFO] [stdout] 134 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3] { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `math` [INFO] [stdout] --> src/shader.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | self.intensity += math::dot(f.normals[i], world.light_dir.normalize()) / 3.; [INFO] [stdout] | ^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:147:50 [INFO] [stdout] | [INFO] [stdout] 147 | fn fragment(&self, _world: &World, bc: math::Vec3f) -> Option { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stdout] --> src/shader.rs:166:32 [INFO] [stdout] | [INFO] [stdout] 166 | let bc = math::barycentric(tri, [INFO] [stdout] | ^^^^^^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:167:50 [INFO] [stdout] | [INFO] [stdout] 167 | ... math::Vec3f { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | uvs: [math::Vec3f; 3], [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | ns: [math::Vec3f; 3], [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:224:72 [INFO] [stdout] | [INFO] [stdout] 224 | fn vertex(&mut self, world: &World, f: &wavefront::Face) -> [math::Vec3f; 3] { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:235:49 [INFO] [stdout] | [INFO] [stdout] 235 | fn fragment(&self, world: &World, bc: math::Vec3f) -> Option { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `math` [INFO] [stdout] --> src/shader.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | let mut intensity = math::dot(n, l); [INFO] [stdout] | ^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `barycentric` in crate `math` [INFO] [stdout] --> src/shader.rs:259:32 [INFO] [stdout] | [INFO] [stdout] 259 | let bc = math::barycentric(tri, [INFO] [stdout] | ^^^^^^^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3f` in crate `math` [INFO] [stdout] --> src/shader.rs:260:50 [INFO] [stdout] | [INFO] [stdout] 260 | ... math::Vec3f { [INFO] [stdout] | ^^^^^ not found in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/draw.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | let im = try!(imagefmt::read(filepath, ColFmt::RGB)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wavefront.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wavefront.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | ErrorRepr::ParseFloatError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wavefront.rs:117:63 [INFO] [stdout] | [INFO] [stdout] 117 | ErrorRepr::ParseIntError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wavefront.rs:118:57 [INFO] [stdout] | [INFO] [stdout] 118 | ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wavefront.rs:119:63 [INFO] [stdout] | [INFO] [stdout] 119 | ErrorRepr::ImagefmtError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let tex = try!(draw::Texture2D::read(pb.as_path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | let normal_map = try!(draw::Texture2D::read(pb.as_path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let f = try!(File::open(p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | try!(obj.parse_line(l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | let idx = try!(c.parse::()) - 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | let x = try!(p[1].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | let y = try!(p[2].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let z = try!(p[3].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let v = try!(Object::parse_vec3f(p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let v = try!(Object::parse_vec3f(p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wavefront.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | let v = try!(Object::parse_vec3f(p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/wavefront.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | vertices: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0071]: expected struct, variant or union type, found type error [INFO] [stdout] --> src/wavefront.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | Ok(Vertex { x: x, y: y, z: z }) [INFO] [stdout] | ^^^^^^ not a struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/wavefront.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | vertices: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 69 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0071, E0282, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0071`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustyrenderer` [INFO] [stdout] error[E0071]: expected struct, variant or union type, found type error [INFO] [stdout] --> src/wavefront.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | Ok(Vertex { x: x, y: y, z: z }) [INFO] [stdout] | ^^^^^^ not a struct [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 69 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0071, E0282, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0071`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e30db51b7f6795a42efba8ceeeab1381533834beec8d4eafdabe2f0a48feb07a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e30db51b7f6795a42efba8ceeeab1381533834beec8d4eafdabe2f0a48feb07a", kill_on_drop: false }` [INFO] [stdout] e30db51b7f6795a42efba8ceeeab1381533834beec8d4eafdabe2f0a48feb07a