[INFO] cloning repository https://github.com/torkve/habropengl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/torkve/habropengl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorkve%2Fhabropengl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorkve%2Fhabropengl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3a75863169a25de0968f1538e8b27fc456017d0 [INFO] checking torkve/habropengl against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorkve%2Fhabropengl" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/torkve/habropengl on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/torkve/habropengl [INFO] finished tweaking git repo https://github.com/torkve/habropengl [INFO] tweaked toml for git repo https://github.com/torkve/habropengl written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/torkve/habropengl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04b4c27db0b475da55924ef7538d6c6a4fd2b79416c199baa0c82222de2083ca [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" "04b4c27db0b475da55924ef7538d6c6a4fd2b79416c199baa0c82222de2083ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04b4c27db0b475da55924ef7538d6c6a4fd2b79416c199baa0c82222de2083ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04b4c27db0b475da55924ef7538d6c6a4fd2b79416c199baa0c82222de2083ca", kill_on_drop: false }` [INFO] [stdout] 04b4c27db0b475da55924ef7538d6c6a4fd2b79416c199baa0c82222de2083ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 915d15547501e5185f886307903ff5ca4343586c0580b9c06a4eae3daeeb9bb0 [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" "915d15547501e5185f886307903ff5ca4343586c0580b9c06a4eae3daeeb9bb0", kill_on_drop: false }` [INFO] [stderr] Checking opengl v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | let mut currentpixel = 0us; [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:200:31 [INFO] [stdout] | [INFO] [stdout] 200 | let mut currentbyte = 0us; [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:209:37 [INFO] [stdout] | [INFO] [stdout] 209 | for __ in range(0us, bpp) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:222:36 [INFO] [stdout] | [INFO] [stdout] 222 | for j in range(0us, bpp) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | let mut curpix = 0us; [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:320:24 [INFO] [stdout] | [INFO] [stdout] 320 | for i in range(0us, half) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | for j in range(0us, self.height) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | for j in range(0us, half) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/tgaimage.rs:375:29 [INFO] [stdout] | [INFO] [stdout] 375 | let mut nscanline = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/tgaimage.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | let mut oscanline = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/tgaimage.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | let mut erry = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/geom.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | for i in range(0us, total_height as usize) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `zbuffer` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod zbuffer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `zbuffer`, create file "src/zbuffer.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | let mut currentpixel = 0us; [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:200:31 [INFO] [stdout] | [INFO] [stdout] 200 | let mut currentbyte = 0us; [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:209:37 [INFO] [stdout] | [INFO] [stdout] 209 | for __ in range(0us, bpp) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:222:36 [INFO] [stdout] | [INFO] [stdout] 222 | for j in range(0us, bpp) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | let mut curpix = 0us; [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:320:24 [INFO] [stdout] | [INFO] [stdout] 320 | for i in range(0us, half) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | for j in range(0us, self.height) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tgaimage.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | for j in range(0us, half) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/tgaimage.rs:375:29 [INFO] [stdout] | [INFO] [stdout] 375 | let mut nscanline = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/tgaimage.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | let mut oscanline = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/tgaimage.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | let mut erry = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/geom.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | for i in range(0us, total_height as usize) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `zbuffer` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod zbuffer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `zbuffer`, create file "src/zbuffer.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_path` in `std` [INFO] [stdout] --> src/tgaimage.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_path::posix::Path; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/tgaimage.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::{File, Reader, IoResult, IoError, IoErrorKind}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::ptr::set_memory`, `std::ptr::copy_memory`, `std::ptr::copy_nonoverlapping_memory` [INFO] [stdout] --> src/tgaimage.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ptr::{set_memory, copy_memory, copy_nonoverlapping_memory}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `copy_nonoverlapping_memory` in `ptr` [INFO] [stdout] | | | help: a similar name exists in the module: `copy_nonoverlapping` [INFO] [stdout] | | no `copy_memory` in `ptr` [INFO] [stdout] | no `set_memory` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zbuffer::ZBuffer` [INFO] [stdout] --> src/geom.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use zbuffer::ZBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `ZBuffer` in `zbuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/geom.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io::IoResult; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::SignedInt`, `std::num::NumCast` [INFO] [stdout] --> src/geom.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::{SignedInt, NumCast}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ no `NumCast` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `SignedInt` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::FromPrimitive`, `std::num::ToPrimitive`, `std::num::NumCast` [INFO] [stdout] --> src/vec.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::{Float, FromPrimitive, ToPrimitive, NumCast}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ no `NumCast` in `num` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `ToPrimitive` in `num` [INFO] [stdout] | | no `FromPrimitive` in `num` [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_path` in `std` [INFO] [stdout] --> src/model.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_path::posix::Path; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::SliceExt` [INFO] [stdout] --> src/model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::SliceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `SliceExt` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/model.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::old_io::{File, BufferedReader, IoResult, IoError, IoErrorKind}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/render.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::IoResult; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zbuffer::ZBuffer` [INFO] [stdout] --> src/render.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use zbuffer::ZBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `ZBuffer` in `zbuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `packed` in this scope [INFO] [stdout] --> src/tgaimage.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[packed] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `naked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Output` is not a member of trait `IndexMut` [INFO] [stdout] --> src/tgaimage.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | type Output = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a member of trait `IndexMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/tgaimage.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn to_stream(&self, buf: &mut Writer) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tgaimage.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let p = Path::new(filename); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | for _ in range(0u8, chunkheader) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:209:31 [INFO] [stdout] | [INFO] [stdout] 209 | for __ in range(0us, bpp) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | for _ in range(0u8, chunkheader) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | for j in range(0us, bpp) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tgaimage.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let p = Path::new(filename); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/tgaimage.rs:269:39 [INFO] [stdout] | [INFO] [stdout] 269 | fn dump_rle_data(&self, buf: &mut Writer) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:281:26 [INFO] [stdout] | [INFO] [stdout] 281 | for t in range(0, self.bytespp) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | for i in range(0us, half) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | for j in range(0us, self.height) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | for j in range(0us, half) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:381:18 [INFO] [stdout] | [INFO] [stdout] 381 | for _ in range(0, self.height) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:385:23 [INFO] [stdout] | [INFO] [stdout] 385 | for __ in range(0, self.width) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/geom.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | for x in range(x0, x1 + 1) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/geom.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | for i in range(0us, total_height as usize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/geom.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | for j in range(a.x as isize, b.x as isize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/model.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let p = Path::new(filename); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/render.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | for faceid in range(0, model.nfaces()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/render.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | for i in range(0, 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let idl = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let cmt = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_path` in `std` [INFO] [stdout] --> src/tgaimage.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_path::posix::Path; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/tgaimage.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::{File, Reader, IoResult, IoError, IoErrorKind}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::ptr::set_memory`, `std::ptr::copy_memory`, `std::ptr::copy_nonoverlapping_memory` [INFO] [stdout] --> src/tgaimage.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ptr::{set_memory, copy_memory, copy_nonoverlapping_memory}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `copy_nonoverlapping_memory` in `ptr` [INFO] [stdout] | | | help: a similar name exists in the module: `copy_nonoverlapping` [INFO] [stdout] | | no `copy_memory` in `ptr` [INFO] [stdout] | no `set_memory` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zbuffer::ZBuffer` [INFO] [stdout] --> src/geom.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use zbuffer::ZBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `ZBuffer` in `zbuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/geom.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io::IoResult; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::SignedInt`, `std::num::NumCast` [INFO] [stdout] --> src/geom.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::{SignedInt, NumCast}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ no `NumCast` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `SignedInt` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::FromPrimitive`, `std::num::ToPrimitive`, `std::num::NumCast` [INFO] [stdout] --> src/vec.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::{Float, FromPrimitive, ToPrimitive, NumCast}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ no `NumCast` in `num` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `ToPrimitive` in `num` [INFO] [stdout] | | no `FromPrimitive` in `num` [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_path` in `std` [INFO] [stdout] --> src/model.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_path::posix::Path; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::SliceExt` [INFO] [stdout] --> src/model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::SliceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `SliceExt` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/model.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::old_io::{File, BufferedReader, IoResult, IoError, IoErrorKind}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/render.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::IoResult; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zbuffer::ZBuffer` [INFO] [stdout] --> src/render.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use zbuffer::ZBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `ZBuffer` in `zbuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let dtc = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let cmo = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let cml = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let cmd = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let xo = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let yo = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let w = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let h = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let bpp = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let id = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(buf.write_u8(self.id_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | try!(buf.write_u8(self.color_map_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(buf.write_u8(self.data_type_code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(buf.write_le_i16(self.color_map_origin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | try!(buf.write_le_i16(self.color_map_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(buf.write_u8(self.color_map_depth)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | try!(buf.write_le_i16(self.x_origin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | try!(buf.write_le_i16(self.y_origin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(buf.write_le_i16(self.width)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(buf.write_le_i16(self.height)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | try!(buf.write_u8(self.bits_per_pixel)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | try!(buf.write_u8(self.image_descriptor)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let b = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | let g = if bpp > 1 { try!(buf.read_u8()) } else { 0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | let r = if bpp > 2 { try!(buf.read_u8()) } else { 0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | let a = if bpp > 3 { try!(buf.read_u8()) } else { 0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let mut 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/tgaimage.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let header = try!(Header::from_stream(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | try!(f.read_exact(nbytes)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | try!(Image::load_rle_data(w, h, bpp as usize, &mut f)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | try!(result.flip_vertically()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | try!(result.flip_horizontally()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | let mut chunkheader = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:210:45 [INFO] [stdout] | [INFO] [stdout] 210 | data[currentbyte] = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | let color = try!(Color::from_stream(buf, bpp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | let mut f = try!(File::create(&p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | try!(header.to_stream(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | try!(f.write_all(self.data.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | try!(self.dump_rle_data(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | try!(f.write_all(&developer_area_ref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | try!(f.write_all(&extension_area_ref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | try!(f.write_all(footer.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | try!(buf.write_u8(if raw { run_length - 1 } else { run_length + 127 })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | try!(buf.write_all(&self.data [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | let c1 = try!(self.get(i, j)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | let c2 = try!(self.get(w - 1 - i, j)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | try!(self.set(i, j, &c2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | try!(self.set(w - 1 - i, j, &c1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/geom.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | fn triangle(&mut self, mut t0: Vec3f, mut t1: Vec3f, mut t2: Vec3f, c: &Color, zbuf: &mut ZBuffer) -> IoResult<()>; [INFO] [stdout] | ^^^^^^ help: remove `mut` from the parameter: `t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/geom.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | fn triangle(&mut self, mut t0: Vec3f, mut t1: Vec3f, mut t2: Vec3f, c: &Color, zbuf: &mut ZBuffer) -> IoResult<()>; [INFO] [stdout] | ^^^^^^ help: remove `mut` from the parameter: `t1` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/geom.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | fn triangle(&mut self, mut t0: Vec3f, mut t1: Vec3f, mut t2: Vec3f, c: &Color, zbuf: &mut ZBuffer) -> IoResult<()>; [INFO] [stdout] | ^^^^^^ help: remove `mut` from the parameter: `t2` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/geom.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | try!(self.set(y as usize, x as usize, c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/geom.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | try!(self.set(x as usize, y as usize, c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/geom.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | try!(self.set(p.x as usize, p.y as usize, c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | ... try!(FromStr::from_str(($f).trim()).map_err(|_| IoError{kind: IoErrorKind::InvalidInput, desc: "Invalid file format", detail: None})) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | ... try_parse!(parts[1]), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | ... try!(FromStr::from_str(($f).trim()).map_err(|_| IoError{kind: IoErrorKind::InvalidInput, desc: "Invalid file format", detail: None})) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | ... try_parse!(parts[2]), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | ... try!(FromStr::from_str(($f).trim()).map_err(|_| IoError{kind: IoErrorKind::InvalidInput, desc: "Invalid file format", detail: None})) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | ... try_parse!(parts[3]), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | ... try!(FromStr::from_str(($f).trim()).map_err(|_| IoError{kind: IoErrorKind::InvalidInput, desc: "Invalid file format", detail: None})) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | ... indices.push(try_parse_opt!(idx) - 1); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/render.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use vec::{Vec2, Vec3, Vec3f}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/render.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | try!(self.triangle( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `packed` in this scope [INFO] [stdout] --> src/tgaimage.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[packed] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `naked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Output` is not a member of trait `IndexMut` [INFO] [stdout] --> src/tgaimage.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | type Output = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a member of trait `IndexMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/tgaimage.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn to_stream(&self, buf: &mut Writer) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tgaimage.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let p = Path::new(filename); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | for _ in range(0u8, chunkheader) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:209:31 [INFO] [stdout] | [INFO] [stdout] 209 | for __ in range(0us, bpp) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | for _ in range(0u8, chunkheader) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | for j in range(0us, bpp) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tgaimage.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let p = Path::new(filename); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/tgaimage.rs:269:39 [INFO] [stdout] | [INFO] [stdout] 269 | fn dump_rle_data(&self, buf: &mut Writer) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:281:26 [INFO] [stdout] | [INFO] [stdout] 281 | for t in range(0, self.bytespp) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 50 previous errors; 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0437, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | for i in range(0us, half) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | for j in range(0us, self.height) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | for j in range(0us, half) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:381:18 [INFO] [stdout] | [INFO] [stdout] 381 | for _ in range(0, self.height) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/tgaimage.rs:385:23 [INFO] [stdout] | [INFO] [stdout] 385 | for __ in range(0, self.width) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/geom.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | for x in range(x0, x1 + 1) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/geom.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | for i in range(0us, total_height as usize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/geom.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | for j in range(a.x as isize, b.x as isize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/model.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let p = Path::new(filename); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/render.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | for faceid in range(0, model.nfaces()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/render.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | for i in range(0, 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opengl` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let idl = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let cmt = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let dtc = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let cmo = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let cml = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let cmd = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let xo = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let yo = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let w = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let h = try!(buf.read_le_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let bpp = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let id = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(buf.write_u8(self.id_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | try!(buf.write_u8(self.color_map_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(buf.write_u8(self.data_type_code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(buf.write_le_i16(self.color_map_origin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | try!(buf.write_le_i16(self.color_map_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(buf.write_u8(self.color_map_depth)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | try!(buf.write_le_i16(self.x_origin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | try!(buf.write_le_i16(self.y_origin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(buf.write_le_i16(self.width)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(buf.write_le_i16(self.height)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | try!(buf.write_u8(self.bits_per_pixel)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | try!(buf.write_u8(self.image_descriptor)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let b = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | let g = if bpp > 1 { try!(buf.read_u8()) } else { 0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | let r = if bpp > 2 { try!(buf.read_u8()) } else { 0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | let a = if bpp > 3 { try!(buf.read_u8()) } else { 0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let mut 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/tgaimage.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let header = try!(Header::from_stream(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | try!(f.read_exact(nbytes)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | try!(Image::load_rle_data(w, h, bpp as usize, &mut f)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | try!(result.flip_vertically()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | try!(result.flip_horizontally()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | let mut chunkheader = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:210:45 [INFO] [stdout] | [INFO] [stdout] 210 | data[currentbyte] = try!(buf.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | let color = try!(Color::from_stream(buf, bpp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | let mut f = try!(File::create(&p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | try!(header.to_stream(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | try!(f.write_all(self.data.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | try!(self.dump_rle_data(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | try!(f.write_all(&developer_area_ref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | try!(f.write_all(&extension_area_ref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | try!(f.write_all(footer.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | try!(buf.write_u8(if raw { run_length - 1 } else { run_length + 127 })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | try!(buf.write_all(&self.data [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | let c1 = try!(self.get(i, j)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | let c2 = try!(self.get(w - 1 - i, j)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | try!(self.set(i, j, &c2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tgaimage.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | try!(self.set(w - 1 - i, j, &c1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/geom.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | fn triangle(&mut self, mut t0: Vec3f, mut t1: Vec3f, mut t2: Vec3f, c: &Color, zbuf: &mut ZBuffer) -> IoResult<()>; [INFO] [stdout] | ^^^^^^ help: remove `mut` from the parameter: `t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/geom.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | fn triangle(&mut self, mut t0: Vec3f, mut t1: Vec3f, mut t2: Vec3f, c: &Color, zbuf: &mut ZBuffer) -> IoResult<()>; [INFO] [stdout] | ^^^^^^ help: remove `mut` from the parameter: `t1` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/geom.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | fn triangle(&mut self, mut t0: Vec3f, mut t1: Vec3f, mut t2: Vec3f, c: &Color, zbuf: &mut ZBuffer) -> IoResult<()>; [INFO] [stdout] | ^^^^^^ help: remove `mut` from the parameter: `t2` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/geom.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | try!(self.set(y as usize, x as usize, c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/geom.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | try!(self.set(x as usize, y as usize, c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/geom.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | try!(self.set(p.x as usize, p.y as usize, c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | ... try!(FromStr::from_str(($f).trim()).map_err(|_| IoError{kind: IoErrorKind::InvalidInput, desc: "Invalid file format", detail: None})) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | ... try_parse!(parts[1]), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | ... try!(FromStr::from_str(($f).trim()).map_err(|_| IoError{kind: IoErrorKind::InvalidInput, desc: "Invalid file format", detail: None})) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | ... try_parse!(parts[2]), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | ... try!(FromStr::from_str(($f).trim()).map_err(|_| IoError{kind: IoErrorKind::InvalidInput, desc: "Invalid file format", detail: None})) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | ... try_parse!(parts[3]), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | ... try!(FromStr::from_str(($f).trim()).map_err(|_| IoError{kind: IoErrorKind::InvalidInput, desc: "Invalid file format", detail: None})) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | ... indices.push(try_parse_opt!(idx) - 1); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/render.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use vec::{Vec2, Vec3, Vec3f}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/render.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | try!(self.triangle( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 50 previous errors; 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0437, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "915d15547501e5185f886307903ff5ca4343586c0580b9c06a4eae3daeeb9bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "915d15547501e5185f886307903ff5ca4343586c0580b9c06a4eae3daeeb9bb0", kill_on_drop: false }` [INFO] [stdout] 915d15547501e5185f886307903ff5ca4343586c0580b9c06a4eae3daeeb9bb0