[INFO] cloning repository https://github.com/knoebber/Rustals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/knoebber/Rustals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknoebber%2FRustals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknoebber%2FRustals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef38faa7c1a938edb56ca63e7713120ec19ff6c1 [INFO] checking knoebber/Rustals against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknoebber%2FRustals" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/knoebber/Rustals 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/knoebber/Rustals [INFO] finished tweaking git repo https://github.com/knoebber/Rustals [INFO] tweaked toml for git repo https://github.com/knoebber/Rustals written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/knoebber/Rustals 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] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/image` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/num.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7e73aaf248511c2652c67206f6f66b90dbae6f25169630ba5968be101198c85b [INFO] running `Command { std: "docker" "start" "-a" "7e73aaf248511c2652c67206f6f66b90dbae6f25169630ba5968be101198c85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e73aaf248511c2652c67206f6f66b90dbae6f25169630ba5968be101198c85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e73aaf248511c2652c67206f6f66b90dbae6f25169630ba5968be101198c85b", kill_on_drop: false }` [INFO] [stdout] 7e73aaf248511c2652c67206f6f66b90dbae6f25169630ba5968be101198c85b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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] 763795e566d9e69d655076b15670e625522e0cfb2e53d755e2530dfa48d3afb0 [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" "763795e566d9e69d655076b15670e625522e0cfb2e53d755e2530dfa48d3afb0", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking num v0.3.1 (https://github.com/rust-lang/num.git#ba3544bf) [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 (https://github.com/PistonDevelopers/image#5fd9d443) [INFO] [stderr] Checking fractal v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let mut ddf_x = 1i; [INFO] [stdout] | ^^ invalid suffix `i` [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 `i` for number literal [INFO] [stdout] --> src/main.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let mut x = 0i; [INFO] [stdout] | ^^ invalid suffix `i` [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 `i` for number literal [INFO] [stdout] --> src/main.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let mut ddf_x = 1i; [INFO] [stdout] | ^^ invalid suffix `i` [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[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rand::{task_rng,Rng}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let mut x = 0i; [INFO] [stdout] | ^^ invalid suffix `i` [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[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rand::random; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::FloatMath` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::num::FloatMath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `FloatMath` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rand::{task_rng,Rng}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rand::random; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::FloatMath` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::num::FloatMath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `FloatMath` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | const WIDTH: uint = 1000; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | const HEIGHT: uint = 1000; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | fn draw_circle(pixels:&mut[u8],x0:int,y0:int,radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | fn draw_circle(pixels:&mut[u8],x0:int,y0:int,radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | fn draw_circle(pixels:&mut[u8],x0:int,y0:int,radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | fn draw_rect(pixels:&mut[u8], x:int, y:int, w:int, h:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | fn draw_rect(pixels:&mut[u8], x:int, y:int, w:int, h:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | fn draw_rect(pixels:&mut[u8], x:int, y:int, w:int, h:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | fn draw_rect(pixels:&mut[u8], x:int, y:int, w:int, h:int) [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/main.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | for i in range(x,x+w) [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/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | for j in range(y,y+w) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn draw_line(pixels:&mut[u8],x0:int,y0:int,x1:int,y1:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | fn draw_line(pixels:&mut[u8],x0:int,y0:int,x1:int,y1:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | fn draw_line(pixels:&mut[u8],x0:int,y0:int,x1:int,y1:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:91:54 [INFO] [stdout] | [INFO] [stdout] 91 | fn draw_line(pixels:&mut[u8],x0:int,y0:int,x1:int,y1:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | let mut index:uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | while x as int != x1 [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | while y as int != y1 [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:39 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:52 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:63 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:72 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:76 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | draw_line(pixels,x0,y0,x1 as int,y1 as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | draw_line(pixels,x0,y0,x1 as int,y1 as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | (x1 as int, y1 as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | (x1 as int, y1 as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_index(x:uint, y:uint) -> uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_index(x:uint, y:uint) -> uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_index(x:uint, y:uint) -> uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | fn get_index_i(x:int, y:int) -> uint [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | fn get_index_i(x:int, y:int) -> uint [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | fn get_index_i(x:int, y:int) -> uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | (x+((WIDTH as int)*y)) as uint [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | (x+((WIDTH as int)*y)) as uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 188 | fn on_screen(x:int,y:int) -> bool [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | fn on_screen(x:int,y:int) -> bool [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | (x>=0 && x <= WIDTH as int && y>=0 && y <= HEIGHT as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:190:55 [INFO] [stdout] | [INFO] [stdout] 190 | (x>=0 && x <= WIDTH as int && y>=0 && y <= HEIGHT as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:194:37 [INFO] [stdout] | [INFO] [stdout] 194 | fn square_fractal(pixels:&mut[u8],x:int, y:int, side:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | fn square_fractal(pixels:&mut[u8],x:int, y:int, side:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:194:54 [INFO] [stdout] | [INFO] [stdout] 194 | fn square_fractal(pixels:&mut[u8],x:int, y:int, side:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | fn circ_fractal(pixels:&mut[u8],x:int, y:int, radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:207:42 [INFO] [stdout] | [INFO] [stdout] 207 | fn circ_fractal(pixels:&mut[u8],x:int, y:int, radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:207:54 [INFO] [stdout] | [INFO] [stdout] 207 | fn circ_fractal(pixels:&mut[u8],x:int, y:int, radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:219:30 [INFO] [stdout] | [INFO] [stdout] 219 | fn squares(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 219 | fn squares(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:219:48 [INFO] [stdout] | [INFO] [stdout] 219 | fn squares(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:219:59 [INFO] [stdout] | [INFO] [stdout] 219 | fn squares(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:230:34 [INFO] [stdout] | [INFO] [stdout] 230 | fn curved_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | fn curved_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:230:52 [INFO] [stdout] | [INFO] [stdout] 230 | fn curved_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:230:63 [INFO] [stdout] | [INFO] [stdout] 230 | fn curved_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:240:27 [INFO] [stdout] | [INFO] [stdout] 240 | fn tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | fn tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:240:45 [INFO] [stdout] | [INFO] [stdout] 240 | fn tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:240:56 [INFO] [stdout] | [INFO] [stdout] 240 | fn tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | fn rand_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:255:39 [INFO] [stdout] | [INFO] [stdout] 255 | fn rand_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:255:50 [INFO] [stdout] | [INFO] [stdout] 255 | fn rand_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:255:61 [INFO] [stdout] | [INFO] [stdout] 255 | fn rand_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | let mut new_theta:int = theta+task_rng().gen_range(-30,30); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:282:34 [INFO] [stdout] | [INFO] [stdout] 282 | fn snow_flake(pixels: &mut[u8],x:int,y:int,length:int,theta:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:282:40 [INFO] [stdout] | [INFO] [stdout] 282 | fn snow_flake(pixels: &mut[u8],x:int,y:int,length:int,theta:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:282:51 [INFO] [stdout] | [INFO] [stdout] 282 | fn snow_flake(pixels: &mut[u8],x:int,y:int,length:int,theta:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:282:61 [INFO] [stdout] | [INFO] [stdout] 282 | fn snow_flake(pixels: &mut[u8],x:int,y:int,length:int,theta:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:282:71 [INFO] [stdout] | [INFO] [stdout] 282 | fn snow_flake(pixels: &mut[u8],x:int,y:int,length:int,theta:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | fn exp(pixels: &mut[u8],x:int,y:int,radius:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:296:33 [INFO] [stdout] | [INFO] [stdout] 296 | fn exp(pixels: &mut[u8],x:int,y:int,radius:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:296:44 [INFO] [stdout] | [INFO] [stdout] 296 | fn exp(pixels: &mut[u8],x:int,y:int,radius:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | const WIDTH: uint = 1000; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:296:54 [INFO] [stdout] | [INFO] [stdout] 296 | fn exp(pixels: &mut[u8],x:int,y:int,radius:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | const HEIGHT: uint = 1000; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | fn draw_circle(pixels:&mut[u8],x0:int,y0:int,radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | fn draw_circle(pixels:&mut[u8],x0:int,y0:int,radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | fn draw_circle(pixels:&mut[u8],x0:int,y0:int,radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | fn draw_rect(pixels:&mut[u8], x:int, y:int, w:int, h:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | fn draw_rect(pixels:&mut[u8], x:int, y:int, w:int, h:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | fn draw_rect(pixels:&mut[u8], x:int, y:int, w:int, h:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | fn draw_rect(pixels:&mut[u8], x:int, y:int, w:int, h:int) [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/main.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | for i in range(x,x+w) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | for j in range(y,y+w) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn draw_line(pixels:&mut[u8],x0:int,y0:int,x1:int,y1:int) [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/main.rs:369:11 [INFO] [stdout] | [INFO] [stdout] 369 | for i in range(0,WIDTH) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | fn draw_line(pixels:&mut[u8],x0:int,y0:int,x1:int,y1:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | fn draw_line(pixels:&mut[u8],x0:int,y0:int,x1:int,y1:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:91:54 [INFO] [stdout] | [INFO] [stdout] 91 | fn draw_line(pixels:&mut[u8],x0:int,y0:int,x1:int,y1:int) [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/main.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | for j in range(0,HEIGHT) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | let mut index:uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | while x as int != x1 [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/main.rs:383:27 [INFO] [stdout] | [INFO] [stdout] 383 | let fout = File::create(&Path::new(file_name)).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | while y as int != y1 [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageLuma8` in crate `image` [INFO] [stdout] --> src/main.rs:386:20 [INFO] [stdout] | [INFO] [stdout] 386 | let _ = image::ImageLuma8(imgbuf).save(fout, image::PNG); [INFO] [stdout] | ^^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 7 | use image::DynamicImage::ImageLuma8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | index = get_index_i(x as int,y as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/main.rs:386:57 [INFO] [stdout] | [INFO] [stdout] 386 | let _ = image::ImageLuma8(imgbuf).save(fout, image::PNG); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:39 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:52 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:63 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:72 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:162:76 [INFO] [stdout] | [INFO] [stdout] 162 | fn draw_polar_line(pixels:&mut[u8],x0:int,y0:int,r:int,degree:int) -> (int,int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | draw_line(pixels,x0,y0,x1 as int,y1 as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | draw_line(pixels,x0,y0,x1 as int,y1 as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | (x1 as int, y1 as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | (x1 as int, y1 as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_index(x:uint, y:uint) -> uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_index(x:uint, y:uint) -> uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_index(x:uint, y:uint) -> uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | fn get_index_i(x:int, y:int) -> uint [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | fn get_index_i(x:int, y:int) -> uint [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | fn get_index_i(x:int, y:int) -> uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:190:2 [INFO] [stdout] | [INFO] [stdout] 190 | (x>=0 && x <= WIDTH as int && y>=0 && y <= HEIGHT as int) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | (x+((WIDTH as int)*y)) as uint [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | (x+((WIDTH as int)*y)) as uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | circ_fractal(pixels,x+ (radius/2),y,(radius/2)); [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 188 | fn on_screen(x:int,y:int) -> bool [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | fn on_screen(x:int,y:int) -> bool [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | (x>=0 && x <= WIDTH as int && y>=0 && y <= HEIGHT as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:190:55 [INFO] [stdout] | [INFO] [stdout] 190 | (x>=0 && x <= WIDTH as int && y>=0 && y <= HEIGHT as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:194:37 [INFO] [stdout] | [INFO] [stdout] 194 | fn square_fractal(pixels:&mut[u8],x:int, y:int, side:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | fn square_fractal(pixels:&mut[u8],x:int, y:int, side:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:194:54 [INFO] [stdout] | [INFO] [stdout] 194 | fn square_fractal(pixels:&mut[u8],x:int, y:int, side:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | fn circ_fractal(pixels:&mut[u8],x:int, y:int, radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:207:42 [INFO] [stdout] | [INFO] [stdout] 207 | fn circ_fractal(pixels:&mut[u8],x:int, y:int, radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:207:54 [INFO] [stdout] | [INFO] [stdout] 207 | fn circ_fractal(pixels:&mut[u8],x:int, y:int, radius:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:219:30 [INFO] [stdout] | [INFO] [stdout] 219 | fn squares(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 219 | fn squares(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:219:48 [INFO] [stdout] | [INFO] [stdout] 219 | fn squares(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:219:59 [INFO] [stdout] | [INFO] [stdout] 219 | fn squares(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:230:34 [INFO] [stdout] | [INFO] [stdout] 230 | fn curved_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | fn curved_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:230:52 [INFO] [stdout] | [INFO] [stdout] 230 | fn curved_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:230:63 [INFO] [stdout] | [INFO] [stdout] 230 | fn curved_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:240:27 [INFO] [stdout] | [INFO] [stdout] 240 | fn tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | fn tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:240:45 [INFO] [stdout] | [INFO] [stdout] 240 | fn tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:240:56 [INFO] [stdout] | [INFO] [stdout] 240 | fn tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | fn rand_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:255:39 [INFO] [stdout] | [INFO] [stdout] 255 | fn rand_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:255:50 [INFO] [stdout] | [INFO] [stdout] 255 | fn rand_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:255:61 [INFO] [stdout] | [INFO] [stdout] 255 | fn rand_tree(pixels:&mut[u8],x:int, y:int,length:int, theta:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | let mut new_theta:int = theta+task_rng().gen_range(-30,30); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:282:34 [INFO] [stdout] | [INFO] [stdout] 282 | fn snow_flake(pixels: &mut[u8],x:int,y:int,length:int,theta:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:282:40 [INFO] [stdout] | [INFO] [stdout] 282 | fn snow_flake(pixels: &mut[u8],x:int,y:int,length:int,theta:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:282:51 [INFO] [stdout] | [INFO] [stdout] 282 | fn snow_flake(pixels: &mut[u8],x:int,y:int,length:int,theta:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:282:61 [INFO] [stdout] | [INFO] [stdout] 282 | fn snow_flake(pixels: &mut[u8],x:int,y:int,length:int,theta:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:282:71 [INFO] [stdout] | [INFO] [stdout] 282 | fn snow_flake(pixels: &mut[u8],x:int,y:int,length:int,theta:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | fn exp(pixels: &mut[u8],x:int,y:int,radius:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:296:33 [INFO] [stdout] | [INFO] [stdout] 296 | fn exp(pixels: &mut[u8],x:int,y:int,radius:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:296:44 [INFO] [stdout] | [INFO] [stdout] 296 | fn exp(pixels: &mut[u8],x:int,y:int,radius:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:296:54 [INFO] [stdout] | [INFO] [stdout] 296 | fn exp(pixels: &mut[u8],x:int,y:int,radius:int,depth:int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:369:11 [INFO] [stdout] | [INFO] [stdout] 369 | for i in range(0,WIDTH) [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/main.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | for j in range(0,HEIGHT) [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/main.rs:383:27 [INFO] [stdout] | [INFO] [stdout] 383 | let fout = File::create(&Path::new(file_name)).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageLuma8` in crate `image` [INFO] [stdout] --> src/main.rs:386:20 [INFO] [stdout] | [INFO] [stdout] 386 | let _ = image::ImageLuma8(imgbuf).save(fout, image::PNG); [INFO] [stdout] | ^^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 7 | use image::DynamicImage::ImageLuma8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/main.rs:386:57 [INFO] [stdout] | [INFO] [stdout] 386 | let _ = image::ImageLuma8(imgbuf).save(fout, image::PNG); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:190:2 [INFO] [stdout] | [INFO] [stdout] 190 | (x>=0 && x <= WIDTH as int && y>=0 && y <= HEIGHT as int) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | circ_fractal(pixels,x+ (radius/2),y,(radius/2)); [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:306:36 [INFO] [stdout] | [INFO] [stdout] 306 | let pixels: &mut[u8] = &mut [0u8, ..WIDTH*HEIGHT]; [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `u8`, found struct `RangeTo` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found struct `RangeTo<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:306:36 [INFO] [stdout] | [INFO] [stdout] 306 | let pixels: &mut[u8] = &mut [0u8, ..WIDTH*HEIGHT]; [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `u8`, found struct `RangeTo` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found struct `RangeTo<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 91 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 91 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fractal` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "763795e566d9e69d655076b15670e625522e0cfb2e53d755e2530dfa48d3afb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "763795e566d9e69d655076b15670e625522e0cfb2e53d755e2530dfa48d3afb0", kill_on_drop: false }` [INFO] [stdout] 763795e566d9e69d655076b15670e625522e0cfb2e53d755e2530dfa48d3afb0