[INFO] cloning repository https://github.com/thiagopnts/percolation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thiagopnts/percolation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagopnts%2Fpercolation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagopnts%2Fpercolation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbb8735266a903fdc974b83f10479ab79c3334bd [INFO] checking thiagopnts/percolation against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagopnts%2Fpercolation" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thiagopnts/percolation 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/thiagopnts/percolation [INFO] finished tweaking git repo https://github.com/thiagopnts/percolation [INFO] tweaked toml for git repo https://github.com/thiagopnts/percolation written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/thiagopnts/percolation 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18075ee6ca7487326aebc4aa2f4b5b0a15788f401adce8b0855ffd0e70290ba6 [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" "18075ee6ca7487326aebc4aa2f4b5b0a15788f401adce8b0855ffd0e70290ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18075ee6ca7487326aebc4aa2f4b5b0a15788f401adce8b0855ffd0e70290ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18075ee6ca7487326aebc4aa2f4b5b0a15788f401adce8b0855ffd0e70290ba6", kill_on_drop: false }` [INFO] [stdout] 18075ee6ca7487326aebc4aa2f4b5b0a15788f401adce8b0855ffd0e70290ba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 669853d781420448054a3cb0565c3ad7ded7d0fe28c6f5dbcefd791fc246d82d [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" "669853d781420448054a3cb0565c3ad7ded7d0fe28c6f5dbcefd791fc246d82d", kill_on_drop: false }` [INFO] [stderr] Checking percolation v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/dynamic_connectivity/weighted_quick_union.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #![allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/dynamic_connectivity/weighted_quick_union.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #![allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::random; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/percolation_stats.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::random; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/percolation_stats.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> src/./percolation.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Show, Formatter, Result}; [INFO] [stdout] | ^^^^ no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/./percolation.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[deriving(PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::random; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/percolation_stats.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::random; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/percolation_stats.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> src/./percolation.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Show, Formatter, Result}; [INFO] [stdout] | ^^^^ no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/./percolation.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[deriving(PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_find.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QuickFind { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 5 | id: Vec [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/dynamic_connectivity/quick_find.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(n: uint) -> QuickFind { [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/dynamic_connectivity/quick_find.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | QuickFind{ id: Vec::from_fn(n, |i| i 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/dynamic_connectivity/quick_find.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn connected(&self, p: uint, q: uint) -> bool { [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/dynamic_connectivity/quick_find.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn connected(&self, p: uint, q: uint) -> bool { [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/dynamic_connectivity/quick_find.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn union(&mut self, p: uint, q: 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/dynamic_connectivity/quick_find.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn union(&mut self, p: uint, q: uint) { [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/dynamic_connectivity/quick_find.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | for i in range(0, self.id.len()) { [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/dynamic_connectivity/quick_union.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct QuickUnion { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | id: Vec [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/dynamic_connectivity/quick_union.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(n: uint) -> QuickUnion { [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/dynamic_connectivity/quick_union.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | fn root(&self, i: 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/dynamic_connectivity/quick_union.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn root(&self, i: 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/dynamic_connectivity/quick_union.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn connected(&self, p: uint, q: uint) -> bool { [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/dynamic_connectivity/quick_union.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn connected(&self, p: uint, q: uint) -> bool { [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/dynamic_connectivity/quick_union.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn union(&mut self, p: uint, q: 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/dynamic_connectivity/quick_union.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn union(&mut self, p: uint, q: 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/dynamic_connectivity/weighted_quick_union.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WeightedQuickUnion { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 7 | id: Vec, [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/dynamic_connectivity/weighted_quick_union.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WeightedQuickUnion { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 7 | id: Vec, [INFO] [stdout] 8 | size: Vec [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/dynamic_connectivity/weighted_quick_union.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(n: uint) -> WeightedQuickUnion { [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/dynamic_connectivity/weighted_quick_union.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | fn root(&self, i: 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/dynamic_connectivity/weighted_quick_union.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn root(&self, i: 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/dynamic_connectivity/weighted_quick_union.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn connected(&self, p: uint, q: uint) -> bool { [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/dynamic_connectivity/weighted_quick_union.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn connected(&self, p: uint, q: uint) -> bool { [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/dynamic_connectivity/weighted_quick_union.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn union(&mut self, p: uint, q: 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/dynamic_connectivity/weighted_quick_union.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn union(&mut self, p: uint, q: 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/./percolation.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | n: 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/./percolation.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(n: uint) -> Percolation { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Blocked` in this scope [INFO] [stdout] --> src/./percolation.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | let mut p = Percolation{n: n, states: Vec::from_fn(n * n, |_| Blocked), positions: WeightedQuickUnion::new(n * n)}; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Blocked; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/./percolation.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | for i in range(0, n) { [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/./percolation.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | for j in range(lower_row_start, lower_row_end) { [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/./percolation.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_index(&self, i: uint, j: 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/./percolation.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_index(&self, i: uint, j: 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/./percolation.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_index(&self, i: uint, j: 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/./percolation.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | fn index(&self, point: (uint, 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/./percolation.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | fn index(&self, point: (uint, 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/./percolation.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | fn index(&self, point: (uint, 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/./percolation.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | fn up(&self, i: uint, j: uint) -> (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/./percolation.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | fn up(&self, i: uint, j: uint) -> (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/./percolation.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | fn up(&self, i: uint, j: uint) -> (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/./percolation.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | fn up(&self, i: uint, j: uint) -> (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/./percolation.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fn bottom(&self, i: uint, j: uint) -> (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/./percolation.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | fn bottom(&self, i: uint, j: uint) -> (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/./percolation.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | fn bottom(&self, i: uint, j: uint) -> (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/./percolation.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | fn bottom(&self, i: uint, j: uint) -> (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/./percolation.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | fn left(&self, i: uint, j: uint) -> (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/./percolation.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn left(&self, i: uint, j: uint) -> (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/./percolation.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | fn left(&self, i: uint, j: uint) -> (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/./percolation.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | fn left(&self, i: uint, j: uint) -> (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/./percolation.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | fn right(&self, i: uint, j: uint) -> (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/./percolation.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | fn right(&self, i: uint, j: uint) -> (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/./percolation.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | fn right(&self, i: uint, j: uint) -> (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/./percolation.rs:74:49 [INFO] [stdout] | [INFO] [stdout] 74 | fn right(&self, i: uint, j: uint) -> (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/./percolation.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | fn has_left(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | fn has_left(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | fn has_right(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | fn has_right(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | fn has_up(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | fn has_up(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | fn has_bottom(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | fn has_bottom(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | fn right_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | fn right_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | fn left_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | fn left_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | fn bottom_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | fn bottom_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | fn up_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | fn up_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | fn fill(&mut self, point: (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/./percolation.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | fn fill(&mut self, point: (uint, uint)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | *self.states.get_mut(p) = Full; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Current` in this scope [INFO] [stdout] --> src/./percolation.rs:116:51 [INFO] [stdout] | [INFO] [stdout] 116 | } else if self.is_open_in_direction(i, j, Current) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Current; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::SeekFrom::Current; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_find.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QuickFind { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 5 | id: Vec [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Left` in this scope [INFO] [stdout] --> src/./percolation.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | if self.is_full(i, j, Left) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Left; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Alignment::Left; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::rt::v1::Alignment::Left; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_find.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(n: uint) -> QuickFind { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | *self.states.get_mut(p) = Full; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_find.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | QuickFind{ id: Vec::from_fn(n, |i| i as int) } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Right` in this scope [INFO] [stdout] --> src/./percolation.rs:121:42 [INFO] [stdout] | [INFO] [stdout] 121 | } else if self.is_full(i, j, Right) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Right; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Alignment::Right; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::rt::v1::Alignment::Right; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_find.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn connected(&self, p: uint, q: uint) -> bool { [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/dynamic_connectivity/quick_find.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn connected(&self, p: uint, q: uint) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:123:43 [INFO] [stdout] | [INFO] [stdout] 123 | *self.states.get_mut(p) = Full; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_find.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn union(&mut self, p: uint, q: uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Up` in this scope [INFO] [stdout] --> src/./percolation.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | } else if self.is_full(i, j, Up) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 125 | } else if self.is_full(i, j, p) { [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Up; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_find.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn union(&mut self, p: uint, q: uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | *self.states.get_mut(p) = Full; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_find.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | for i in range(0, self.id.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bottom` in this scope [INFO] [stdout] --> src/./percolation.rs:129:42 [INFO] [stdout] | [INFO] [stdout] 129 | } else if self.is_full(i, j, Bottom) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Bottom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | *self.states.get_mut(p) = Full; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_union.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct QuickUnion { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | id: Vec [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/dynamic_connectivity/quick_union.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(n: uint) -> QuickUnion { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Right` in this scope [INFO] [stdout] --> src/./percolation.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | if self.is_open_in_direction(i, j, Right) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Right; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Alignment::Right; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::rt::v1::Alignment::Right; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_union.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | fn root(&self, i: uint) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Left` in this scope [INFO] [stdout] --> src/./percolation.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | if self.is_open_in_direction(i, j, Left) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Left; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Alignment::Left; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::rt::v1::Alignment::Left; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_union.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn root(&self, i: 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/dynamic_connectivity/quick_union.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn connected(&self, p: uint, q: uint) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Up` in this scope [INFO] [stdout] --> src/./percolation.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | if self.is_open_in_direction(i, j, Up) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 151 | if self.is_open_in_direction(i, j, p) { [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Up; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/dynamic_connectivity/quick_union.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn connected(&self, p: uint, q: uint) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bottom` in this scope [INFO] [stdout] --> src/./percolation.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | if self.is_open_in_direction(i, j, Bottom) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Bottom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/./percolation.rs:159:31 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn open(&mut self, i: uint, j: 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/dynamic_connectivity/quick_union.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn union(&mut self, p: uint, q: 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/./percolation.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn open(&mut self, i: uint, j: 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/dynamic_connectivity/quick_union.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn union(&mut self, p: uint, q: uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | *self.states.get_mut(index) = Open; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/dynamic_connectivity/weighted_quick_union.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WeightedQuickUnion { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 7 | id: Vec, [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/./percolation.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn is_open(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn is_open(&self, i: uint, j: uint) -> bool { [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/dynamic_connectivity/weighted_quick_union.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WeightedQuickUnion { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 7 | id: Vec, [INFO] [stdout] 8 | size: Vec [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Current` in this scope [INFO] [stdout] --> src/./percolation.rs:167:41 [INFO] [stdout] | [INFO] [stdout] 167 | self.is_open_in_direction(i, j, Current) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Current; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::SeekFrom::Current; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/dynamic_connectivity/weighted_quick_union.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(n: uint) -> WeightedQuickUnion { [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/./percolation.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | fn is_open_in_direction(&self, i: uint, j: uint, direction: Direction) -> bool { [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/dynamic_connectivity/weighted_quick_union.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | fn root(&self, i: 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/./percolation.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | fn is_open_in_direction(&self, i: uint, j: uint, direction: Direction) -> bool { [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/dynamic_connectivity/weighted_quick_union.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn root(&self, i: uint) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:172:72 [INFO] [stdout] | [INFO] [stdout] 172 | Right => self.has_right(i, j) && self.right_state(i, j) == Open, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:173:70 [INFO] [stdout] | [INFO] [stdout] 173 | Left => self.has_left(i, j) && self.left_state(i, j) == Open, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:174:66 [INFO] [stdout] | [INFO] [stdout] 174 | Up => self.has_up(i, j) && self.up_state(i, j) == Open, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:175:75 [INFO] [stdout] | [INFO] [stdout] 175 | Bottom => self.has_bottom(i, j) && self.bottom_state(i, j) == Open, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:176:60 [INFO] [stdout] | [INFO] [stdout] 176 | Current => self.states[self.to_index(i, j)] == Open [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/./percolation.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn is_full(&self, i: uint, j: uint, direction: Direction) -> bool { [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/./percolation.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn is_full(&self, i: uint, j: uint, direction: Direction) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:182:72 [INFO] [stdout] | [INFO] [stdout] 182 | Right => self.has_right(i, j) && self.right_state(i, j) == Full, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:183:70 [INFO] [stdout] | [INFO] [stdout] 183 | Left => self.has_left(i, j) && self.left_state(i, j) == Full, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:184:66 [INFO] [stdout] | [INFO] [stdout] 184 | Up => self.has_up(i, j) && self.up_state(i, j) == Full, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:185:75 [INFO] [stdout] | [INFO] [stdout] 185 | Bottom => self.has_bottom(i, j) && self.bottom_state(i, j) == Full, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:186:60 [INFO] [stdout] | [INFO] [stdout] 186 | Current => self.states[self.to_index(i, j)] == Full [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/./percolation.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | for i in range(1, self.states.len() + 1) { [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/percolation_stats.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | n: 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/percolation_stats.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | t: 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/percolation_stats.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(n: uint, t: uint) -> PercolationStats { [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/percolation_stats.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(n: uint, t: uint) -> PercolationStats { [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/percolation_stats.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | for i in range(0, self.t) { [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/percolation_stats.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 18 | impl PercolationStats { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | let index = random::() % points.len(); [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/percolation_stats.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | for i in range(0, self.thresholds.len()) { [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/percolation_stats.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | for i in range(0, self.thresholds.len()) { [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/percolation_stats.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 18 | impl PercolationStats { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 77 | fn generate_possible_points(&self) -> Vec<(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/percolation_stats.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 18 | impl PercolationStats { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 77 | fn generate_possible_points(&self) -> Vec<(uint, uint)> { [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/percolation_stats.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | for i in range(0, self.n) { [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/percolation_stats.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | for j in range(0, self.n) { [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/dynamic_connectivity/weighted_quick_union.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn connected(&self, p: uint, q: uint) -> bool { [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/dynamic_connectivity/weighted_quick_union.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn connected(&self, p: uint, q: uint) -> bool { [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/dynamic_connectivity/weighted_quick_union.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn union(&mut self, p: uint, q: 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/dynamic_connectivity/weighted_quick_union.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn union(&mut self, p: uint, q: 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/./percolation.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | n: 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/./percolation.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(n: uint) -> Percolation { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Blocked` in this scope [INFO] [stdout] --> src/./percolation.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | let mut p = Percolation{n: n, states: Vec::from_fn(n * n, |_| Blocked), positions: WeightedQuickUnion::new(n * n)}; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Blocked; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/./percolation.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | for i in range(0, n) { [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/./percolation.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | for j in range(lower_row_start, lower_row_end) { [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/./percolation.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_index(&self, i: uint, j: 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/./percolation.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_index(&self, i: uint, j: 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/./percolation.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_index(&self, i: uint, j: 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/./percolation.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | fn index(&self, point: (uint, 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/./percolation.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | fn index(&self, point: (uint, 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/./percolation.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | fn index(&self, point: (uint, 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/./percolation.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | fn up(&self, i: uint, j: uint) -> (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/./percolation.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | fn up(&self, i: uint, j: uint) -> (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/./percolation.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | fn up(&self, i: uint, j: uint) -> (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/./percolation.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | fn up(&self, i: uint, j: uint) -> (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/./percolation.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fn bottom(&self, i: uint, j: uint) -> (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/./percolation.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | fn bottom(&self, i: uint, j: uint) -> (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/./percolation.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | fn bottom(&self, i: uint, j: uint) -> (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/./percolation.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | fn bottom(&self, i: uint, j: uint) -> (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/./percolation.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | fn left(&self, i: uint, j: uint) -> (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/./percolation.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn left(&self, i: uint, j: uint) -> (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/./percolation.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | fn left(&self, i: uint, j: uint) -> (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/./percolation.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | fn left(&self, i: uint, j: uint) -> (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/./percolation.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | fn right(&self, i: uint, j: uint) -> (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/./percolation.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | fn right(&self, i: uint, j: uint) -> (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/./percolation.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | fn right(&self, i: uint, j: uint) -> (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/./percolation.rs:74:49 [INFO] [stdout] | [INFO] [stdout] 74 | fn right(&self, i: uint, j: uint) -> (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/./percolation.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | fn has_left(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | fn has_left(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | fn has_right(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | fn has_right(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | fn has_up(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | fn has_up(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | fn has_bottom(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | fn has_bottom(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | fn right_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | fn right_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | fn left_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | fn left_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | fn bottom_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | fn bottom_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | fn up_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | fn up_state(&self, i: uint, j: uint) -> State { [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/./percolation.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | fn fill(&mut self, point: (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/./percolation.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | fn fill(&mut self, point: (uint, uint)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | *self.states.get_mut(p) = Full; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Current` in this scope [INFO] [stdout] --> src/./percolation.rs:116:51 [INFO] [stdout] | [INFO] [stdout] 116 | } else if self.is_open_in_direction(i, j, Current) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Current; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::SeekFrom::Current; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Left` in this scope [INFO] [stdout] --> src/./percolation.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | if self.is_full(i, j, Left) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Left; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Alignment::Left; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::rt::v1::Alignment::Left; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | *self.states.get_mut(p) = Full; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Right` in this scope [INFO] [stdout] --> src/./percolation.rs:121:42 [INFO] [stdout] | [INFO] [stdout] 121 | } else if self.is_full(i, j, Right) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Right; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Alignment::Right; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::rt::v1::Alignment::Right; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:123:43 [INFO] [stdout] | [INFO] [stdout] 123 | *self.states.get_mut(p) = Full; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Up` in this scope [INFO] [stdout] --> src/./percolation.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | } else if self.is_full(i, j, Up) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 125 | } else if self.is_full(i, j, p) { [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Up; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | *self.states.get_mut(p) = Full; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bottom` in this scope [INFO] [stdout] --> src/./percolation.rs:129:42 [INFO] [stdout] | [INFO] [stdout] 129 | } else if self.is_full(i, j, Bottom) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Bottom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | *self.states.get_mut(p) = Full; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Right` in this scope [INFO] [stdout] --> src/./percolation.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | if self.is_open_in_direction(i, j, Right) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Right; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Alignment::Right; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::rt::v1::Alignment::Right; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Left` in this scope [INFO] [stdout] --> src/./percolation.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | if self.is_open_in_direction(i, j, Left) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Left; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Alignment::Left; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::rt::v1::Alignment::Left; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Up` in this scope [INFO] [stdout] --> src/./percolation.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | if self.is_open_in_direction(i, j, Up) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 151 | if self.is_open_in_direction(i, j, p) { [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Up; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bottom` in this scope [INFO] [stdout] --> src/./percolation.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | if self.is_open_in_direction(i, j, Bottom) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Bottom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/./percolation.rs:159:31 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn open(&mut self, i: uint, j: 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/./percolation.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn open(&mut self, i: uint, j: uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | *self.states.get_mut(index) = Open; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/./percolation.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn is_open(&self, i: uint, j: uint) -> bool { [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/./percolation.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn is_open(&self, i: uint, j: uint) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Current` in this scope [INFO] [stdout] --> src/./percolation.rs:167:41 [INFO] [stdout] | [INFO] [stdout] 167 | self.is_open_in_direction(i, j, Current) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::Direction::Current; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::SeekFrom::Current; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/./percolation.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | fn is_open_in_direction(&self, i: uint, j: uint, direction: Direction) -> bool { [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/./percolation.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | fn is_open_in_direction(&self, i: uint, j: uint, direction: Direction) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:172:72 [INFO] [stdout] | [INFO] [stdout] 172 | Right => self.has_right(i, j) && self.right_state(i, j) == Open, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:173:70 [INFO] [stdout] | [INFO] [stdout] 173 | Left => self.has_left(i, j) && self.left_state(i, j) == Open, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:174:66 [INFO] [stdout] | [INFO] [stdout] 174 | Up => self.has_up(i, j) && self.up_state(i, j) == Open, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:175:75 [INFO] [stdout] | [INFO] [stdout] 175 | Bottom => self.has_bottom(i, j) && self.bottom_state(i, j) == Open, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Open` in this scope [INFO] [stdout] --> src/./percolation.rs:176:60 [INFO] [stdout] | [INFO] [stdout] 176 | Current => self.states[self.to_index(i, j)] == Open [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/./percolation.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn is_full(&self, i: uint, j: uint, direction: Direction) -> bool { [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/./percolation.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn is_full(&self, i: uint, j: uint, direction: Direction) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:182:72 [INFO] [stdout] | [INFO] [stdout] 182 | Right => self.has_right(i, j) && self.right_state(i, j) == Full, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:183:70 [INFO] [stdout] | [INFO] [stdout] 183 | Left => self.has_left(i, j) && self.left_state(i, j) == Full, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:184:66 [INFO] [stdout] | [INFO] [stdout] 184 | Up => self.has_up(i, j) && self.up_state(i, j) == Full, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:185:75 [INFO] [stdout] | [INFO] [stdout] 185 | Bottom => self.has_bottom(i, j) && self.bottom_state(i, j) == Full, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Full` in this scope [INFO] [stdout] --> src/./percolation.rs:186:60 [INFO] [stdout] | [INFO] [stdout] 186 | Current => self.states[self.to_index(i, j)] == Full [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use percolation_stats::percolation::State::Full; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/./percolation.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | for i in range(1, self.states.len() + 1) { [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/percolation_stats.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | n: 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/percolation_stats.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | t: 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/percolation_stats.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(n: uint, t: uint) -> PercolationStats { [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/percolation_stats.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(n: uint, t: uint) -> PercolationStats { [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/percolation_stats.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | for i in range(0, self.t) { [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/percolation_stats.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 18 | impl PercolationStats { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | let index = random::() % points.len(); [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/percolation_stats.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | for i in range(0, self.thresholds.len()) { [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/percolation_stats.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | for i in range(0, self.thresholds.len()) { [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/percolation_stats.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 18 | impl PercolationStats { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 77 | fn generate_possible_points(&self) -> Vec<(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/percolation_stats.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 18 | impl PercolationStats { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 77 | fn generate_possible_points(&self) -> Vec<(uint, uint)> { [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/percolation_stats.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | for i in range(0, self.n) { [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/percolation_stats.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | for j in range(0, self.n) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QuickFind`, `QuickUnion` [INFO] [stdout] --> src/./percolation.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use self::dynamic_connectivity::{QuickFind, QuickUnion, WeightedQuickUnion}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/percolation_stats.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | return (opened / (self.n * self.n) as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QuickFind`, `QuickUnion` [INFO] [stdout] --> src/./percolation.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use self::dynamic_connectivity::{QuickFind, QuickUnion, WeightedQuickUnion}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/percolation_stats.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | return (opened / (self.n * self.n) as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 122 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `percolation` [INFO] [stdout] error: aborting due to 122 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "669853d781420448054a3cb0565c3ad7ded7d0fe28c6f5dbcefd791fc246d82d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669853d781420448054a3cb0565c3ad7ded7d0fe28c6f5dbcefd791fc246d82d", kill_on_drop: false }` [INFO] [stdout] 669853d781420448054a3cb0565c3ad7ded7d0fe28c6f5dbcefd791fc246d82d