[INFO] cloning repository https://github.com/Nullreff/rustymine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nullreff/rustymine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullreff%2Frustymine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullreff%2Frustymine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21448c8a87dd0f6e984f83db3921f0ff5562fd1b [INFO] checking Nullreff/rustymine against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullreff%2Frustymine" "/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/Nullreff/rustymine on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nullreff/rustymine [INFO] finished tweaking git repo https://github.com/Nullreff/rustymine [INFO] tweaked toml for git repo https://github.com/Nullreff/rustymine written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Nullreff/rustymine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5948b4dfc64a8c067bfd88aa354c414f37580561920e6570529ddf8d8f479f90 [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" "5948b4dfc64a8c067bfd88aa354c414f37580561920e6570529ddf8d8f479f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5948b4dfc64a8c067bfd88aa354c414f37580561920e6570529ddf8d8f479f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5948b4dfc64a8c067bfd88aa354c414f37580561920e6570529ddf8d8f479f90", kill_on_drop: false }` [INFO] [stdout] 5948b4dfc64a8c067bfd88aa354c414f37580561920e6570529ddf8d8f479f90 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 06bda7dc1b9c8b6e8b22d80a43e04339cad2e9979a46e3eb6cf233f1eaefef05 [INFO] running `Command { std: "docker" "start" "-a" "06bda7dc1b9c8b6e8b22d80a43e04339cad2e9979a46e3eb6cf233f1eaefef05", kill_on_drop: false }` [INFO] [stderr] Checking rustymine v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `process_stream` [INFO] [stdout] --> src/main.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | spawn(proc() process_stream(clone, opt_stream.unwrap()).unwrap()) [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 `process_stream` [INFO] [stdout] --> src/main.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | spawn(proc() process_stream(clone, opt_stream.unwrap()).unwrap()) [INFO] [stdout] | -^^^^^^^^^^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/main.rs:151:50 [INFO] [stdout] | [INFO] [stdout] 151 | let message = format!("{{\"description\":\"{:s}\",\"players\":{{\"max\":{:u},\"online\":{:u}}},\"version\":{{\"name\":\"{:s}\",\"prot... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/main.rs:151:79 [INFO] [stdout] | [INFO] [stdout] 151 | let message = format!("{{\"description\":\"{:s}\",\"players\":{{\"max\":{:u},\"online\":{:u}}},\"version\":{{\"name\":\"{:s}\",\"prot... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/main.rs:151:95 [INFO] [stdout] | [INFO] [stdout] 151 | let message = format!("{{\"description\":\"{:s}\",\"players\":{{\"max\":{:u},\"online\":{:u}}},\"version\":{{\"name\":\"{:s}\",\"prot... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/main.rs:151:127 [INFO] [stdout] | [INFO] [stdout] 151 | let message = format!("{{\"description\":\"{:s}\",\"players\":{{\"max\":{:u},\"online\":{:u}}},\"version\":{{\"name\":\"{:s}\",\"prot... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/main.rs:151:147 [INFO] [stdout] | [INFO] [stdout] 151 | ...,\"online\":{:u}}},\"version\":{{\"name\":\"{:s}\",\"protocol\":{:u}}}}}", config.description, config.max_players, config.online_playe... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/main.rs:151:50 [INFO] [stdout] | [INFO] [stdout] 151 | let message = format!("{{\"description\":\"{:s}\",\"players\":{{\"max\":{:u},\"online\":{:u}}},\"version\":{{\"name\":\"{:s}\",\"prot... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/main.rs:151:79 [INFO] [stdout] | [INFO] [stdout] 151 | let message = format!("{{\"description\":\"{:s}\",\"players\":{{\"max\":{:u},\"online\":{:u}}},\"version\":{{\"name\":\"{:s}\",\"prot... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/main.rs:151:95 [INFO] [stdout] | [INFO] [stdout] 151 | let message = format!("{{\"description\":\"{:s}\",\"players\":{{\"max\":{:u},\"online\":{:u}}},\"version\":{{\"name\":\"{:s}\",\"prot... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/main.rs:151:127 [INFO] [stdout] | [INFO] [stdout] 151 | let message = format!("{{\"description\":\"{:s}\",\"players\":{{\"max\":{:u},\"online\":{:u}}},\"version\":{{\"name\":\"{:s}\",\"prot... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `u` [INFO] [stdout] --> src/main.rs:151:147 [INFO] [stdout] | [INFO] [stdout] 151 | ...,\"online\":{:u}}},\"version\":{{\"name\":\"{:s}\",\"protocol\":{:u}}}}}", config.description, config.max_players, config.online_playe... [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[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::net::tcp::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Listener`, `std::io::Acceptor`, `std::io::IoResult`, `std::io::IoError`, `std::io::InvalidInput` [INFO] [stdout] --> src/main.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{Listener, Acceptor, IoResult, IoError, InvalidInput}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ no `InvalidInput` in `io` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `IoError` in `io` [INFO] [stdout] | | | no `IoResult` in `io` [INFO] [stdout] | | no `Acceptor` in `io` [INFO] [stdout] | no `Listener` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{Listener, Acceptor, Result, IoError, InvalidInput}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{Listener, Acceptor, IoResult, Error, InvalidInput}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/varint.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::net::tcp::{TcpStream}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::IoError` [INFO] [stdout] --> src/varint.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{IoResult, IoError}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `IoError` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{Result, IoError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{IoResult, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::net::tcp::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Listener`, `std::io::Acceptor`, `std::io::IoResult`, `std::io::IoError`, `std::io::InvalidInput` [INFO] [stdout] --> src/main.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{Listener, Acceptor, IoResult, IoError, InvalidInput}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ no `InvalidInput` in `io` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `IoError` in `io` [INFO] [stdout] | | | no `IoResult` in `io` [INFO] [stdout] | | no `Acceptor` in `io` [INFO] [stdout] | no `Listener` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{Listener, Acceptor, Result, IoError, InvalidInput}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{Listener, Acceptor, IoResult, Error, InvalidInput}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/varint.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::net::tcp::{TcpStream}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::IoError` [INFO] [stdout] --> src/varint.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{IoResult, IoError}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `IoError` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{Result, IoError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::{IoResult, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/varint.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait ReadVarint { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] 36 | fn read_varint(&mut self) -> Result; [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/varint.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl ToVarint for uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/varint.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | impl ReadVarint for TcpStream { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/varint.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 64 | impl ReadVarint for TcpStream { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 67 | fn read_varint(&mut self) -> IoResult { [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/varint.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let mut result:uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/varint.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for i in range(0, 4) { [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:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | online_players: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | max_players: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | protocol_number: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | fn len(& self) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Data` in this scope [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Data(ref data) => 1 + data.len(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | Message(ref string) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Data` in this scope [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | Data(ref data) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | Message(ref string) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | impl PacketStream for TcpStream { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Command` in this scope [INFO] [stdout] --> src/main.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | Ok(Packet {cmd: command, value: Command}) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 103 | Ok(Packet {cmd: command, value: command}) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Data` in this scope [INFO] [stdout] --> src/main.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(Packet {cmd: command, value: Data(data)}) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 124 | Ok(Packet {cmd: command, value: data(data)}) [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | value: Message(string.to_string()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | fn process_stream(config: Configuration, mut stream: TcpStream) -> IoResult<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Data` in this scope [INFO] [stdout] --> src/main.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | Packet { cmd: 0, value: Data(data) } => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:166:69 [INFO] [stdout] | [INFO] [stdout] 166 | try!(stream.write_packet(Packet {cmd: 0, value: Message(message.to_string())})); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 166 | try!(stream.write_packet(Packet {cmd: 0, value: message(message.to_string())})); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:176:51 [INFO] [stdout] | [INFO] [stdout] 176 | Ok(Packet {cmd: _, value: Message(name)}) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:178:77 [INFO] [stdout] | [INFO] [stdout] 178 | ... try!(stream.write_packet(Packet {cmd: 0, value: Message(config.disconnect_message)})); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 178 | try!(stream.write_packet(Packet {cmd: 0, value: message(config.disconnect_message)})); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/main.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let mut acceptor = TcpListener::bind(config.address.as_slice(), config.port).listen().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | spawn(proc() process_stream(clone, opt_stream.unwrap()).unwrap()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 31 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/varint.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait ReadVarint { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] 36 | fn read_varint(&mut self) -> Result; [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/varint.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl ToVarint for uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/varint.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | impl ReadVarint for TcpStream { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/varint.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 64 | impl ReadVarint for TcpStream { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 67 | fn read_varint(&mut self) -> IoResult { [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/varint.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let mut result:uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/varint.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for i in range(0, 4) { [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:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | online_players: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | max_players: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | protocol_number: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | fn len(& self) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Data` in this scope [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Data(ref data) => 1 + data.len(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | Message(ref string) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Data` in this scope [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | Data(ref data) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | Message(ref string) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | impl PacketStream for TcpStream { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Command` in this scope [INFO] [stdout] --> src/main.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | Ok(Packet {cmd: command, value: Command}) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 103 | Ok(Packet {cmd: command, value: command}) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Data` in this scope [INFO] [stdout] --> src/main.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(Packet {cmd: command, value: Data(data)}) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 124 | Ok(Packet {cmd: command, value: data(data)}) [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | value: Message(string.to_string()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | fn process_stream(config: Configuration, mut stream: TcpStream) -> IoResult<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Data` in this scope [INFO] [stdout] --> src/main.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | Packet { cmd: 0, value: Data(data) } => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:166:69 [INFO] [stdout] | [INFO] [stdout] 166 | try!(stream.write_packet(Packet {cmd: 0, value: Message(message.to_string())})); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 166 | try!(stream.write_packet(Packet {cmd: 0, value: message(message.to_string())})); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:176:51 [INFO] [stdout] | [INFO] [stdout] 176 | Ok(Packet {cmd: _, value: Message(name)}) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Message` in this scope [INFO] [stdout] --> src/main.rs:178:77 [INFO] [stdout] | [INFO] [stdout] 178 | ... try!(stream.write_packet(Packet {cmd: 0, value: Message(config.disconnect_message)})); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 178 | try!(stream.write_packet(Packet {cmd: 0, value: message(config.disconnect_message)})); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 31 | use PacketValue::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | spawn(proc() process_stream(clone, opt_stream.unwrap()).unwrap()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/main.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let mut acceptor = TcpListener::bind(config.address.as_slice(), config.port).listen().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | spawn(proc() process_stream(clone, opt_stream.unwrap()).unwrap()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 31 | 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:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | spawn(proc() process_stream(clone, opt_stream.unwrap()).unwrap()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | let size = try!(self.read_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | let command = try!(self.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let size = try!(self.read_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | let command = try!(self.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let data = try!(self.read_exact(size - 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | try!(self.read_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let command = try!(self.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | let string_size = try!(self.read_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | let data = try!(self.read_exact(string_size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | let ip = try!(stream.peer_name()).ip; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | let packet = try!(stream.read_packet_data()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | try!(stream.read_packet_command()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | try!(stream.write_packet(Packet {cmd: 0, value: Message(message.to_string())})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:169:32 [INFO] [stdout] | [INFO] [stdout] 169 | let ping = try!(stream.read_packet_data()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | try!(stream.write_packet(ping)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | ... try!(stream.write_packet(Packet {cmd: 0, value: Message(config.disconnect_message)})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | let size = try!(self.read_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | let command = try!(self.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let size = try!(self.read_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | let command = try!(self.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let data = try!(self.read_exact(size - 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | try!(self.read_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let command = try!(self.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | let string_size = try!(self.read_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | let data = try!(self.read_exact(string_size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | let ip = try!(stream.peer_name()).ip; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | let packet = try!(stream.read_packet_data()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | try!(stream.read_packet_command()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | try!(stream.write_packet(Packet {cmd: 0, value: Message(message.to_string())})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:169:32 [INFO] [stdout] | [INFO] [stdout] 169 | let ping = try!(stream.read_packet_data()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | try!(stream.write_packet(ping)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | ... try!(stream.write_packet(Packet {cmd: 0, value: Message(config.disconnect_message)})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | response.push_all(self.len().to_varint().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | response.push_all(data.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | response.push_all(string.len().to_varint().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | response.push_all(string.as_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 132 | match std::str::from_utf8(data.as_slice()) { [INFO] [stdout] | ------------------------------------ this expression has type `std::result::Result<&str, Utf8Error>` [INFO] [stdout] 133 | Some(string) => Ok(Packet { [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<&str, Utf8Error>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 132 | match std::str::from_utf8(data.as_slice()) { [INFO] [stdout] | ------------------------------------ this expression has type `std::result::Result<&str, Utf8Error>` [INFO] [stdout] ... [INFO] [stdout] 137 | None => Err(IoError { [INFO] [stdout] | ^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<&str, Utf8Error>` [INFO] [stdout] found enum `Option<_>` [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:205:57 [INFO] [stdout] | [INFO] [stdout] 205 | let mut acceptor = TcpListener::bind(config.address.as_slice(), config.port).listen().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Configuration` in the current scope [INFO] [stdout] --> src/main.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 37 | struct Configuration{ [INFO] [stdout] | -------------------- method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 208 | let clone = config.clone(); [INFO] [stdout] | ^^^^^ method not found in `Configuration` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadVarint` [INFO] [stdout] --> src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | use varint::{ReadVarint, ToVarint}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToVarint` [INFO] [stdout] --> src/main.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | use varint::{ReadVarint, ToVarint}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0531, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustymine` [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | response.push_all(self.len().to_varint().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec<_>` [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 `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | response.push_all(data.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | response.push_all(string.len().to_varint().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | response.push_all(string.as_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 132 | match std::str::from_utf8(data.as_slice()) { [INFO] [stdout] | ------------------------------------ this expression has type `std::result::Result<&str, Utf8Error>` [INFO] [stdout] 133 | Some(string) => Ok(Packet { [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<&str, Utf8Error>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 132 | match std::str::from_utf8(data.as_slice()) { [INFO] [stdout] | ------------------------------------ this expression has type `std::result::Result<&str, Utf8Error>` [INFO] [stdout] ... [INFO] [stdout] 137 | None => Err(IoError { [INFO] [stdout] | ^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<&str, Utf8Error>` [INFO] [stdout] found enum `Option<_>` [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:205:57 [INFO] [stdout] | [INFO] [stdout] 205 | let mut acceptor = TcpListener::bind(config.address.as_slice(), config.port).listen().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Configuration` in the current scope [INFO] [stdout] --> src/main.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 37 | struct Configuration{ [INFO] [stdout] | -------------------- method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 208 | let clone = config.clone(); [INFO] [stdout] | ^^^^^ method not found in `Configuration` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadVarint` [INFO] [stdout] --> src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | use varint::{ReadVarint, ToVarint}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToVarint` [INFO] [stdout] --> src/main.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | use varint::{ReadVarint, ToVarint}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0531, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "06bda7dc1b9c8b6e8b22d80a43e04339cad2e9979a46e3eb6cf233f1eaefef05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06bda7dc1b9c8b6e8b22d80a43e04339cad2e9979a46e3eb6cf233f1eaefef05", kill_on_drop: false }` [INFO] [stdout] 06bda7dc1b9c8b6e8b22d80a43e04339cad2e9979a46e3eb6cf233f1eaefef05