[INFO] cloning repository https://github.com/retep998/mlpccg-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/retep998/mlpccg-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretep998%2Fmlpccg-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretep998%2Fmlpccg-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41cdddc60d7104ea8f85f961140891e8d4924193 [INFO] checking retep998/mlpccg-rs against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretep998%2Fmlpccg-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/retep998/mlpccg-rs on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/retep998/mlpccg-rs [INFO] finished tweaking git repo https://github.com/retep998/mlpccg-rs [INFO] tweaked toml for git repo https://github.com/retep998/mlpccg-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/retep998/mlpccg-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 700f1119872cfe8ebf29b4da9995844628f0f4ed1595e2c5aca263fad1809399 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "700f1119872cfe8ebf29b4da9995844628f0f4ed1595e2c5aca263fad1809399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "700f1119872cfe8ebf29b4da9995844628f0f4ed1595e2c5aca263fad1809399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "700f1119872cfe8ebf29b4da9995844628f0f4ed1595e2c5aca263fad1809399", kill_on_drop: false }` [INFO] [stdout] 700f1119872cfe8ebf29b4da9995844628f0f4ed1595e2c5aca263fad1809399 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] edfc3860f8fb192ffcd0e759245d9b27697db70b6a93bdbb751ecd8d85284d96 [INFO] running `Command { std: "docker" "start" "-a" "edfc3860f8fb192ffcd0e759245d9b27697db70b6a93bdbb751ecd8d85284d96", kill_on_drop: false }` [INFO] [stderr] Checking mlpccg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/bin/client.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | TaskBuilder::new().stack_size(32768).spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::timer` [INFO] [stdout] --> src/bin/client.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::timer::sleep; [INFO] [stdout] | ^^^^^ could not find `timer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::TcpStream` [INFO] [stdout] --> src/bin/client.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{TcpStream}; [INFO] [stdout] | ^^^^^^^^^ no `TcpStream` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::atomics` [INFO] [stdout] --> src/bin/client.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::atomics::{AtomicUint, SeqCst}; [INFO] [stdout] | ^^^^^^^ could not find `atomics` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::task::TaskBuilder` [INFO] [stdout] --> src/bin/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::task::TaskBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `TaskBuilder` in `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/bin/client.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `Player` [INFO] [stdout] --> src/main.rs:126:60 [INFO] [stdout] | [INFO] [stdout] 126 | TaskBuilder::new().stack_size(0x8000).spawn(proc() Player::sender(send_rx, tcp_tx)); [INFO] [stdout] | -^^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `Player` [INFO] [stdout] --> src/main.rs:127:60 [INFO] [stdout] | [INFO] [stdout] 127 | TaskBuilder::new().stack_size(0x8000).spawn(proc() Player::receiver(recv_tx, tcp_rx, id)); [INFO] [stdout] | -^^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `Server` [INFO] [stdout] --> src/main.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | spawn(proc() Server::listener(listen_tx)); [INFO] [stdout] | -^^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `Server` [INFO] [stdout] --> src/main.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | spawn(proc() Server::commands(command_tx)); [INFO] [stdout] | -^^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/main.rs:206:36 [INFO] [stdout] | [INFO] [stdout] 206 | fn player(&self, id: Id, func: |&Player|) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/main.rs:213:40 [INFO] [stdout] | [INFO] [stdout] 213 | fn mut_player(&self, id: Id, func: |&mut Player|) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/main.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | fn players(&self, func: |&Player|) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/bin/client.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | TaskBuilder::new().stack_size(32768).spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `Player` [INFO] [stdout] --> src/main.rs:126:60 [INFO] [stdout] | [INFO] [stdout] 126 | TaskBuilder::new().stack_size(0x8000).spawn(proc() Player::sender(send_rx, tcp_tx)); [INFO] [stdout] | -^^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `Player` [INFO] [stdout] --> src/main.rs:127:60 [INFO] [stdout] | [INFO] [stdout] 127 | TaskBuilder::new().stack_size(0x8000).spawn(proc() Player::receiver(recv_tx, tcp_rx, id)); [INFO] [stdout] | -^^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `Server` [INFO] [stdout] --> src/main.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | spawn(proc() Server::listener(listen_tx)); [INFO] [stdout] | -^^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `Server` [INFO] [stdout] --> src/main.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | spawn(proc() Server::commands(command_tx)); [INFO] [stdout] | -^^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/main.rs:206:36 [INFO] [stdout] | [INFO] [stdout] 206 | fn player(&self, id: Id, func: |&Player|) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/bin/client.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | TaskBuilder::new().stack_size(32768).spawn(proc() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::timer` [INFO] [stdout] --> src/bin/client.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::timer::sleep; [INFO] [stdout] | ^^^^^ could not find `timer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/main.rs:213:40 [INFO] [stdout] | [INFO] [stdout] 213 | fn mut_player(&self, id: Id, func: |&mut Player|) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::TcpStream` [INFO] [stdout] --> src/bin/client.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{TcpStream}; [INFO] [stdout] | ^^^^^^^^^ no `TcpStream` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::atomics` [INFO] [stdout] --> src/bin/client.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::atomics::{AtomicUint, SeqCst}; [INFO] [stdout] | ^^^^^^^ could not find `atomics` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::task::TaskBuilder` [INFO] [stdout] --> src/bin/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::task::TaskBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `TaskBuilder` in `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/bin/client.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/main.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | fn players(&self, func: |&Player|) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::comm` [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::comm::{Receiver, Sender}; [INFO] [stdout] | ^^^^ could not find `comm` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Acceptor`, `std::io::Listener`, `std::io::TcpListener`, `std::io::TcpStream` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Acceptor, Listener, TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ no `TcpStream` in `io` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `TcpListener` in `io` [INFO] [stdout] | | no `Listener` in `io` [INFO] [stdout] | no `Acceptor` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::comm` [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::comm::{Receiver, Sender}; [INFO] [stdout] | ^^^^ could not find `comm` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::BufferedReader`, `std::io::MemReader`, `std::io::MemWriter` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufferedReader, BufWriter, MemReader, MemWriter}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ no `MemWriter` in `io` [INFO] [stdout] | | | [INFO] [stdout] | | no `MemReader` in `io` [INFO] [stdout] | no `BufferedReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufferedReader, BufWriter, BufReader, MemWriter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufferedReader, BufWriter, MemReader, BufWriter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rand::random; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Acceptor`, `std::io::Listener`, `std::io::TcpListener`, `std::io::TcpStream` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Acceptor, Listener, TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ no `TcpStream` in `io` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `TcpListener` in `io` [INFO] [stdout] | | no `Listener` in `io` [INFO] [stdout] | no `Acceptor` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::task::TaskBuilder` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::task::TaskBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `TaskBuilder` in `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::BufferedReader`, `std::io::MemReader`, `std::io::MemWriter` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufferedReader, BufWriter, MemReader, MemWriter}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ no `MemWriter` in `io` [INFO] [stdout] | | | [INFO] [stdout] | | no `MemReader` in `io` [INFO] [stdout] | no `BufferedReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufferedReader, BufWriter, BufReader, MemWriter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufferedReader, BufWriter, MemReader, BufWriter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rand::random; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::task::TaskBuilder` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::task::TaskBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `TaskBuilder` in `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/bin/client.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | TaskBuilder::new().stack_size(32768).spawn(proc() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SomePacket` in this scope [INFO] [stdout] --> src/main.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | SomePacket(mut msg) => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToPlayer::SomePacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:76:82 [INFO] [stdout] | [INFO] [stdout] 76 | self.buf.read_be_u32().and_then(|len| self.buf.read_exact(len as uint)).ok() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HandlePacket` in this scope [INFO] [stdout] --> src/main.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | match tx.send_opt(HandlePacket(id, packet)) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::HandlePacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RemovePlayer` in this scope [INFO] [stdout] --> src/main.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let _ = tx.send_opt(RemovePlayer(id)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::RemovePlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SomePacket` in this scope [INFO] [stdout] --> src/main.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | match self.player_tx.send_opt(SomePacket(packet)) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToPlayer::SomePacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RemovePlayer` in this scope [INFO] [stdout] --> src/main.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | self.server_tx.send(RemovePlayer(self.id)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::RemovePlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/main.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | let (send_tx, send_rx) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:126:53 [INFO] [stdout] | [INFO] [stdout] 126 | TaskBuilder::new().stack_size(0x8000).spawn(proc() Player::sender(send_rx, tcp_tx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:127:53 [INFO] [stdout] | [INFO] [stdout] 127 | TaskBuilder::new().stack_size(0x8000).spawn(proc() Player::receiver(recv_tx, tcp_rx, id)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/main.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | let (tx, rx) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | spawn(proc() Server::listener(listen_tx)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | spawn(proc() Server::listener(listen_tx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | spawn(proc() Server::commands(command_tx)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SomePacket` in this scope [INFO] [stdout] --> src/main.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | SomePacket(mut msg) => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToPlayer::SomePacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | spawn(proc() Server::commands(command_tx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:76:82 [INFO] [stdout] | [INFO] [stdout] 76 | self.buf.read_be_u32().and_then(|len| self.buf.read_exact(len as uint)).ok() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `func` in this scope [INFO] [stdout] --> src/main.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | Some(player) => func(&*player.borrow()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `func` in this scope [INFO] [stdout] --> src/main.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | Some(player) => func(&mut*player.borrow_mut()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HandlePacket` in this scope [INFO] [stdout] --> src/main.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | match tx.send_opt(HandlePacket(id, packet)) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::HandlePacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `func` in this scope [INFO] [stdout] --> src/main.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 221 | for (_, player) in self.players.iter() { func(&*player.borrow()) } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RemovePlayer` in this scope [INFO] [stdout] --> src/main.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let _ = tx.send_opt(RemovePlayer(id)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::RemovePlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Disconnect` in this scope [INFO] [stdout] --> src/main.rs:245:47 [INFO] [stdout] | [INFO] [stdout] 245 | let _ = player.player_tx.send_opt(Disconnect); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToPlayer::Disconnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SomePacket` in this scope [INFO] [stdout] --> src/main.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | match self.player_tx.send_opt(SomePacket(packet)) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToPlayer::SomePacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AddPlayer` in this scope [INFO] [stdout] --> src/main.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | AddPlayer(tcp) => self.add_player(tcp), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::AddPlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `RemovePlayer` in this scope [INFO] [stdout] --> src/main.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | RemovePlayer(id) => self.remove_player(id), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::RemovePlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RemovePlayer` in this scope [INFO] [stdout] --> src/main.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | self.server_tx.send(RemovePlayer(self.id)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::RemovePlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `HandlePacket` in this scope [INFO] [stdout] --> src/main.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | HandlePacket(id, packet) => self.handle_packet(id, packet), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::HandlePacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/main.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | let (send_tx, send_rx) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AddPlayer` in this scope [INFO] [stdout] --> src/main.rs:289:36 [INFO] [stdout] | [INFO] [stdout] 289 | Ok(tcp) => tx.send(AddPlayer(tcp)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::AddPlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:126:53 [INFO] [stdout] | [INFO] [stdout] 126 | TaskBuilder::new().stack_size(0x8000).spawn(proc() Player::sender(send_rx, tcp_tx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ListPlayers` in this scope [INFO] [stdout] --> src/main.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | "list" => tx.send(ListPlayers), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::ListPlayers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:127:53 [INFO] [stdout] | [INFO] [stdout] 127 | TaskBuilder::new().stack_size(0x8000).spawn(proc() Player::receiver(recv_tx, tcp_rx, id)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/main.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | let (tx, rx) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | spawn(proc() Server::listener(listen_tx)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | spawn(proc() Server::listener(listen_tx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | spawn(proc() Server::commands(command_tx)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | spawn(proc() Server::commands(command_tx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `func` in this scope [INFO] [stdout] --> src/main.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | Some(player) => func(&*player.borrow()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `func` in this scope [INFO] [stdout] --> src/main.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | Some(player) => func(&mut*player.borrow_mut()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `func` in this scope [INFO] [stdout] --> src/main.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 221 | for (_, player) in self.players.iter() { func(&*player.borrow()) } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Disconnect` in this scope [INFO] [stdout] --> src/main.rs:245:47 [INFO] [stdout] | [INFO] [stdout] 245 | let _ = player.player_tx.send_opt(Disconnect); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToPlayer::Disconnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AddPlayer` in this scope [INFO] [stdout] --> src/main.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | AddPlayer(tcp) => self.add_player(tcp), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::AddPlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `RemovePlayer` in this scope [INFO] [stdout] --> src/main.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | RemovePlayer(id) => self.remove_player(id), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::RemovePlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `HandlePacket` in this scope [INFO] [stdout] --> src/main.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | HandlePacket(id, packet) => self.handle_packet(id, packet), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::HandlePacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AddPlayer` in this scope [INFO] [stdout] --> src/main.rs:289:36 [INFO] [stdout] | [INFO] [stdout] 289 | Ok(tcp) => tx.send(AddPlayer(tcp)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::AddPlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ListPlayers` in this scope [INFO] [stdout] --> src/main.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | "list" => tx.send(ListPlayers), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use ToServer::ListPlayers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 type arguments but 1 type argument was supplied [INFO] [stdout] --> src/main.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | impl Iterator for Packets { [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 type arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 type arguments but 1 type argument was supplied [INFO] [stdout] --> src/main.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | impl Iterator for Packets { [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 type arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | impl Iterator for Packets { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | impl Iterator for Packets { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_be_u32` found for struct `BufWriter<_>` in the current scope [INFO] [stdout] --> src/main.rs:54:57 [INFO] [stdout] | [INFO] [stdout] 54 | BufWriter::new(msg.slice_to_mut(4)).write_be_u32(len).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `BufWriter<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/bin/client.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let clone = count.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `count` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/bin/client.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | TaskBuilder::new().stack_size(32768).spawn(proc() { [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] ... [INFO] [stdout] 20 | / loop { [INFO] [stdout] 21 | | if tcp.read_u8().is_err() { [INFO] [stdout] 22 | | println!("-{}", clone.fetch_add(-1, SeqCst)); [INFO] [stdout] 23 | | return; [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | p.write_str(player.name.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | p.write_str(player.name.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mlpccg` [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap>` in the current scope [INFO] [stdout] --> src/main.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | match self.players.find(&id) { [INFO] [stdout] | ^^^^ method not found in `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/bin/client.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let clone = count.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `count` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap>` in the current scope [INFO] [stdout] --> src/main.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | match self.players.find(&id) { [INFO] [stdout] | ^^^^ method not found in `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap>` in the current scope [INFO] [stdout] --> src/main.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | if self.players.find(&id).is_none() { return id } [INFO] [stdout] | ^^^^ method not found in `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/bin/client.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | TaskBuilder::new().stack_size(32768).spawn(proc() { [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] ... [INFO] [stdout] 20 | / loop { [INFO] [stdout] 21 | | if tcp.read_u8().is_err() { [INFO] [stdout] 22 | | println!("-{}", clone.fetch_add(-1, SeqCst)); [INFO] [stdout] 23 | | return; [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | self.mut_player(id, |player| { [INFO] [stdout] | ^^^^^^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_be_u32` found for struct `BufWriter<_>` in the current scope [INFO] [stdout] --> src/main.rs:54:57 [INFO] [stdout] | [INFO] [stdout] 54 | BufWriter::new(msg.slice_to_mut(4)).write_be_u32(len).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `BufWriter<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap>` in the current scope [INFO] [stdout] --> src/main.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 252 | let player = match self.players.find(&id) { [INFO] [stdout] | ^^^^ method not found in `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lines` found for struct `Stdin` in the current scope [INFO] [stdout] --> src/main.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | for line in cin.lines() { [INFO] [stdout] | ^^^^^ method not found in `Stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | p.write_str(player.name.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | match line.as_slice() { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0282, E0412, E0425, E0432, E0531, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | p.write_str(player.name.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap>` in the current scope [INFO] [stdout] --> src/main.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | match self.players.find(&id) { [INFO] [stdout] | ^^^^ method not found in `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap>` in the current scope [INFO] [stdout] --> src/main.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | match self.players.find(&id) { [INFO] [stdout] | ^^^^ method not found in `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap>` in the current scope [INFO] [stdout] --> src/main.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | if self.players.find(&id).is_none() { return id } [INFO] [stdout] | ^^^^ method not found in `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | self.mut_player(id, |player| { [INFO] [stdout] | ^^^^^^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap>` in the current scope [INFO] [stdout] --> src/main.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 252 | let player = match self.players.find(&id) { [INFO] [stdout] | ^^^^ method not found in `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lines` found for struct `Stdin` in the current scope [INFO] [stdout] --> src/main.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | for line in cin.lines() { [INFO] [stdout] | ^^^^^ method not found in `Stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | match line.as_slice() { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0282, E0412, E0425, E0432, E0531, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "edfc3860f8fb192ffcd0e759245d9b27697db70b6a93bdbb751ecd8d85284d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edfc3860f8fb192ffcd0e759245d9b27697db70b6a93bdbb751ecd8d85284d96", kill_on_drop: false }` [INFO] [stdout] edfc3860f8fb192ffcd0e759245d9b27697db70b6a93bdbb751ecd8d85284d96