[INFO] cloning repository https://github.com/vberger/clockgo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vberger/clockgo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvberger%2Fclockgo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvberger%2Fclockgo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ecd371417c9cfb52789bb0557a7238af25a3cf1 [INFO] checking vberger/clockgo against try#7d2afcda7a9c043d5175cbca3ab08f0acf02b13a for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvberger%2Fclockgo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vberger/clockgo on toolchain 7d2afcda7a9c043d5175cbca3ab08f0acf02b13a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vberger/clockgo [INFO] finished tweaking git repo https://github.com/vberger/clockgo [INFO] tweaked toml for git repo https://github.com/vberger/clockgo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vberger/clockgo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/vberger/gtp-rust.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce103dfa0a21d2628fd0bd0bd712aac05505934c530e25c9070a0642f4806b9a [INFO] running `Command { std: "docker" "start" "-a" "ce103dfa0a21d2628fd0bd0bd712aac05505934c530e25c9070a0642f4806b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce103dfa0a21d2628fd0bd0bd712aac05505934c530e25c9070a0642f4806b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce103dfa0a21d2628fd0bd0bd712aac05505934c530e25c9070a0642f4806b9a", kill_on_drop: false }` [INFO] [stdout] ce103dfa0a21d2628fd0bd0bd712aac05505934c530e25c9070a0642f4806b9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa354b28f405b49447cb3791f4a050998055efcf9ba59c3e9ab3659c233e83c6 [INFO] running `Command { std: "docker" "start" "-a" "fa354b28f405b49447cb3791f4a050998055efcf9ba59c3e9ab3659c233e83c6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking GTP-Rust v0.1.0 (https://github.com/vberger/gtp-rust.git#c7fef1f0) [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ColouredMove { [INFO] [stdout] | ------------ while parsing this struct [INFO] [stdout] 47 | pub player: Colour, [INFO] [stdout] 48 | pub move: Move [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `move` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 48 | pub r#move: Move [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn gtp_play(&mut self, move: ColouredMove) -> Result<(), GTPError>; [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `move` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 91 | fn gtp_play(&mut self, r#move: ColouredMove) -> Result<(), GTPError>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:282:45 [INFO] [stdout] | [INFO] [stdout] 282 | self.player.to_string().append(self.move.to_string().as_slice()) [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:186:98 [INFO] [stdout] | [INFO] [stdout] 186 | (Some(col), Some(mv)) => Some(ArgColouredMove(api::ColouredMove{player: col, move: mv})), [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `move` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 186 | (Some(col), Some(mv)) => Some(ArgColouredMove(api::ColouredMove{player: col, r#move: mv})), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `c` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | format!("{:c}{:u}", letter as char, self.y) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | format!("{:c}{:u}", letter as char, self.y) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:401:41 [INFO] [stdout] | [INFO] [stdout] 401 | (false, format!("={:s} bye", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:402:57 [INFO] [stdout] | [INFO] [stdout] 402 | match id {Some(i) => format!("{:u}", i), _ => String::new()})) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `c` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:405:39 [INFO] [stdout] | [INFO] [stdout] 405 | (true, format!("{:c}{:s} {:s}", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:405:43 [INFO] [stdout] | [INFO] [stdout] 405 | (true, format!("{:c}{:s} {:s}", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:405:48 [INFO] [stdout] | [INFO] [stdout] 405 | (true, format!("{:c}{:s} {:s}", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:407:57 [INFO] [stdout] | [INFO] [stdout] 407 | match id {Some(i) => format!("{:u}", i), _ => String::new()}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | let mut output: String = format!("Captured stones : {:u} by white and {:u} by black.\n", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:9:77 [INFO] [stdout] | [INFO] [stdout] 9 | let mut output: String = format!("Captured stones : {:u} by white and {:u} by black.\n", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | output = output.append(format!("{:2u}", boardsize-n).as_slice()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ascii::Ascii` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::Ascii; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Ascii` in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ascii::Ascii` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::Ascii; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Ascii` in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | _ => fail!("Unexpected error in gtp_play.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | _ => fail!("Unexpected error in gtp_reg_genmove.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | _ => fail!("Unexpected error in gtp_boardsize.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:270:18 [INFO] [stdout] | [INFO] [stdout] 270 | _ => fail!("Unexpected error in gtp_undo.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:282:31 [INFO] [stdout] | [INFO] [stdout] 282 | Err(_) => fail!("Unexpected error in gtp_time_settings.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | _ => fail!("Unexpected error in gtp_final_status_list.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | _ => fail!("Unexpected error in gtp_final_score.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | _ => fail!("Unexpected error in gtp_showboard.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | Err(_) => fail!("IO error.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | Err(_) => fail!("IO error."), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[deriving(PartialEq,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | fail!("Not Implemented."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[deriving(PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | #[deriving(PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[deriving(PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | fail!("Invalid board size for drawing."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | fn gtp_boardsize(&mut self, size: uint) -> Result<(), GTPError>; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 125 | fn gtp_fixed_handicap(&mut self, number: uint) -> Result, GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | fn gtp_place_free_handicap(&mut self, number: uint) -> Result, GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | fn gtp_time_settings(&mut self, main_time: uint, byoyomi_time: uint, byoyomi_stones: uint) -> Result<(), GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:152:68 [INFO] [stdout] | [INFO] [stdout] 152 | fn gtp_time_settings(&mut self, main_time: uint, byoyomi_time: uint, byoyomi_stones: uint) -> Result<(), GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:152:90 [INFO] [stdout] | [INFO] [stdout] 152 | fn gtp_time_settings(&mut self, main_time: uint, byoyomi_time: uint, byoyomi_stones: uint) -> Result<(), GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:176:40 [INFO] [stdout] | [INFO] [stdout] 176 | fn gtp_showboard(&self) -> Result<(uint, Vec, Vec, uint, uint), GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 64 | pub trait GoBot { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:176:72 [INFO] [stdout] | [INFO] [stdout] 176 | fn gtp_showboard(&self) -> Result<(uint, Vec, Vec, uint, uint), GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 64 | pub trait GoBot { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:176:78 [INFO] [stdout] | [INFO] [stdout] 176 | fn gtp_showboard(&self) -> Result<(uint, Vec, Vec, uint, uint), GTPError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 64 | pub trait GoBot { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NotImplemented` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | Err(NotImplemented) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Stone` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | Stone(vrtx) => vrtx.to_string(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use api::Move::Stone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | match bot.gtp_genmove_regression(api::Black) { [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] help: if you import `Black`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 51 - match bot.gtp_genmove_regression(api::Black) { [INFO] [stdout] 51 + match bot.gtp_genmove_regression(Black) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | Err(api::NotImplemented) => self.genmove_regression = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] help: if you import `NotImplemented`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - Err(api::NotImplemented) => self.genmove_regression = false, [INFO] [stdout] 52 + Err(NotImplemented) => self.genmove_regression = false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | Err(api::NotImplemented) => self.undo = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] help: if you import `NotImplemented`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - Err(api::NotImplemented) => self.undo = false, [INFO] [stdout] 56 + Err(NotImplemented) => self.undo = false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | Err(api::NotImplemented) => self.fixed_handicap = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] help: if you import `NotImplemented`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - Err(api::NotImplemented) => self.fixed_handicap = false, [INFO] [stdout] 60 + Err(NotImplemented) => self.fixed_handicap = false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | Err(api::NotImplemented) => self.place_free_handicap = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] help: if you import `NotImplemented`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 64 - Err(api::NotImplemented) => self.place_free_handicap = false, [INFO] [stdout] 64 + Err(NotImplemented) => self.place_free_handicap = false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | Err(api::NotImplemented) => self.set_free_handicap = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] help: if you import `NotImplemented`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 68 - Err(api::NotImplemented) => self.set_free_handicap = false, [INFO] [stdout] 68 + Err(NotImplemented) => self.set_free_handicap = false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | Err(api::NotImplemented) => self.time_settings = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] help: if you import `NotImplemented`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - Err(api::NotImplemented) => self.time_settings = false, [INFO] [stdout] 72 + Err(NotImplemented) => self.time_settings = false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alive` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:75:46 [INFO] [stdout] | [INFO] [stdout] 75 | match bot.gtp_final_status_list(api::Alive) { [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::StoneStatus::Alive; [INFO] [stdout] | [INFO] [stdout] help: if you import `Alive`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - match bot.gtp_final_status_list(api::Alive) { [INFO] [stdout] 75 + match bot.gtp_final_status_list(Alive) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | Err(api::NotImplemented) => self.final_status_list = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] help: if you import `NotImplemented`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - Err(api::NotImplemented) => self.final_status_list = false, [INFO] [stdout] 76 + Err(NotImplemented) => self.final_status_list = false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | Err(api::NotImplemented) => self.final_score = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] help: if you import `NotImplemented`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - Err(api::NotImplemented) => self.final_score = false, [INFO] [stdout] 80 + Err(NotImplemented) => self.final_score = false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NotImplemented` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | Err(api::NotImplemented) => self.showboard = false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::NotImplemented; [INFO] [stdout] | [INFO] [stdout] help: if you import `NotImplemented`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 84 - Err(api::NotImplemented) => self.showboard = false, [INFO] [stdout] 84 + Err(NotImplemented) => self.showboard = false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:150:26 [INFO] [stdout] | [INFO] [stdout] 150 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `InvalidBoardSize` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | Err(api::InvalidBoardSize) => (false, String::from_str("invalid board size")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::InvalidBoardSize; [INFO] [stdout] | [INFO] [stdout] help: if you import `InvalidBoardSize`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 153 - Err(api::InvalidBoardSize) => (false, String::from_str("invalid board size")), [INFO] [stdout] 153 + Err(InvalidBoardSize) => (false, String::from_str("invalid board size")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ColouredMoveArg` in module `parsing` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:172:51 [INFO] [stdout] | [INFO] [stdout] 172 | match parsing::parse_args(args, [parsing::ColouredMoveArg]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `parsing` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use parsing::ArgType::ColouredMoveArg; [INFO] [stdout] | [INFO] [stdout] help: if you import `ColouredMoveArg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 172 - match parsing::parse_args(args, [parsing::ColouredMoveArg]) { [INFO] [stdout] 172 + match parsing::parse_args(args, [ColouredMoveArg]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ArgColouredMove` in module `parsing` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | parsing::ArgColouredMove(mv) => match bot.gtp_play(mv) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `parsing` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use parsing::Argument::ArgColouredMove; [INFO] [stdout] | [INFO] [stdout] help: if you import `ArgColouredMove`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 174 - parsing::ArgColouredMove(mv) => match bot.gtp_play(mv) { [INFO] [stdout] 174 + ArgColouredMove(mv) => match bot.gtp_play(mv) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `InvalidMove` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | Err(api::InvalidMove) => (false, String::from_str("invalid move")), [INFO] [stdout] | ^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::InvalidMove; [INFO] [stdout] | [INFO] [stdout] help: if you import `InvalidMove`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 176 - Err(api::InvalidMove) => (false, String::from_str("invalid move")), [INFO] [stdout] 176 + Err(InvalidMove) => (false, String::from_str("invalid move")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:211:26 [INFO] [stdout] | [INFO] [stdout] 211 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BoardNotEmpty` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::BoardNotEmpty; [INFO] [stdout] | [INFO] [stdout] help: if you import `BoardNotEmpty`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 220 - Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] 220 + Err(BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BoardNotEmpty` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::BoardNotEmpty; [INFO] [stdout] | [INFO] [stdout] help: if you import `BoardNotEmpty`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 238 - Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] 238 + Err(BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BadVertexList` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | Err(api::BadVertexList) => (false, String::from_str("bad vertex list")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::BadVertexList; [INFO] [stdout] | [INFO] [stdout] help: if you import `BadVertexList`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 260 - Err(api::BadVertexList) => (false, String::from_str("bad vertex list")), [INFO] [stdout] 260 + Err(BadVertexList) => (false, String::from_str("bad vertex list")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BoardNotEmpty` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::BoardNotEmpty; [INFO] [stdout] | [INFO] [stdout] help: if you import `BoardNotEmpty`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 261 - Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] 261 + Err(BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `CannotUndo` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | Err(api::CannotUndo) => (false, String::from_str("cannot undo")), [INFO] [stdout] | ^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::CannotUndo; [INFO] [stdout] | [INFO] [stdout] help: if you import `CannotUndo`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 269 - Err(api::CannotUndo) => (false, String::from_str("cannot undo")), [INFO] [stdout] 269 + Err(CannotUndo) => (false, String::from_str("cannot undo")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:277:62 [INFO] [stdout] | [INFO] [stdout] 277 | (Some(a), Some(b), Some(c)) => match (from_str::(a.as_str_ascii()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:278:62 [INFO] [stdout] | [INFO] [stdout] 278 | ... from_str::(b.as_str_ascii()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:279:62 [INFO] [stdout] | [INFO] [stdout] 279 | ... from_str::(c.as_str_ascii())) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 35 | impl BotHandler { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `White` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | (x, api::White) => (true, format!("w+{}", x)), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::Colour::White; [INFO] [stdout] | [INFO] [stdout] help: if you import `White`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 310 - (x, api::White) => (true, format!("w+{}", x)), [INFO] [stdout] 310 + (x, White) => (true, format!("w+{}", x)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `Black` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | (x, api::Black) => (true, format!("b+{}", x)) [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] help: if you import `Black`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 311 - (x, api::Black) => (true, format!("b+{}", x)) [INFO] [stdout] 311 + (x, Black) => (true, format!("b+{}", x)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `CannotScore` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:313:22 [INFO] [stdout] | [INFO] [stdout] 313 | Err(api::CannotScore) => (false, String::from_str("cannot score")), [INFO] [stdout] | ^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::GTPError::CannotScore; [INFO] [stdout] | [INFO] [stdout] help: if you import `CannotScore`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 313 - Err(api::CannotScore) => (false, String::from_str("cannot score")), [INFO] [stdout] 313 + Err(CannotScore) => (false, String::from_str("cannot score")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | "w" | "white" => Some(api::White), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::Colour::White; [INFO] [stdout] | [INFO] [stdout] help: if you import `White`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 123 - "w" | "white" => Some(api::White), [INFO] [stdout] 123 + "w" | "white" => Some(White), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | "b" | "black" => Some(api::Black), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::Colour::Black; [INFO] [stdout] | [INFO] [stdout] help: if you import `Black`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 124 - "b" | "black" => Some(api::Black), [INFO] [stdout] 124 + "b" | "black" => Some(Black), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pass` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | "pass" => Some(api::Pass), [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::Move::Pass; [INFO] [stdout] | [INFO] [stdout] help: if you import `Pass`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 135 - "pass" => Some(api::Pass), [INFO] [stdout] 135 + "pass" => Some(Pass), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Resign` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | "resign" => Some(api::Resign), [INFO] [stdout] | ^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::Move::Resign; [INFO] [stdout] | [INFO] [stdout] help: if you import `Resign`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 136 - "resign" => Some(api::Resign), [INFO] [stdout] 136 + "resign" => Some(Resign), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Stone` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | Some(v) => Some(api::Stone(v)), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::Move::Stone; [INFO] [stdout] | [INFO] [stdout] help: if you import `Stone`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 138 - Some(v) => Some(api::Stone(v)), [INFO] [stdout] 138 + Some(v) => Some(Stone(v)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alive` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | "alive" => Some(api::Alive), [INFO] [stdout] | ^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::StoneStatus::Alive; [INFO] [stdout] | [INFO] [stdout] help: if you import `Alive`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 146 - "alive" => Some(api::Alive), [INFO] [stdout] 146 + "alive" => Some(Alive), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Dead` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | "dead" => Some(api::Dead), [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::StoneStatus::Dead; [INFO] [stdout] | [INFO] [stdout] help: if you import `Dead`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 147 - "dead" => Some(api::Dead), [INFO] [stdout] 147 + "dead" => Some(Dead), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Seki` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | "seki" => Some(api::Seki), [INFO] [stdout] | ^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use api::StoneStatus::Seki; [INFO] [stdout] | [INFO] [stdout] help: if you import `Seki`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 148 - "seki" => Some(api::Seki), [INFO] [stdout] 148 + "seki" => Some(Seki), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgColour` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | Some(col) => Some(ArgColour(col)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use parsing::Argument::ArgColour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgVertex` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | Some(vrtx) => Some(ArgVertex(vrtx)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use parsing::Argument::ArgVertex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgMove` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | Some(mv) => Some(ArgMove(mv)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use parsing::Argument::ArgMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgStoneStatus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | Some(st) => Some(ArgStoneStatus(st)), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use parsing::Argument::ArgStoneStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ArgColouredMove` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:186:51 [INFO] [stdout] | [INFO] [stdout] 186 | (Some(col), Some(mv)) => Some(ArgColouredMove(api::ColouredMove{player: col, move: mv})), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use parsing::Argument::ArgColouredMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn draw_board(boardsize: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | black_cp: uint, white_cp: uint) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | black_cp: uint, white_cp: uint) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | board[(n-1) as uint][(l-1) as uint] = 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | board[(n-1) as uint][(l-1) as uint] = 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | board[(n-1) as uint][(l-1) as uint] = 2; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | board[(n-1) as uint][(l-1) as uint] = 2; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | for n in range(0, boardsize){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | for l in range(0, boardsize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for l in range(0, boardsize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IoError` in module `io` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from_str("quit"), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/std/src/io/error.rs:65:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `EndOfFile` in module `io` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from_str("quit"), [INFO] [stdout] | ^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ascii` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let ascii_input: Vec = match line.as_slice().to_ascii_opt() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | pub fn main_loop(bot: &mut T) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | let mut input = io::stdio::stdin(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/std/src/io/mod.rs:344:1 [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 16 - let mut input = io::stdio::stdin(); [INFO] [stdout] 16 + let mut input = io::stdin(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | let mut output = io::stdio::stdout(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/std/src/io/mod.rs:344:1 [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 17 - let mut output = io::stdio::stdout(); [INFO] [stdout] 17 + let mut output = io::stdout(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | (false, String::from_str("invalid command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 183 - (false, String::from_str("invalid command")) [INFO] [stdout] 183 + (false, String::from("invalid command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_from` found for reference `&str` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:225:42 [INFO] [stdout] | [INFO] [stdout] 225 | let number = from_str::(text.slice_from(1)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clone_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 225 - let number = from_str::(text.slice_from(1)); [INFO] [stdout] 225 + let number = from_str::(text.clone_from(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let number = from_str::(text.slice_from(1)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the associated function on `Self` [INFO] [stdout] | [INFO] [stdout] 225 | let number = Self::from_str::(text.slice_from(1)); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | Pass => String::from_str("pass"), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 261 - Pass => String::from_str("pass"), [INFO] [stdout] 261 + Pass => String::from("pass"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | Resign => String::from_str("resign") [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 262 - Resign => String::from_str("resign") [INFO] [stdout] 262 + Resign => String::from("resign") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:272:30 [INFO] [stdout] | [INFO] [stdout] 272 | White => String::from_str("white"), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 272 - White => String::from_str("white"), [INFO] [stdout] 272 + White => String::from("white"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:273:30 [INFO] [stdout] | [INFO] [stdout] 273 | Black => String::from_str("black") [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 273 - Black => String::from_str("black") [INFO] [stdout] 273 + Black => String::from("black") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | match bot.gtp_set_free_handicap([api::Vertex::from_coords(2,2).unwrap()]) { [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[Vertex]`, found `[Vertex; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Vertex]` [INFO] [stdout] found array `[Vertex; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn gtp_set_free_handicap(&mut self, stones: &[Vertex]) -> Result<(), GTPError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ----------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 67 | match bot.gtp_set_free_handicap(&[api::Vertex::from_coords(2,2).unwrap()]) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | let mut list = String::from_str(basic_command_list); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 94 - let mut list = String::from_str(basic_command_list); [INFO] [stdout] 94 + let mut list = String::from(basic_command_list); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | list = list.append("\n").append(cmd.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bool: Binary` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | format!("{:b}", match cmd.as_str_ascii() { [INFO] [stdout] | __________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 131 | | "protocol_version" | "name" | "version" | [INFO] [stdout] 132 | | "known_command" | "list_commands" | "quit" | [INFO] [stdout] 133 | | "boardsize" | "clear_board" | "komi" | [INFO] [stdout] ... | [INFO] [stdout] 145 | | _ => bot.gtp_known_custom_command(cmd.as_str_ascii()) [INFO] [stdout] 146 | | }) [INFO] [stdout] | |_________^ the trait `Binary` is not implemented for `bool` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Binary`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] NonZero [INFO] [stdout] Saturating [INFO] [stdout] Wrapping [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `core::fmt::rt::Argument::<'_>::new_binary` [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/core/src/fmt/rt.rs:146:5 [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:153:63 [INFO] [stdout] | [INFO] [stdout] 153 | Err(api::InvalidBoardSize) => (false, String::from_str("invalid board size")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 153 - Err(api::InvalidBoardSize) => (false, String::from_str("invalid board size")), [INFO] [stdout] 153 + Err(api::InvalidBoardSize) => (false, String::from("invalid board size")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 - None => (false, String::from_str("syntax error")) [INFO] [stdout] 156 + None => (false, String::from("syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:167:37 [INFO] [stdout] | [INFO] [stdout] 167 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 167 - None => (false, String::from_str("syntax error")) [INFO] [stdout] 167 + None => (false, String::from("syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:176:62 [INFO] [stdout] | [INFO] [stdout] 176 | Err(api::InvalidMove) => (false, String::from_str("invalid move")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 176 - Err(api::InvalidMove) => (false, String::from_str("invalid move")), [INFO] [stdout] 176 + Err(api::InvalidMove) => (false, String::from("invalid move")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 181 - None => (false, String::from_str("syntax error")) [INFO] [stdout] 181 + None => (false, String::from("syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 188 - None => (false, String::from_str("syntax error")) [INFO] [stdout] 188 + None => (false, String::from("syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:196:74 [INFO] [stdout] | [INFO] [stdout] 196 | fn cmd_loadsgf(&self, bot: &mut T, args: &[Ascii]) -> (bool, String) { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ expected `(bool, String)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(bool, String)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:206:37 [INFO] [stdout] | [INFO] [stdout] 206 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 206 - None => (false, String::from_str("syntax error")) [INFO] [stdout] 206 + None => (false, String::from("syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:211:15 [INFO] [stdout] | [INFO] [stdout] 211 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Option<&Vertex>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:215:45 [INFO] [stdout] | [INFO] [stdout] 215 | let mut out = it.next().to_string(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Option<&Vertex>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<&Vertex>: std::fmt::Display` [INFO] [stdout] which is required by `Option<&Vertex>: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `&Vertex` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&Vertex` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 215 | let mut out = it.next().expect("REASON").to_string(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:217:71 [INFO] [stdout] | [INFO] [stdout] 217 | out = out.append(" ").append(vrtx.to_string().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:220:60 [INFO] [stdout] | [INFO] [stdout] 220 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 220 - Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] 220 + Err(api::BoardNotEmpty) => (false, String::from("board not empty")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:223:40 [INFO] [stdout] | [INFO] [stdout] 223 | Some(_) => (false, String::from_str("invalid number of stones")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 223 - Some(_) => (false, String::from_str("invalid number of stones")), [INFO] [stdout] 223 + Some(_) => (false, String::from("invalid number of stones")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:224:37 [INFO] [stdout] | [INFO] [stdout] 224 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 224 - None => (false, String::from_str("syntax error")) [INFO] [stdout] 224 + None => (false, String::from("syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | match from_str::(args.as_str_ascii()) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Option<&Vertex>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:233:45 [INFO] [stdout] | [INFO] [stdout] 233 | let mut out = it.next().to_string(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Option<&Vertex>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<&Vertex>: std::fmt::Display` [INFO] [stdout] which is required by `Option<&Vertex>: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `&Vertex` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/api.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&Vertex` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 233 | let mut out = it.next().expect("REASON").to_string(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:235:71 [INFO] [stdout] | [INFO] [stdout] 235 | out = out.append(" ").append(vrtx.to_string().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:238:60 [INFO] [stdout] | [INFO] [stdout] 238 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 238 - Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] 238 + Err(api::BoardNotEmpty) => (false, String::from("board not empty")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:241:40 [INFO] [stdout] | [INFO] [stdout] 241 | Some(_) => (false, String::from_str("invalid number of stones")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 241 - Some(_) => (false, String::from_str("invalid number of stones")), [INFO] [stdout] 241 + Some(_) => (false, String::from("invalid number of stones")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 242 - None => (false, String::from_str("syntax error")) [INFO] [stdout] 242 + None => (false, String::from("syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:248:49 [INFO] [stdout] | [INFO] [stdout] 248 | let mut it = args.split(|&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 248 - let mut it = args.split(|&c| { c == ' '.to_ascii()}); [INFO] [stdout] 248 + let mut it = args.split(|&c| { c == ' '.is_ascii()}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:252:47 [INFO] [stdout] | [INFO] [stdout] 252 | _ => { return (false, String::from_str("syntax error")); } [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 252 - _ => { return (false, String::from_str("syntax error")); } [INFO] [stdout] 252 + _ => { return (false, String::from("syntax error")); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:256:36 [INFO] [stdout] | [INFO] [stdout] 256 | return (false, String::from_str("bad vertex list")); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 256 - return (false, String::from_str("bad vertex list")); [INFO] [stdout] 256 + return (false, String::from("bad vertex list")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:260:56 [INFO] [stdout] | [INFO] [stdout] 260 | Err(api::BadVertexList) => (false, String::from_str("bad vertex list")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 260 - Err(api::BadVertexList) => (false, String::from_str("bad vertex list")), [INFO] [stdout] 260 + Err(api::BadVertexList) => (false, String::from("bad vertex list")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:261:56 [INFO] [stdout] | [INFO] [stdout] 261 | Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 261 - Err(api::BoardNotEmpty) => (false, String::from_str("board not empty")), [INFO] [stdout] 261 + Err(api::BoardNotEmpty) => (false, String::from("board not empty")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:269:53 [INFO] [stdout] | [INFO] [stdout] 269 | Err(api::CannotUndo) => (false, String::from_str("cannot undo")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 269 - Err(api::CannotUndo) => (false, String::from_str("cannot undo")), [INFO] [stdout] 269 + Err(api::CannotUndo) => (false, String::from("cannot undo")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:275:53 [INFO] [stdout] | [INFO] [stdout] 275 | let mut it = args.splitn(3, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 275 - let mut it = args.splitn(3, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] 275 + let mut it = args.splitn(3, |&c| { c == ' '.is_ascii()}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:277:51 [INFO] [stdout] | [INFO] [stdout] 277 | (Some(a), Some(b), Some(c)) => match (from_str::(a.as_str_ascii()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:278:51 [INFO] [stdout] | [INFO] [stdout] 278 | ... from_str::(b.as_str_ascii()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:279:51 [INFO] [stdout] | [INFO] [stdout] 279 | ... from_str::(c.as_str_ascii())) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:284:38 [INFO] [stdout] | [INFO] [stdout] 284 | _ => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 284 - _ => (false, String::from_str("syntax error")) [INFO] [stdout] 284 + _ => (false, String::from("syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | _ => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 286 - _ => (false, String::from_str("syntax error")) [INFO] [stdout] 286 + _ => (false, String::from("syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:296:41 [INFO] [stdout] | [INFO] [stdout] 296 | output = output.append(vrtx.to_string().as_slice()); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `push_str` [INFO] [stdout] | [INFO] [stdout] 296 - output = output.append(vrtx.to_string().as_slice()); [INFO] [stdout] 296 + output = output.push_str(vrtx.to_string().as_slice()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:296:65 [INFO] [stdout] | [INFO] [stdout] 296 | output = output.append(vrtx.to_string().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:302:37 [INFO] [stdout] | [INFO] [stdout] 302 | None => (false, String::from_str("syntax error")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 302 - None => (false, String::from_str("syntax error")) [INFO] [stdout] 302 + None => (false, String::from("syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:309:44 [INFO] [stdout] | [INFO] [stdout] 309 | (0.0, _) => (true, String::from_str("0")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 309 - (0.0, _) => (true, String::from_str("0")), [INFO] [stdout] 309 + (0.0, _) => (true, String::from("0")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:313:54 [INFO] [stdout] | [INFO] [stdout] 313 | Err(api::CannotScore) => (false, String::from_str("cannot score")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 313 - Err(api::CannotScore) => (false, String::from_str("cannot score")), [INFO] [stdout] 313 + Err(api::CannotScore) => (false, String::from("cannot score")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:329:50 [INFO] [stdout] | [INFO] [stdout] 329 | "protocol_version" => (true, String::from_str("2")), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 329 - "protocol_version" => (true, String::from_str("2")), [INFO] [stdout] 329 + "protocol_version" => (true, String::from("2")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 341 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 341 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:345:42 [INFO] [stdout] | [INFO] [stdout] 345 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 345 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 345 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:349:42 [INFO] [stdout] | [INFO] [stdout] 349 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 349 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 349 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:353:42 [INFO] [stdout] | [INFO] [stdout] 353 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 353 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 353 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:357:42 [INFO] [stdout] | [INFO] [stdout] 357 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 357 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 357 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:361:42 [INFO] [stdout] | [INFO] [stdout] 361 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 361 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 361 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:365:42 [INFO] [stdout] | [INFO] [stdout] 365 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 365 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 365 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:369:42 [INFO] [stdout] | [INFO] [stdout] 369 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 369 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 369 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:373:42 [INFO] [stdout] | [INFO] [stdout] 373 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 373 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 373 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:377:42 [INFO] [stdout] | [INFO] [stdout] 377 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 377 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 377 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/bothandler.rs:381:42 [INFO] [stdout] | [INFO] [stdout] 381 | false => (false, String::from_str("unknown command")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 381 - false => (false, String::from_str("unknown command")) [INFO] [stdout] 381 + false => (false, String::from("unknown command")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | let mut last_char: Ascii = '\n'.to_ascii(); // set initial lastchar as LF [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - let mut last_char: Ascii = '\n'.to_ascii(); // set initial lastchar as LF [INFO] [stdout] 9 + let mut last_char: Ascii = '\n'.is_ascii(); // set initial lastchar as LF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | if c == '\n'.to_ascii() { // newline [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - if c == '\n'.to_ascii() { // newline [INFO] [stdout] 12 + if c == '\n'.is_ascii() { // newline [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | if last_char == '\n'.to_ascii() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - if last_char == '\n'.to_ascii() { [INFO] [stdout] 14 + if last_char == '\n'.is_ascii() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | last_char = '\n'.to_ascii(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 18 - last_char = '\n'.to_ascii(); [INFO] [stdout] 18 + last_char = '\n'.is_ascii(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | output.push('\n'.to_ascii()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 19 - output.push('\n'.to_ascii()); [INFO] [stdout] 19 + output.push('\n'.is_ascii()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | if c == '#'.to_ascii() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - if c == '#'.to_ascii() { [INFO] [stdout] 22 + if c == '#'.is_ascii() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | last_char = ' '.to_ascii(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 36 - last_char = ' '.to_ascii(); [INFO] [stdout] 36 + last_char = ' '.is_ascii(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | output.push(' '.to_ascii()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 37 - output.push(' '.to_ascii()); [INFO] [stdout] 37 + output.push(' '.is_ascii()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:66:62 [INFO] [stdout] | [INFO] [stdout] 66 | let mut first_split = line.splitn(1, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 - let mut first_split = line.splitn(1, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] 66 + let mut first_split = line.splitn(1, |&c| { c == ' '.is_ascii()}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for reference `&'static str` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | _ => "".to_ascii() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 71 - _ => "".to_ascii() [INFO] [stdout] 71 + _ => "".is_ascii() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | let id = from_str::(first_part.as_str_ascii()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:78:67 [INFO] [stdout] | [INFO] [stdout] 78 | let mut second_split = to_split.splitn(1, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 78 - let mut second_split = to_split.splitn(1, |&c| { c == ' '.to_ascii()}); [INFO] [stdout] 78 + let mut second_split = to_split.splitn(1, |&c| { c == ' '.is_ascii()}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | command: Vec::from_slice(text), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/vec/mod.rs:434:5 [INFO] [stdout] help: there is a method `extend_from_slice` with a similar name [INFO] [stdout] | [INFO] [stdout] 82 | command: Vec::extend_from_slice(text), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | Some(arguments) => Vec::from_slice(arguments), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/vec/mod.rs:434:5 [INFO] [stdout] help: there is a method `extend_from_slice` with a similar name [INFO] [stdout] | [INFO] [stdout] 84 | Some(arguments) => Vec::extend_from_slice(arguments), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | match strip_input(input).as_slice().splitn(1, |&c| {c == '\n'.to_ascii()}).next() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 97 - match strip_input(input).as_slice().splitn(1, |&c| {c == '\n'.to_ascii()}).next() { [INFO] [stdout] 97 + match strip_input(input).as_slice().splitn(1, |&c| {c == '\n'.is_ascii()}).next() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/parsing.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | let mut args_iter = input.split(|&c| {c == ' '.to_ascii() }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 154 - let mut args_iter = input.split(|&c| {c == ' '.to_ascii() }); [INFO] [stdout] 154 + let mut args_iter = input.split(|&c| {c == ' '.is_ascii() }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let mut board = [[0u8, ..25], ..25]; [INFO] [stdout] | ^^^^ expected `u8`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | output = output.append(format!("{:2u}", boardsize-n).as_slice()); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `push_str` [INFO] [stdout] | [INFO] [stdout] 22 - output = output.append(format!("{:2u}", boardsize-n).as_slice()); [INFO] [stdout] 22 + output = output.push_str(format!("{:2u}", boardsize-n).as_slice()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | output = output.append(format!("{:2u}", boardsize-n).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | output = output.append(match board[boardsize-n-1][l] { [INFO] [stdout] | -------^^^^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `push_str` [INFO] [stdout] | [INFO] [stdout] 24 - output = output.append(match board[boardsize-n-1][l] { [INFO] [stdout] 24 + output = output.push_str(match board[boardsize-n-1][l] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | output = output.append("\n"); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `push_str` [INFO] [stdout] | [INFO] [stdout] 30 - output = output.append("\n"); [INFO] [stdout] 30 + output = output.push_str("\n"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | output = output.append("\n "); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `push_str` [INFO] [stdout] | [INFO] [stdout] 32 - output = output.append("\n "); [INFO] [stdout] 32 + output = output.push_str("\n "); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `grow` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | output.grow(1, ' '); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `grow` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/boarddrawer.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | output.grow(1, if l < 8 { [INFO] [stdout] | -------^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let line: String = match input.read_line() { [INFO] [stdout] | ^^^^^^^^^-- argument #1 of type `&mut String` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/std/src/io/stdio.rs:411:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 19 | let line: String = match input.read_line(/* &mut String */) { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(txt) => txt, [INFO] [stdout] | ^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:21:82 [INFO] [stdout] | [INFO] [stdout] 21 | Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from_str("quit"), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from_str("quit"), [INFO] [stdout] 21 + Err(io::IoError{kind: io::EndOfFile, desc: _, detail: _}) => String::from("quit"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | Some(txt) => Vec::from_slice(txt), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/alloc/src/vec/mod.rs:434:5 [INFO] [stdout] help: there is a method `extend_from_slice` with a similar name [INFO] [stdout] | [INFO] [stdout] 26 | Some(txt) => Vec::extend_from_slice(txt), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii` found for type `char` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | None => vec!('#'.to_ascii()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 - None => vec!('#'.to_ascii()) [INFO] [stdout] 27 + None => vec!('#'.is_ascii()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Stdout` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | match output.write(result.append("\n\n").as_bytes()) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/std/src/io/mod.rs:1684:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Stdout` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 30 | match output.write_all(result.append("\n\n").as_bytes()) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gtp-rust-a8308be75a3ea08b/c7fef1f/src/lib.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | match output.write(result.append("\n\n").as_bytes()) { [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `push_str` [INFO] [stdout] | [INFO] [stdout] 30 - match output.write(result.append("\n\n").as_bytes()) { [INFO] [stdout] 30 + match output.write(result.push_str("\n\n").as_bytes()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0412, E0422, E0425, E0432, E0531, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `GTP-Rust` (lib) due to 209 previous errors [INFO] running `Command { std: "docker" "inspect" "fa354b28f405b49447cb3791f4a050998055efcf9ba59c3e9ab3659c233e83c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa354b28f405b49447cb3791f4a050998055efcf9ba59c3e9ab3659c233e83c6", kill_on_drop: false }` [INFO] [stdout] fa354b28f405b49447cb3791f4a050998055efcf9ba59c3e9ab3659c233e83c6