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