[INFO] cloning repository https://github.com/vberger/gtp-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vberger/gtp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvberger%2Fgtp-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvberger%2Fgtp-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7fef1f04d08bd6e6e2fcb0efa54f26429315bed [INFO] checking vberger/gtp-rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvberger%2Fgtp-rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vberger/gtp-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vberger/gtp-rust [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/vberger/gtp-rust [INFO] tweaked toml for git repo https://github.com/vberger/gtp-rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/vberger/gtp-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8c533cea6b7a71f6593bc45536757770601e1097f2fc48b150bea2a465c7979b [INFO] running `Command { std: "docker" "start" "-a" "8c533cea6b7a71f6593bc45536757770601e1097f2fc48b150bea2a465c7979b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c533cea6b7a71f6593bc45536757770601e1097f2fc48b150bea2a465c7979b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c533cea6b7a71f6593bc45536757770601e1097f2fc48b150bea2a465c7979b", kill_on_drop: false }` [INFO] [stdout] 8c533cea6b7a71f6593bc45536757770601e1097f2fc48b150bea2a465c7979b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d46b0bb4425cd9e4481b3d0bd35962d28b1558c5e857367e110fe8eec883694b [INFO] running `Command { std: "docker" "start" "-a" "d46b0bb4425cd9e4481b3d0bd35962d28b1558c5e857367e110fe8eec883694b", kill_on_drop: false }` [INFO] [stderr] Checking GTP-Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/api.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub move: Move [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 48 | pub r#move: Move [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/api.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub move: Move [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 48 | pub r#move: Move [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/api.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn gtp_play(&mut self, move: ColouredMove) -> Result<(), GTPError>; [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 91 | fn gtp_play(&mut self, r#move: ColouredMove) -> Result<(), GTPError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/api.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn gtp_play(&mut self, move: ColouredMove) -> Result<(), GTPError>; [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 91 | fn gtp_play(&mut self, r#move: ColouredMove) -> Result<(), GTPError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/api.rs:282:45 [INFO] [stdout] | [INFO] [stdout] 282 | self.player.to_string().append(self.move.to_string().as_slice()) [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | #[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/api.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/bothandler.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/parsing.rs:186:98 [INFO] [stdout] | [INFO] [stdout] 186 | (Some(col), Some(mv)) => Some(ArgColouredMove(api::ColouredMove{player: col, move: mv})), [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 186 | (Some(col), Some(mv)) => Some(ArgColouredMove(api::ColouredMove{player: col, r#move: mv})), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `c` [INFO] [stdout] --> src/api.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | format!("{:c}{:u}", letter as char, self.y) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/api.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | format!("{:c}{:u}", letter as char, self.y) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/bothandler.rs:401:41 [INFO] [stdout] | [INFO] [stdout] 401 | (false, format!("={:s} bye", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/bothandler.rs:402:57 [INFO] [stdout] | [INFO] [stdout] 402 | match id {Some(i) => format!("{:u}", i), _ => String::new()})) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/api.rs:282:45 [INFO] [stdout] | [INFO] [stdout] 282 | self.player.to_string().append(self.move.to_string().as_slice()) [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | #[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/api.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `c` [INFO] [stdout] --> src/bothandler.rs:405:39 [INFO] [stdout] | [INFO] [stdout] 405 | (true, format!("{:c}{:s} {:s}", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/api.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/bothandler.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/bothandler.rs:405:43 [INFO] [stdout] | [INFO] [stdout] 405 | (true, format!("{:c}{:s} {:s}", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/parsing.rs:186:98 [INFO] [stdout] | [INFO] [stdout] 186 | (Some(col), Some(mv)) => Some(ArgColouredMove(api::ColouredMove{player: col, move: mv})), [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 186 | (Some(col), Some(mv)) => Some(ArgColouredMove(api::ColouredMove{player: col, r#move: mv})), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `c` [INFO] [stdout] --> src/api.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | format!("{:c}{:u}", letter as char, self.y) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/bothandler.rs:405:48 [INFO] [stdout] | [INFO] [stdout] 405 | (true, format!("{:c}{:s} {:s}", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/api.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | format!("{:c}{:u}", letter as char, self.y) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/bothandler.rs:401:41 [INFO] [stdout] | [INFO] [stdout] 401 | (false, format!("={:s} bye", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/bothandler.rs:407:57 [INFO] [stdout] | [INFO] [stdout] 407 | match id {Some(i) => format!("{:u}", i), _ => String::new()}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/bothandler.rs:402:57 [INFO] [stdout] | [INFO] [stdout] 402 | match id {Some(i) => format!("{:u}", i), _ => String::new()})) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/boarddrawer.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | let mut output: String = format!("Captured stones : {:u} by white and {:u} by black.\n", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/boarddrawer.rs:9:77 [INFO] [stdout] | [INFO] [stdout] 9 | let mut output: String = format!("Captured stones : {:u} by white and {:u} by black.\n", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/boarddrawer.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | output = output.append(format!("{:2u}", boardsize-n).as_slice()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `c` [INFO] [stdout] --> src/bothandler.rs:405:39 [INFO] [stdout] | [INFO] [stdout] 405 | (true, format!("{:c}{:s} {:s}", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/bothandler.rs:405:43 [INFO] [stdout] | [INFO] [stdout] 405 | (true, format!("{:c}{:s} {:s}", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/bothandler.rs:405:48 [INFO] [stdout] | [INFO] [stdout] 405 | (true, format!("{:c}{:s} {:s}", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/bothandler.rs:407:57 [INFO] [stdout] | [INFO] [stdout] 407 | match id {Some(i) => format!("{:u}", i), _ => String::new()}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ascii::Ascii` [INFO] [stdout] --> src/bothandler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::Ascii; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Ascii` in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/parsing.rs:288:74 [INFO] [stdout] | [INFO] [stdout] 288 | super::ArgColouredMove(api::ColouredMove{player: api::White, move: api::Stone(api::Vertex::from_coords(7,7).unwrap())}), [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 288 | super::ArgColouredMove(api::ColouredMove{player: api::White, r#move: api::Stone(api::Vertex::from_coords(7,7).unwrap())}), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ascii::Ascii` [INFO] [stdout] --> src/parsing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::Ascii; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Ascii` in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/boarddrawer.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | let mut output: String = format!("Captured stones : {:u} by white and {:u} by black.\n", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/boarddrawer.rs:9:77 [INFO] [stdout] | [INFO] [stdout] 9 | let mut output: String = format!("Captured stones : {:u} by white and {:u} by black.\n", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/boarddrawer.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | output = output.append(format!("{:2u}", boardsize-n).as_slice()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ascii::Ascii` [INFO] [stdout] --> src/bothandler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::Ascii; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Ascii` in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ascii::Ascii` [INFO] [stdout] --> src/parsing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::Ascii; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Ascii` in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | _ => fail!("Unexpected error in gtp_play.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | _ => fail!("Unexpected error in gtp_play.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | _ => fail!("Unexpected error in gtp_reg_genmove.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:270:18 [INFO] [stdout] | [INFO] [stdout] 270 | _ => fail!("Unexpected error in gtp_undo.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:282:31 [INFO] [stdout] | [INFO] [stdout] 282 | Err(_) => fail!("Unexpected error in gtp_time_settings.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | _ => fail!("Unexpected error in gtp_final_status_list.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | _ => fail!("Unexpected error in gtp_final_score.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | _ => fail!("Unexpected error in gtp_showboard.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | Err(_) => fail!("IO error.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | Err(_) => fail!("IO error."), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/api.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/api.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/api.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/api.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/api.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | fail!("Not Implemented."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | _ => fail!("Unexpected error in gtp_reg_genmove.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parsing.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[deriving(PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:270:18 [INFO] [stdout] | [INFO] [stdout] 270 | _ => fail!("Unexpected error in gtp_undo.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:282:31 [INFO] [stdout] | [INFO] [stdout] 282 | Err(_) => fail!("Unexpected error in gtp_time_settings.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | _ => fail!("Unexpected error in gtp_final_status_list.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | _ => fail!("Unexpected error in gtp_final_score.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | _ => fail!("Unexpected error in gtp_showboard.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | Err(_) => fail!("IO error.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parsing.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | #[deriving(PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | Err(_) => fail!("IO error."), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/api.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/api.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parsing.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[deriving(PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/api.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/boarddrawer.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | fail!("Invalid board size for drawing."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/api.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/api.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/api.rs:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | #[should_fail] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/api.rs:316:7 [INFO] [stdout] | [INFO] [stdout] 316 | #[should_fail] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/bothandler.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | fail!("Not Implemented."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parsing.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[deriving(PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parsing.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | #[deriving(PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parsing.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[deriving(PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/boarddrawer.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | fail!("Invalid board size for drawing."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | fn gtp_boardsize(&mut self, size: uint) -> Result<(), GTPError>; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 125 | fn gtp_fixed_handicap(&mut self, number: uint) -> Result, GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | fn gtp_place_free_handicap(&mut self, number: uint) -> Result, GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | fn gtp_time_settings(&mut self, main_time: uint, byoyomi_time: uint, byoyomi_stones: uint) -> Result<(), GTPError> { [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/api.rs:152:68 [INFO] [stdout] | [INFO] [stdout] 152 | fn gtp_time_settings(&mut self, main_time: uint, byoyomi_time: uint, byoyomi_stones: uint) -> Result<(), GTPError> { [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/api.rs:152:90 [INFO] [stdout] | [INFO] [stdout] 152 | fn gtp_time_settings(&mut self, main_time: uint, byoyomi_time: uint, byoyomi_stones: uint) -> Result<(), GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:176:40 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait GoBot { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | fn gtp_showboard(&self) -> Result<(uint, Vec, Vec, uint, uint), GTPError> { [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/api.rs:176:72 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait GoBot { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | fn gtp_showboard(&self) -> Result<(uint, Vec, Vec, uint, uint), GTPError> { [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/api.rs:176:78 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait GoBot { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | fn gtp_showboard(&self) -> Result<(uint, Vec, Vec, uint, uint), GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/api.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let number = from_str::(text.slice_from(1)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Stone` in this scope [INFO] [stdout] --> src/api.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | Stone(vrtx) => vrtx.to_string(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::Move::Stone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in module `api` [INFO] [stdout] --> src/bothandler.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | match bot.gtp_genmove_regression(api::Black) { [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | Err(api::NotImplemented) => self.genmove_regression = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | Err(api::NotImplemented) => self.undo = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | Err(api::NotImplemented) => self.fixed_handicap = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | Err(api::NotImplemented) => self.place_free_handicap = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | Err(api::NotImplemented) => self.set_free_handicap = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | Err(api::NotImplemented) => self.time_settings = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alive` in module `api` [INFO] [stdout] --> src/bothandler.rs:75:46 [INFO] [stdout] | [INFO] [stdout] 75 | match bot.gtp_final_status_list(api::Alive) { [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::StoneStatus::Alive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | Err(api::NotImplemented) => self.final_status_list = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | Err(api::NotImplemented) => self.final_score = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | Err(api::NotImplemented) => self.showboard = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | match from_str::(args.as_str_ascii()) { [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/bothandler.rs:150:26 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 150 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `InvalidBoardSize` in module `api` [INFO] [stdout] --> src/bothandler.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | Err(api::InvalidBoardSize) => (false, String::from_str("invalid board size")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::InvalidBoardSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ColouredMoveArg` in module `parsing` [INFO] [stdout] --> src/bothandler.rs:172:51 [INFO] [stdout] | [INFO] [stdout] 172 | match parsing::parse_args(args, [parsing::ColouredMoveArg]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `parsing` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::ArgType::ColouredMoveArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ArgColouredMove` in module `parsing` [INFO] [stdout] --> src/bothandler.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | parsing::ArgColouredMove(mv) => match bot.gtp_play(mv) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `parsing` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgColouredMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `InvalidMove` in module `api` [INFO] [stdout] --> src/bothandler.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | Err(api::InvalidMove) => (false, String::from_str("invalid move")), [INFO] [stdout] | ^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::InvalidMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:211:15 [INFO] [stdout] | [INFO] [stdout] 211 | match from_str::(args.as_str_ascii()) { [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/bothandler.rs:211:26 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 211 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BoardNotEmpty` in module `api` [INFO] [stdout] --> src/bothandler.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::BoardNotEmpty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | match from_str::(args.as_str_ascii()) { [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/bothandler.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 229 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BoardNotEmpty` in module `api` [INFO] [stdout] --> src/bothandler.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::BoardNotEmpty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BadVertexList` in module `api` [INFO] [stdout] --> src/bothandler.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | Err(api::BadVertexList) => (false, String::from_str("bad vertex list")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::BadVertexList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BoardNotEmpty` in module `api` [INFO] [stdout] --> src/bothandler.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::BoardNotEmpty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `CannotUndo` in module `api` [INFO] [stdout] --> src/bothandler.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | Err(api::CannotUndo) => (false, String::from_str("cannot undo")), [INFO] [stdout] | ^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::CannotUndo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:277:51 [INFO] [stdout] | [INFO] [stdout] 277 | (Some(a), Some(b), Some(c)) => match (from_str::(a.as_str_ascii()), [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/bothandler.rs:277:62 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 277 | (Some(a), Some(b), Some(c)) => match (from_str::(a.as_str_ascii()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:278:51 [INFO] [stdout] | [INFO] [stdout] 278 | ... from_str::(b.as_str_ascii()), [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/bothandler.rs:278:62 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 278 | from_str::(b.as_str_ascii()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:279:51 [INFO] [stdout] | [INFO] [stdout] 279 | ... from_str::(c.as_str_ascii())) { [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/bothandler.rs:279:62 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 279 | from_str::(c.as_str_ascii())) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `White` in module `api` [INFO] [stdout] --> src/bothandler.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | (x, api::White) => (true, format!("w+{}", x)), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Colour::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `Black` in module `api` [INFO] [stdout] --> src/bothandler.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | (x, api::Black) => (true, format!("b+{}", x)) [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `CannotScore` in module `api` [INFO] [stdout] --> src/bothandler.rs:313:22 [INFO] [stdout] | [INFO] [stdout] 313 | Err(api::CannotScore) => (false, String::from_str("cannot score")), [INFO] [stdout] | ^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::CannotScore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/parsing.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | let id = from_str::(first_part.as_str_ascii()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in module `api` [INFO] [stdout] --> src/parsing.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | "w" | "white" => Some(api::White), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Colour::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in module `api` [INFO] [stdout] --> src/parsing.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | "b" | "black" => Some(api::Black), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pass` in module `api` [INFO] [stdout] --> src/parsing.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | "pass" => Some(api::Pass), [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Move::Pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Resign` in module `api` [INFO] [stdout] --> src/parsing.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | "resign" => Some(api::Resign), [INFO] [stdout] | ^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Move::Resign; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | fn gtp_boardsize(&mut self, size: uint) -> Result<(), GTPError>; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Stone` in module `api` [INFO] [stdout] --> src/parsing.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | Some(v) => Some(api::Stone(v)), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Move::Stone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alive` in module `api` [INFO] [stdout] --> src/parsing.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | "alive" => Some(api::Alive), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::StoneStatus::Alive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 125 | fn gtp_fixed_handicap(&mut self, number: uint) -> Result, GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Dead` in module `api` [INFO] [stdout] --> src/parsing.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | "dead" => Some(api::Dead), [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::StoneStatus::Dead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | fn gtp_place_free_handicap(&mut self, number: uint) -> Result, GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Seki` in module `api` [INFO] [stdout] --> src/parsing.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | "seki" => Some(api::Seki), [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::StoneStatus::Seki; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgColour` in this scope [INFO] [stdout] --> src/parsing.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | Some(col) => Some(ArgColour(col)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgColour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | fn gtp_time_settings(&mut self, main_time: uint, byoyomi_time: uint, byoyomi_stones: uint) -> Result<(), GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgVertex` in this scope [INFO] [stdout] --> src/parsing.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | Some(vrtx) => Some(ArgVertex(vrtx)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgVertex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:152:68 [INFO] [stdout] | [INFO] [stdout] 152 | fn gtp_time_settings(&mut self, main_time: uint, byoyomi_time: uint, byoyomi_stones: uint) -> Result<(), GTPError> { [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/api.rs:152:90 [INFO] [stdout] | [INFO] [stdout] 152 | fn gtp_time_settings(&mut self, main_time: uint, byoyomi_time: uint, byoyomi_stones: uint) -> Result<(), GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgMove` in this scope [INFO] [stdout] --> src/parsing.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | Some(mv) => Some(ArgMove(mv)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgStoneStatus` in this scope [INFO] [stdout] --> src/parsing.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | Some(st) => Some(ArgStoneStatus(st)), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgStoneStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgColouredMove` in this scope [INFO] [stdout] --> src/parsing.rs:186:51 [INFO] [stdout] | [INFO] [stdout] 186 | (Some(col), Some(mv)) => Some(ArgColouredMove(api::ColouredMove{player: col, move: mv})), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgColouredMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/api.rs:176:40 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait GoBot { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | fn gtp_showboard(&self) -> Result<(uint, Vec, Vec, uint, uint), GTPError> { [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/boarddrawer.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn draw_board(boardsize: 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/api.rs:176:72 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait GoBot { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | fn gtp_showboard(&self) -> Result<(uint, Vec, Vec, uint, uint), GTPError> { [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/boarddrawer.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | black_cp: uint, white_cp: uint) -> String { [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/api.rs:176:78 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait GoBot { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | fn gtp_showboard(&self) -> Result<(uint, Vec, Vec, uint, uint), GTPError> { [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/boarddrawer.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | black_cp: uint, white_cp: uint) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> src/api.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/boarddrawer.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | board[(n-1) as uint][(l-1) as uint] = 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/api.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let number = from_str::(text.slice_from(1)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Stone` in this scope [INFO] [stdout] --> src/api.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | Stone(vrtx) => vrtx.to_string(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use api::Move::Stone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in module `api` [INFO] [stdout] --> src/bothandler.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | match bot.gtp_genmove_regression(api::Black) { [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | Err(api::NotImplemented) => self.genmove_regression = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | Err(api::NotImplemented) => self.undo = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | Err(api::NotImplemented) => self.fixed_handicap = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | Err(api::NotImplemented) => self.place_free_handicap = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | Err(api::NotImplemented) => self.set_free_handicap = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | Err(api::NotImplemented) => self.time_settings = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alive` in module `api` [INFO] [stdout] --> src/bothandler.rs:75:46 [INFO] [stdout] | [INFO] [stdout] 75 | match bot.gtp_final_status_list(api::Alive) { [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::StoneStatus::Alive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | Err(api::NotImplemented) => self.final_status_list = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | Err(api::NotImplemented) => self.final_score = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> src/bothandler.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | Err(api::NotImplemented) => self.showboard = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | match from_str::(args.as_str_ascii()) { [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/bothandler.rs:150:26 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 150 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `InvalidBoardSize` in module `api` [INFO] [stdout] --> src/bothandler.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | Err(api::InvalidBoardSize) => (false, String::from_str("invalid board size")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::InvalidBoardSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ColouredMoveArg` in module `parsing` [INFO] [stdout] --> src/bothandler.rs:172:51 [INFO] [stdout] | [INFO] [stdout] 172 | match parsing::parse_args(args, [parsing::ColouredMoveArg]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `parsing` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::ArgType::ColouredMoveArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ArgColouredMove` in module `parsing` [INFO] [stdout] --> src/bothandler.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | parsing::ArgColouredMove(mv) => match bot.gtp_play(mv) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `parsing` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgColouredMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `InvalidMove` in module `api` [INFO] [stdout] --> src/bothandler.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | Err(api::InvalidMove) => (false, String::from_str("invalid move")), [INFO] [stdout] | ^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::InvalidMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:211:15 [INFO] [stdout] | [INFO] [stdout] 211 | match from_str::(args.as_str_ascii()) { [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/bothandler.rs:211:26 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 211 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BoardNotEmpty` in module `api` [INFO] [stdout] --> src/bothandler.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::BoardNotEmpty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | match from_str::(args.as_str_ascii()) { [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/bothandler.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 229 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BoardNotEmpty` in module `api` [INFO] [stdout] --> src/bothandler.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::BoardNotEmpty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BadVertexList` in module `api` [INFO] [stdout] --> src/bothandler.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | Err(api::BadVertexList) => (false, String::from_str("bad vertex list")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::BadVertexList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BoardNotEmpty` in module `api` [INFO] [stdout] --> src/bothandler.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::BoardNotEmpty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `CannotUndo` in module `api` [INFO] [stdout] --> src/bothandler.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | Err(api::CannotUndo) => (false, String::from_str("cannot undo")), [INFO] [stdout] | ^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::CannotUndo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:277:51 [INFO] [stdout] | [INFO] [stdout] 277 | (Some(a), Some(b), Some(c)) => match (from_str::(a.as_str_ascii()), [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/bothandler.rs:277:62 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 277 | (Some(a), Some(b), Some(c)) => match (from_str::(a.as_str_ascii()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:278:51 [INFO] [stdout] | [INFO] [stdout] 278 | ... from_str::(b.as_str_ascii()), [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/bothandler.rs:278:62 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 278 | from_str::(b.as_str_ascii()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/bothandler.rs:279:51 [INFO] [stdout] | [INFO] [stdout] 279 | ... from_str::(c.as_str_ascii())) { [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/bothandler.rs:279:62 [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 279 | from_str::(c.as_str_ascii())) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `White` in module `api` [INFO] [stdout] --> src/bothandler.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | (x, api::White) => (true, format!("w+{}", x)), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Colour::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `Black` in module `api` [INFO] [stdout] --> src/bothandler.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | (x, api::Black) => (true, format!("b+{}", x)) [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `CannotScore` in module `api` [INFO] [stdout] --> src/bothandler.rs:313:22 [INFO] [stdout] | [INFO] [stdout] 313 | Err(api::CannotScore) => (false, String::from_str("cannot score")), [INFO] [stdout] | ^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::GTPError::CannotScore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/parsing.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | let id = from_str::(first_part.as_str_ascii()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in module `api` [INFO] [stdout] --> src/parsing.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | "w" | "white" => Some(api::White), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Colour::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in module `api` [INFO] [stdout] --> src/parsing.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | "b" | "black" => Some(api::Black), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pass` in module `api` [INFO] [stdout] --> src/parsing.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | "pass" => Some(api::Pass), [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Move::Pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Resign` in module `api` [INFO] [stdout] --> src/parsing.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | "resign" => Some(api::Resign), [INFO] [stdout] | ^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Move::Resign; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Stone` in module `api` [INFO] [stdout] --> src/parsing.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | Some(v) => Some(api::Stone(v)), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::Move::Stone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alive` in module `api` [INFO] [stdout] --> src/parsing.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | "alive" => Some(api::Alive), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::StoneStatus::Alive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Dead` in module `api` [INFO] [stdout] --> src/parsing.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | "dead" => Some(api::Dead), [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::StoneStatus::Dead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Seki` in module `api` [INFO] [stdout] --> src/parsing.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | "seki" => Some(api::Seki), [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use api::StoneStatus::Seki; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgColour` in this scope [INFO] [stdout] --> src/parsing.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | Some(col) => Some(ArgColour(col)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgColour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgVertex` in this scope [INFO] [stdout] --> src/parsing.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | Some(vrtx) => Some(ArgVertex(vrtx)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgVertex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgMove` in this scope [INFO] [stdout] --> src/parsing.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | Some(mv) => Some(ArgMove(mv)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/boarddrawer.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | board[(n-1) as uint][(l-1) as uint] = 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgStoneStatus` in this scope [INFO] [stdout] --> src/parsing.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | Some(st) => Some(ArgStoneStatus(st)), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgStoneStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgColouredMove` in this scope [INFO] [stdout] --> src/parsing.rs:186:51 [INFO] [stdout] | [INFO] [stdout] 186 | (Some(col), Some(mv)) => Some(ArgColouredMove(api::ColouredMove{player: col, move: mv})), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use parsing::Argument::ArgColouredMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/boarddrawer.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | board[(n-1) as uint][(l-1) as uint] = 2; [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/boarddrawer.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | board[(n-1) as uint][(l-1) as uint] = 2; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in module `api` [INFO] [stdout] --> src/parsing.rs:257:75 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(super::arg_parse_colour("BlAcK".to_ascii()), Some(api::Black)); [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/boarddrawer.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | for n in range(0, boardsize){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in module `api` [INFO] [stdout] --> src/parsing.rs:258:71 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(super::arg_parse_colour("b".to_ascii()), Some(api::Black)); [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/boarddrawer.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | for l in range(0, boardsize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in module `api` [INFO] [stdout] --> src/parsing.rs:259:75 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(super::arg_parse_colour("WHIte".to_ascii()), Some(api::White)); [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Colour::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/boarddrawer.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for l in range(0, boardsize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IoError` in module `io` [INFO] [stdout] --> src/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from_str("quit"), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in module `api` [INFO] [stdout] --> src/parsing.rs:260:71 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(super::arg_parse_colour("W".to_ascii()), Some(api::White)); [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Colour::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `EndOfFile` in module `io` [INFO] [stdout] --> src/lib.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from_str("quit"), [INFO] [stdout] | ^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Resign` in module `api` [INFO] [stdout] --> src/parsing.rs:267:74 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(super::arg_parse_move("ReSiGn".to_ascii()), Some(api::Resign)); [INFO] [stdout] | ^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Move::Resign; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ascii` in this scope [INFO] [stdout] --> src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn main_loop(bot: &mut T) { [INFO] [stdout] | - help: you might be missing a type parameter: `, Ascii` [INFO] [stdout] ... [INFO] [stdout] 25 | let ascii_input: Vec = match line.as_slice().to_ascii_opt() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | let mut input = io::stdio::stdin(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/lib.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | let mut output = io::stdio::stdout(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pass` in module `api` [INFO] [stdout] --> src/parsing.rs:268:72 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(super::arg_parse_move("PasS".to_ascii()), Some(api::Pass)); [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Move::Pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Stone` in module `api` [INFO] [stdout] --> src/parsing.rs:269:71 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(super::arg_parse_move("A12".to_ascii()), Some(api::Stone(api::Vertex::from_coords(1,12).unwrap()))); [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Move::Stone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Stone` in module `api` [INFO] [stdout] --> src/parsing.rs:270:70 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(super::arg_parse_move("T7".to_ascii()), Some(api::Stone(api::Vertex::from_coords(19,7).unwrap()))); [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Move::Stone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ColouredMoveArg` in module `super` [INFO] [stdout] --> src/parsing.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | super::ColouredMoveArg, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use parsing::ArgType::ColouredMoveArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `StoneStatusArg` in module `super` [INFO] [stdout] --> src/parsing.rs:282:20 [INFO] [stdout] | [INFO] [stdout] 282 | super::StoneStatusArg, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use parsing::ArgType::StoneStatusArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ColourArg` in module `super` [INFO] [stdout] --> src/parsing.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | super::ColourArg, [INFO] [stdout] | ^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use parsing::ArgType::ColourArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MoveArg` in module `super` [INFO] [stdout] --> src/parsing.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | super::MoveArg, [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use parsing::ArgType::MoveArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VertexArg` in module `super` [INFO] [stdout] --> src/parsing.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 285 | super::VertexArg [INFO] [stdout] | ^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use parsing::ArgType::VertexArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgColouredMove` in module `super` [INFO] [stdout] --> src/parsing.rs:288:20 [INFO] [stdout] | [INFO] [stdout] 288 | super::ArgColouredMove(api::ColouredMove{player: api::White, move: api::Stone(api::Vertex::from_coords(7,7).unwrap())}), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 200 | use parsing::Argument::ArgColouredMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in module `api` [INFO] [stdout] --> src/parsing.rs:288:67 [INFO] [stdout] | [INFO] [stdout] 288 | super::ArgColouredMove(api::ColouredMove{player: api::White, move: api::Stone(api::Vertex::from_coords(7,7).unwrap())}), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Colour::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Stone` in module `api` [INFO] [stdout] --> src/parsing.rs:288:85 [INFO] [stdout] | [INFO] [stdout] 288 | super::ArgColouredMove(api::ColouredMove{player: api::White, move: api::Stone(api::Vertex::from_coords(7,7).unwrap())}), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Move::Stone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgStoneStatus` in module `super` [INFO] [stdout] --> src/parsing.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | super::ArgStoneStatus(api::Alive), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 200 | use parsing::Argument::ArgStoneStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alive` in module `api` [INFO] [stdout] --> src/parsing.rs:289:40 [INFO] [stdout] | [INFO] [stdout] 289 | super::ArgStoneStatus(api::Alive), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::StoneStatus::Alive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgColour` in module `super` [INFO] [stdout] --> src/parsing.rs:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | super::ArgColour(api::Black), [INFO] [stdout] | ^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 200 | use parsing::Argument::ArgColour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in module `api` [INFO] [stdout] --> src/parsing.rs:290:35 [INFO] [stdout] | [INFO] [stdout] 290 | super::ArgColour(api::Black), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgMove` in module `super` [INFO] [stdout] --> src/parsing.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | super::ArgMove(api::Pass), [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 200 | use parsing::Argument::ArgMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pass` in module `api` [INFO] [stdout] --> src/parsing.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | super::ArgMove(api::Pass), [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 200 | use api::Move::Pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgVertex` in module `super` [INFO] [stdout] --> src/parsing.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | super::ArgVertex(api::Vertex::from_coords(5,5).unwrap()) [INFO] [stdout] | ^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 200 | use parsing::Argument::ArgVertex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/boarddrawer.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn draw_board(boardsize: 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/boarddrawer.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | black_cp: uint, white_cp: uint) -> String { [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/boarddrawer.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | black_cp: uint, white_cp: uint) -> String { [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/boarddrawer.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | board[(n-1) as uint][(l-1) as uint] = 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/boarddrawer.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | board[(n-1) as uint][(l-1) as uint] = 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/boarddrawer.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | board[(n-1) as uint][(l-1) as uint] = 2; [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/boarddrawer.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | board[(n-1) as uint][(l-1) as uint] = 2; [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/boarddrawer.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | for n in range(0, boardsize){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/boarddrawer.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | for l in range(0, boardsize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/boarddrawer.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for l in range(0, boardsize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IoError` in module `io` [INFO] [stdout] --> src/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from_str("quit"), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `EndOfFile` in module `io` [INFO] [stdout] --> src/lib.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from_str("quit"), [INFO] [stdout] | ^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ascii` in this scope [INFO] [stdout] --> src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn main_loop(bot: &mut T) { [INFO] [stdout] | - help: you might be missing a type parameter: `, Ascii` [INFO] [stdout] ... [INFO] [stdout] 25 | let ascii_input: Vec = match line.as_slice().to_ascii_opt() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | let mut input = io::stdio::stdin(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/lib.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | let mut output = io::stdio::stdout(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let line: String = match input.read_line() { [INFO] [stdout] | ^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let line: String = match input.read_line() { [INFO] [stdout] | ^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(txt) => txt, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `usize` [INFO] [stdout] | help: try using a conversion method: `txt.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:21:82 [INFO] [stdout] | [INFO] [stdout] 21 | Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from_str("quit"), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:25:50 [INFO] [stdout] | [INFO] [stdout] 25 | let ascii_input: Vec = match line.as_slice().to_ascii_opt() { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/lib.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | Some(txt) => Vec::from_slice(txt), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/lib.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | None => vec!('#'.to_ascii()) [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Stdout` in the current scope [INFO] [stdout] --> src/lib.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | match output.write(result.append("\n\n").as_bytes()) { [INFO] [stdout] | ^^^^^ method not found in `Stdout` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | (false, String::from_str("invalid command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_from` found for reference `&str` in the current scope [INFO] [stdout] --> src/api.rs:225:42 [INFO] [stdout] | [INFO] [stdout] 225 | let number = from_str::(text.slice_from(1)); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | Pass => String::from_str("pass"), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | Resign => String::from_str("resign") [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:272:30 [INFO] [stdout] | [INFO] [stdout] 272 | White => String::from_str("white"), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:273:30 [INFO] [stdout] | [INFO] [stdout] 273 | Black => String::from_str("black") [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | self.player.to_string().append(self.move.to_string().as_slice()) [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `r#move` on type `&ColouredMove` [INFO] [stdout] --> src/api.rs:282:45 [INFO] [stdout] | [INFO] [stdout] 282 | self.player.to_string().append(self.move.to_string().as_slice()) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bothandler.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | match bot.gtp_set_free_handicap([api::Vertex::from_coords(2,2).unwrap()]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Vertex]`, found array of 1 element [INFO] [stdout] | help: consider borrowing here: `&[api::Vertex::from_coords(2,2).unwrap()]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Vertex]` [INFO] [stdout] found array `[Vertex; 1]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | let mut list = String::from_str(basic_command_list); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/bothandler.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | list = list.append("\n").append(cmd.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(txt) => txt, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `usize` [INFO] [stdout] | help: try using a conversion method: `txt.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:21:82 [INFO] [stdout] | [INFO] [stdout] 21 | Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from_str("quit"), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:25:50 [INFO] [stdout] | [INFO] [stdout] 25 | let ascii_input: Vec = match line.as_slice().to_ascii_opt() { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/lib.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | Some(txt) => Vec::from_slice(txt), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/lib.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | None => vec!('#'.to_ascii()) [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Stdout` in the current scope [INFO] [stdout] --> src/lib.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | match output.write(result.append("\n\n").as_bytes()) { [INFO] [stdout] | ^^^^^ method not found in `Stdout` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | (false, String::from_str("invalid command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_from` found for reference `&str` in the current scope [INFO] [stdout] --> src/api.rs:225:42 [INFO] [stdout] | [INFO] [stdout] 225 | let number = from_str::(text.slice_from(1)); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | Pass => String::from_str("pass"), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | Resign => String::from_str("resign") [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:272:30 [INFO] [stdout] | [INFO] [stdout] 272 | White => String::from_str("white"), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:273:30 [INFO] [stdout] | [INFO] [stdout] 273 | Black => String::from_str("black") [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | self.player.to_string().append(self.move.to_string().as_slice()) [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `r#move` on type `&ColouredMove` [INFO] [stdout] --> src/api.rs:282:45 [INFO] [stdout] | [INFO] [stdout] 282 | self.player.to_string().append(self.move.to_string().as_slice()) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:291:38 [INFO] [stdout] | [INFO] [stdout] 291 | assert_eq!(vrtx1.to_string().as_slice(), "H7"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bool: Binary` is not satisfied [INFO] [stdout] --> src/bothandler.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | format!("{:b}", match cmd.as_str_ascii() { [INFO] [stdout] | _________________________^ [INFO] [stdout] 131 | | "protocol_version" | "name" | "version" | [INFO] [stdout] 132 | | "known_command" | "list_commands" | "quit" | [INFO] [stdout] 133 | | "boardsize" | "clear_board" | "komi" | [INFO] [stdout] ... | [INFO] [stdout] 145 | | _ => bot.gtp_known_custom_command(cmd.as_str_ascii()) [INFO] [stdout] 146 | | }) [INFO] [stdout] | |_________^ the trait `Binary` is not implemented for `bool` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::fmt::Binary::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:153:63 [INFO] [stdout] | [INFO] [stdout] 153 | Err(api::InvalidBoardSize) => (false, String::from_str("invalid board size")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:293:38 [INFO] [stdout] | [INFO] [stdout] 293 | assert_eq!(vrtx2.to_string().as_slice(), "J13"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:167:37 [INFO] [stdout] | [INFO] [stdout] 167 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/api.rs:295:38 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq!(vrtx3.to_string().as_slice(), "T1"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:176:62 [INFO] [stdout] | [INFO] [stdout] 176 | Err(api::InvalidMove) => (false, String::from_str("invalid move")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bothandler.rs:196:74 [INFO] [stdout] | [INFO] [stdout] 196 | fn cmd_loadsgf(&self, bot: &mut T, args: &[Ascii]) -> (bool, String) { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ expected tuple, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(bool, String)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:206:37 [INFO] [stdout] | [INFO] [stdout] 206 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bothandler.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | match bot.gtp_set_free_handicap([api::Vertex::from_coords(2,2).unwrap()]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Vertex]`, found array of 1 element [INFO] [stdout] | help: consider borrowing here: `&[api::Vertex::from_coords(2,2).unwrap()]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Vertex]` [INFO] [stdout] found array `[Vertex; 1]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | let mut list = String::from_str(basic_command_list); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/bothandler.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | list = list.append("\n").append(cmd.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bool: Binary` is not satisfied [INFO] [stdout] --> src/bothandler.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | format!("{:b}", match cmd.as_str_ascii() { [INFO] [stdout] | _________________________^ [INFO] [stdout] 131 | | "protocol_version" | "name" | "version" | [INFO] [stdout] 132 | | "known_command" | "list_commands" | "quit" | [INFO] [stdout] 133 | | "boardsize" | "clear_board" | "komi" | [INFO] [stdout] ... | [INFO] [stdout] 145 | | _ => bot.gtp_known_custom_command(cmd.as_str_ascii()) [INFO] [stdout] 146 | | }) [INFO] [stdout] | |_________^ the trait `Binary` is not implemented for `bool` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::fmt::Binary::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:220:60 [INFO] [stdout] | [INFO] [stdout] 220 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:223:40 [INFO] [stdout] | [INFO] [stdout] 223 | Some(_) => (false, String::from_str("invalid number of stones")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:153:63 [INFO] [stdout] | [INFO] [stdout] 153 | Err(api::InvalidBoardSize) => (false, String::from_str("invalid board size")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:224:37 [INFO] [stdout] | [INFO] [stdout] 224 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:238:60 [INFO] [stdout] | [INFO] [stdout] 238 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:241:40 [INFO] [stdout] | [INFO] [stdout] 241 | Some(_) => (false, String::from_str("invalid number of stones")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/bothandler.rs:248:49 [INFO] [stdout] | [INFO] [stdout] 248 | let mut it = args.split(|&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:167:37 [INFO] [stdout] | [INFO] [stdout] 167 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:252:47 [INFO] [stdout] | [INFO] [stdout] 252 | _ => { return (false, String::from_str("syntax error")); } [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:176:62 [INFO] [stdout] | [INFO] [stdout] 176 | Err(api::InvalidMove) => (false, String::from_str("invalid move")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:256:36 [INFO] [stdout] | [INFO] [stdout] 256 | return (false, String::from_str("bad vertex list")); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:260:56 [INFO] [stdout] | [INFO] [stdout] 260 | Err(api::BadVertexList) => (false, String::from_str("bad vertex list")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:261:56 [INFO] [stdout] | [INFO] [stdout] 261 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bothandler.rs:196:74 [INFO] [stdout] | [INFO] [stdout] 196 | fn cmd_loadsgf(&self, bot: &mut T, args: &[Ascii]) -> (bool, String) { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ expected tuple, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(bool, String)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:206:37 [INFO] [stdout] | [INFO] [stdout] 206 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:220:60 [INFO] [stdout] | [INFO] [stdout] 220 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:223:40 [INFO] [stdout] | [INFO] [stdout] 223 | Some(_) => (false, String::from_str("invalid number of stones")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:224:37 [INFO] [stdout] | [INFO] [stdout] 224 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:238:60 [INFO] [stdout] | [INFO] [stdout] 238 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:241:40 [INFO] [stdout] | [INFO] [stdout] 241 | Some(_) => (false, String::from_str("invalid number of stones")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:269:53 [INFO] [stdout] | [INFO] [stdout] 269 | Err(api::CannotUndo) => (false, String::from_str("cannot undo")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/bothandler.rs:275:53 [INFO] [stdout] | [INFO] [stdout] 275 | let mut it = args.splitn(3, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:284:38 [INFO] [stdout] | [INFO] [stdout] 284 | _ => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | _ => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:296:41 [INFO] [stdout] | [INFO] [stdout] 296 | output = output.append(vrtx.to_string().as_slice()); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:296:65 [INFO] [stdout] | [INFO] [stdout] 296 | output = output.append(vrtx.to_string().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:302:37 [INFO] [stdout] | [INFO] [stdout] 302 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:309:44 [INFO] [stdout] | [INFO] [stdout] 309 | (0.0, _) => (true, String::from_str("0")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/bothandler.rs:248:49 [INFO] [stdout] | [INFO] [stdout] 248 | let mut it = args.split(|&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:313:54 [INFO] [stdout] | [INFO] [stdout] 313 | Err(api::CannotScore) => (false, String::from_str("cannot score")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:252:47 [INFO] [stdout] | [INFO] [stdout] 252 | _ => { return (false, String::from_str("syntax error")); } [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:256:36 [INFO] [stdout] | [INFO] [stdout] 256 | return (false, String::from_str("bad vertex list")); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:260:56 [INFO] [stdout] | [INFO] [stdout] 260 | Err(api::BadVertexList) => (false, String::from_str("bad vertex list")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:261:56 [INFO] [stdout] | [INFO] [stdout] 261 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:269:53 [INFO] [stdout] | [INFO] [stdout] 269 | Err(api::CannotUndo) => (false, String::from_str("cannot undo")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/bothandler.rs:275:53 [INFO] [stdout] | [INFO] [stdout] 275 | let mut it = args.splitn(3, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:284:38 [INFO] [stdout] | [INFO] [stdout] 284 | _ => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | _ => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:296:41 [INFO] [stdout] | [INFO] [stdout] 296 | output = output.append(vrtx.to_string().as_slice()); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:329:50 [INFO] [stdout] | [INFO] [stdout] 329 | "protocol_version" => (true, String::from_str("2")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:296:65 [INFO] [stdout] | [INFO] [stdout] 296 | output = output.append(vrtx.to_string().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:302:37 [INFO] [stdout] | [INFO] [stdout] 302 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:309:44 [INFO] [stdout] | [INFO] [stdout] 309 | (0.0, _) => (true, String::from_str("0")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:345:42 [INFO] [stdout] | [INFO] [stdout] 345 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:313:54 [INFO] [stdout] | [INFO] [stdout] 313 | Err(api::CannotScore) => (false, String::from_str("cannot score")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:349:42 [INFO] [stdout] | [INFO] [stdout] 349 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:353:42 [INFO] [stdout] | [INFO] [stdout] 353 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:329:50 [INFO] [stdout] | [INFO] [stdout] 329 | "protocol_version" => (true, String::from_str("2")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:357:42 [INFO] [stdout] | [INFO] [stdout] 357 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:361:42 [INFO] [stdout] | [INFO] [stdout] 361 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:365:42 [INFO] [stdout] | [INFO] [stdout] 365 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:345:42 [INFO] [stdout] | [INFO] [stdout] 345 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:369:42 [INFO] [stdout] | [INFO] [stdout] 369 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:349:42 [INFO] [stdout] | [INFO] [stdout] 349 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:373:42 [INFO] [stdout] | [INFO] [stdout] 373 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:353:42 [INFO] [stdout] | [INFO] [stdout] 353 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:377:42 [INFO] [stdout] | [INFO] [stdout] 377 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:357:42 [INFO] [stdout] | [INFO] [stdout] 357 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:381:42 [INFO] [stdout] | [INFO] [stdout] 381 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:361:42 [INFO] [stdout] | [INFO] [stdout] 361 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:365:42 [INFO] [stdout] | [INFO] [stdout] 365 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:369:42 [INFO] [stdout] | [INFO] [stdout] 369 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:373:42 [INFO] [stdout] | [INFO] [stdout] 373 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:377:42 [INFO] [stdout] | [INFO] [stdout] 377 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/bothandler.rs:381:42 [INFO] [stdout] | [INFO] [stdout] 381 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | let mut last_char: Ascii = '\n'.to_ascii(); // set initial lastchar as LF [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | if c == '\n'.to_ascii() { // newline [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | if last_char == '\n'.to_ascii() { [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | last_char = '\n'.to_ascii(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | let mut last_char: Ascii = '\n'.to_ascii(); // set initial lastchar as LF [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | output.push('\n'.to_ascii()); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | if c == '#'.to_ascii() { [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | if c == '\n'.to_ascii() { // newline [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | last_char = ' '.to_ascii(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | if last_char == '\n'.to_ascii() { [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | last_char = '\n'.to_ascii(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | output.push('\n'.to_ascii()); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | output.push(' '.to_ascii()); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | if c == '#'.to_ascii() { [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | last_char = ' '.to_ascii(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:66:62 [INFO] [stdout] | [INFO] [stdout] 66 | let mut first_split = line.splitn(1, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | output.push(' '.to_ascii()); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:66:62 [INFO] [stdout] | [INFO] [stdout] 66 | let mut first_split = line.splitn(1, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | _ => "".to_ascii() [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:78:67 [INFO] [stdout] | [INFO] [stdout] 78 | let mut second_split = to_split.splitn(1, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | command: Vec::from_slice(text), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | Some(arguments) => Vec::from_slice(arguments), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | _ => "".to_ascii() [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:78:67 [INFO] [stdout] | [INFO] [stdout] 78 | let mut second_split = to_split.splitn(1, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | match strip_input(input).as_slice().splitn(1, |&c| {c == '\n'.to_ascii()}).next() { [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | command: Vec::from_slice(text), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | Some(arguments) => Vec::from_slice(arguments), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | let mut args_iter = input.split(|&c| {c == ' '.to_ascii() }); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | match strip_input(input).as_slice().splitn(1, |&c| {c == '\n'.to_ascii()}).next() { [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> src/parsing.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | let mut args_iter = input.split(|&c| {c == ' '.to_ascii() }); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:203:125 [INFO] [stdout] | [INFO] [stdout] 203 | let input = "command1 \t and \x15 argu\x07ments\n# this is a comment\n command2 !op # comment\n\n\nfoo bar\n\n".to_ascii(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:204:82 [INFO] [stdout] | [INFO] [stdout] 204 | let expected_output = "command1 and arguments\ncommand2 !op \nfoo bar\n".to_ascii(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:211:58 [INFO] [stdout] | [INFO] [stdout] 211 | assert_eq!(super::parse_command_from_stripped("".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | assert_eq!(super::parse_command_from_stripped("".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `GTPCommand` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | assert_eq!(super::parse_command_from_stripped("".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GTPCommand` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `GTPCommand` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:212:60 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(super::parse_command_from_stripped("56".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(super::parse_command_from_stripped("56".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `GTPCommand` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(super::parse_command_from_stripped("56".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GTPCommand` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `GTPCommand` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:213:61 [INFO] [stdout] | [INFO] [stdout] 213 | assert_eq!(super::parse_command_from_stripped("foo".to_ascii()), Some( [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:216:48 [INFO] [stdout] | [INFO] [stdout] 216 | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | assert_eq!(super::parse_command_from_stripped("foo".to_ascii()), Some( [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | | [INFO] [stdout] 214 | | super::GTPCommand{ [INFO] [stdout] 215 | | id: None, [INFO] [stdout] 216 | | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] 217 | | args: Vec::new() [INFO] [stdout] 218 | | })); [INFO] [stdout] | | ^ [INFO] [stdout] | |________________| [INFO] [stdout] | |________________Option [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `GTPCommand` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | / assert_eq!(super::parse_command_from_stripped("foo".to_ascii()), Some( [INFO] [stdout] 214 | | super::GTPCommand{ [INFO] [stdout] 215 | | id: None, [INFO] [stdout] 216 | | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] 217 | | args: Vec::new() [INFO] [stdout] 218 | | })); [INFO] [stdout] | |________________^ `GTPCommand` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `GTPCommand` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:219:69 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(super::parse_command_from_stripped("foo bar baz".to_ascii()), Some( [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | args: Vec::from_slice("bar baz".to_ascii()) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:223:49 [INFO] [stdout] | [INFO] [stdout] 223 | args: Vec::from_slice("bar baz".to_ascii()) [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(super::parse_command_from_stripped("foo bar baz".to_ascii()), Some( [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | | [INFO] [stdout] 220 | | super::GTPCommand{ [INFO] [stdout] 221 | | id: None, [INFO] [stdout] 222 | | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] 223 | | args: Vec::from_slice("bar baz".to_ascii()) [INFO] [stdout] 224 | | })); [INFO] [stdout] | | ^ [INFO] [stdout] | |________________| [INFO] [stdout] | |________________Option [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `GTPCommand` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | / assert_eq!(super::parse_command_from_stripped("foo bar baz".to_ascii()), Some( [INFO] [stdout] 220 | | super::GTPCommand{ [INFO] [stdout] 221 | | id: None, [INFO] [stdout] 222 | | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] 223 | | args: Vec::from_slice("bar baz".to_ascii()) [INFO] [stdout] 224 | | })); [INFO] [stdout] | |________________^ `GTPCommand` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `GTPCommand` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:225:64 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(super::parse_command_from_stripped("42 foo".to_ascii()), Some( [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | args: Vec::from_slice("".to_ascii()) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:229:42 [INFO] [stdout] | [INFO] [stdout] 229 | args: Vec::from_slice("".to_ascii()) [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(super::parse_command_from_stripped("42 foo".to_ascii()), Some( [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | | [INFO] [stdout] 226 | | super::GTPCommand{ [INFO] [stdout] 227 | | id: Some(42u32), [INFO] [stdout] 228 | | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] 229 | | args: Vec::from_slice("".to_ascii()) [INFO] [stdout] 230 | | })); [INFO] [stdout] | | ^ [INFO] [stdout] | |________________| [INFO] [stdout] | |________________Option [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `GTPCommand` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | / assert_eq!(super::parse_command_from_stripped("42 foo".to_ascii()), Some( [INFO] [stdout] 226 | | super::GTPCommand{ [INFO] [stdout] 227 | | id: Some(42u32), [INFO] [stdout] 228 | | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] 229 | | args: Vec::from_slice("".to_ascii()) [INFO] [stdout] 230 | | })); [INFO] [stdout] | |________________^ `GTPCommand` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `GTPCommand` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:231:72 [INFO] [stdout] | [INFO] [stdout] 231 | assert_eq!(super::parse_command_from_stripped("42 foo bar baz".to_ascii()), Some( [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:234:48 [INFO] [stdout] | [INFO] [stdout] 234 | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | args: Vec::from_slice("bar baz".to_ascii()) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:235:49 [INFO] [stdout] | [INFO] [stdout] 235 | args: Vec::from_slice("bar baz".to_ascii()) [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | assert_eq!(super::parse_command_from_stripped("42 foo bar baz".to_ascii()), Some( [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | | [INFO] [stdout] 232 | | super::GTPCommand{ [INFO] [stdout] 233 | | id: Some(42u32), [INFO] [stdout] 234 | | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] 235 | | args: Vec::from_slice("bar baz".to_ascii()) [INFO] [stdout] 236 | | })); [INFO] [stdout] | | ^ [INFO] [stdout] | |________________| [INFO] [stdout] | |________________Option [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `GTPCommand` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / assert_eq!(super::parse_command_from_stripped("42 foo bar baz".to_ascii()), Some( [INFO] [stdout] 232 | | super::GTPCommand{ [INFO] [stdout] 233 | | id: Some(42u32), [INFO] [stdout] 234 | | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] 235 | | args: Vec::from_slice("bar baz".to_ascii()) [INFO] [stdout] 236 | | })); [INFO] [stdout] | |________________^ `GTPCommand` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `GTPCommand` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:242:83 [INFO] [stdout] | [INFO] [stdout] 242 | super::parse_command(" # this is a comment\n\t \n # this as well".to_ascii()), [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | / assert_eq!( [INFO] [stdout] 242 | | super::parse_command(" # this is a comment\n\t \n # this as well".to_ascii()), [INFO] [stdout] 243 | | None [INFO] [stdout] 244 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `GTPCommand` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | / assert_eq!( [INFO] [stdout] 242 | | super::parse_command(" # this is a comment\n\t \n # this as well".to_ascii()), [INFO] [stdout] 243 | | None [INFO] [stdout] 244 | | ); [INFO] [stdout] | |__________^ `GTPCommand` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `GTPCommand` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:246:106 [INFO] [stdout] | [INFO] [stdout] 246 | super::parse_command("#this command is really cool\n42 foo Cake is a lie # cool isn't it ?".to_ascii()), [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:249:31 [INFO] [stdout] | [INFO] [stdout] 249 | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:249:48 [INFO] [stdout] | [INFO] [stdout] 249 | command: Vec::from_slice("foo".to_ascii()), [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/parsing.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | args: Vec::from_slice("Cake is a lie ".to_ascii()) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:250:56 [INFO] [stdout] | [INFO] [stdout] 250 | args: Vec::from_slice("Cake is a lie ".to_ascii()) [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!( [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | | [INFO] [stdout] 246 | | super::parse_command("#this command is really cool\n42 foo Cake is a lie # cool isn't it ?".to_ascii()), [INFO] [stdout] 247 | | Some(super::GTPCommand{ [INFO] [stdout] 248 | | id: Some(42u32), [INFO] [stdout] ... | [INFO] [stdout] 251 | | }) [INFO] [stdout] 252 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | |__________| [INFO] [stdout] | |__________Option [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `GTPCommand` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | / assert_eq!( [INFO] [stdout] 246 | | super::parse_command("#this command is really cool\n42 foo Cake is a lie # cool isn't it ?".to_ascii()), [INFO] [stdout] 247 | | Some(super::GTPCommand{ [INFO] [stdout] 248 | | id: Some(42u32), [INFO] [stdout] ... | [INFO] [stdout] 251 | | }) [INFO] [stdout] 252 | | ); [INFO] [stdout] | |__________^ `GTPCommand` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `GTPCommand` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:257:52 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(super::arg_parse_colour("BlAcK".to_ascii()), Some(api::Black)); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(super::arg_parse_colour("BlAcK".to_ascii()), Some(api::Black)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Colour` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(super::arg_parse_colour("BlAcK".to_ascii()), Some(api::Black)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Colour` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Colour` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(super::arg_parse_colour("b".to_ascii()), Some(api::Black)); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(super::arg_parse_colour("b".to_ascii()), Some(api::Black)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Colour` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(super::arg_parse_colour("b".to_ascii()), Some(api::Black)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Colour` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Colour` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:259:52 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(super::arg_parse_colour("WHIte".to_ascii()), Some(api::White)); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(super::arg_parse_colour("WHIte".to_ascii()), Some(api::White)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Colour` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(super::arg_parse_colour("WHIte".to_ascii()), Some(api::White)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Colour` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Colour` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:260:48 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(super::arg_parse_colour("W".to_ascii()), Some(api::White)); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(super::arg_parse_colour("W".to_ascii()), Some(api::White)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Colour` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(super::arg_parse_colour("W".to_ascii()), Some(api::White)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Colour` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Colour` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:261:50 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(super::arg_parse_colour("FOO".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(super::arg_parse_colour("FOO".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Colour` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(super::arg_parse_colour("FOO".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Colour` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Colour` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/boarddrawer.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let mut board = [[0u8, ..25], ..25]; [INFO] [stdout] | ^^^^ expected `u8`, found struct `RangeTo` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:262:50 [INFO] [stdout] | [INFO] [stdout] 262 | assert_eq!(super::arg_parse_colour("bar".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | assert_eq!(super::arg_parse_colour("bar".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Colour` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | assert_eq!(super::arg_parse_colour("bar".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Colour` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Colour` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:267:51 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(super::arg_parse_move("ReSiGn".to_ascii()), Some(api::Resign)); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(super::arg_parse_move("ReSiGn".to_ascii()), Some(api::Resign)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Move` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(super::arg_parse_move("ReSiGn".to_ascii()), Some(api::Resign)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Move` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Move` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:268:49 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(super::arg_parse_move("PasS".to_ascii()), Some(api::Pass)); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(super::arg_parse_move("PasS".to_ascii()), Some(api::Pass)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Move` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(super::arg_parse_move("PasS".to_ascii()), Some(api::Pass)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Move` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Move` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:269:48 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(super::arg_parse_move("A12".to_ascii()), Some(api::Stone(api::Vertex::from_coords(1,12).unwrap()))); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(super::arg_parse_move("A12".to_ascii()), Some(api::Stone(api::Vertex::from_coords(1,12).unwrap()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | output = output.append(format!("{:2u}", boardsize-n).as_slice()); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Move` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(super::arg_parse_move("A12".to_ascii()), Some(api::Stone(api::Vertex::from_coords(1,12).unwrap()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Move` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Move` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | output = output.append(match board[boardsize-n-1][l] { [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:270:47 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(super::arg_parse_move("T7".to_ascii()), Some(api::Stone(api::Vertex::from_coords(19,7).unwrap()))); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(super::arg_parse_move("T7".to_ascii()), Some(api::Stone(api::Vertex::from_coords(19,7).unwrap()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Move` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(super::arg_parse_move("T7".to_ascii()), Some(api::Stone(api::Vertex::from_coords(19,7).unwrap()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Move` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Move` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:271:48 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(super::arg_parse_move("F26".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(super::arg_parse_move("F26".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | output = output.append("\n"); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Move` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(super::arg_parse_move("F26".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Move` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Move` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:272:48 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(super::arg_parse_move("I13".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | output = output.append("\n "); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(super::arg_parse_move("I13".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Move` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(super::arg_parse_move("I13".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Move` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Move` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:273:48 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(super::arg_parse_move("foo".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `grow` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | output.grow(1, ' '); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/parsing.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(super::arg_parse_move("foo".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Move` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(super::arg_parse_move("foo".to_ascii()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Move` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Move` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/parsing.rs:279:53 [INFO] [stdout] | [INFO] [stdout] 279 | let arg_string = "W G7 alive black pass E5".to_ascii(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `is_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec` [INFO] [stdout] --> src/parsing.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq!(parsed_args.unwrap(), expected_args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Vec [INFO] [stdout] | Vec<_, _> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `parsing::Argument` doesn't implement `Debug` [INFO] [stdout] --> src/parsing.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq!(parsed_args.unwrap(), expected_args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `parsing::Argument` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `parsing::Argument` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Vec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `grow` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | output.grow(1, if l < 8 { [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 206 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0412, E0422, E0425, E0432, E0531, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/boarddrawer.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let mut board = [[0u8, ..25], ..25]; [INFO] [stdout] | ^^^^ expected `u8`, found struct `RangeTo` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | output = output.append(format!("{:2u}", boardsize-n).as_slice()); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | output = output.append(match board[boardsize-n-1][l] { [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | output = output.append("\n"); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | output = output.append("\n "); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `grow` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | output.grow(1, ' '); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `grow` found for struct `String` in the current scope [INFO] [stdout] --> src/boarddrawer.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | output.grow(1, if l < 8 { [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 321 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0369, E0412, E0422, E0425, E0432, E0531... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `GTP-Rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d46b0bb4425cd9e4481b3d0bd35962d28b1558c5e857367e110fe8eec883694b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46b0bb4425cd9e4481b3d0bd35962d28b1558c5e857367e110fe8eec883694b", kill_on_drop: false }` [INFO] [stdout] d46b0bb4425cd9e4481b3d0bd35962d28b1558c5e857367e110fe8eec883694b