[INFO] cloning repository https://github.com/stanleywuu/mioserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stanleywuu/mioserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanleywuu%2Fmioserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanleywuu%2Fmioserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fef5df9da89b3afd3b7670573fd337b70cef62e1 [INFO] checking stanleywuu/mioserver against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanleywuu%2Fmioserver" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stanleywuu/mioserver 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/stanleywuu/mioserver [INFO] finished tweaking git repo https://github.com/stanleywuu/mioserver [INFO] tweaked toml for git repo https://github.com/stanleywuu/mioserver written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/stanleywuu/mioserver 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94ad52770ce659b897e407e539cf0af21e8e488237c8d157521802b9fc753eb5 [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" "94ad52770ce659b897e407e539cf0af21e8e488237c8d157521802b9fc753eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94ad52770ce659b897e407e539cf0af21e8e488237c8d157521802b9fc753eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94ad52770ce659b897e407e539cf0af21e8e488237c8d157521802b9fc753eb5", kill_on_drop: false }` [INFO] [stdout] 94ad52770ce659b897e407e539cf0af21e8e488237c8d157521802b9fc753eb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/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] de549256c168a26d7409d5f6778c251e8d69342ca1c7c61de4b8efb13a862380 [INFO] running `Command { std: "docker" "start" "-a" "de549256c168a26d7409d5f6778c251e8d69342ca1c7c61de4b8efb13a862380", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking mioserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::util` [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use mio::util::Slab; [INFO] [stdout] | ^^^^ could not find `util` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `bytes::ByteBuf`, `bytes::ByteStr` [INFO] [stdout] --> src/connection.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, ByteBuf, ByteStr}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ no `ByteStr` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ByteBuf` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/connection.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `bytes::RingBuf`, `bytes::SliceBuf`, `bytes::MutBuf`, `bytes::ByteBuf` [INFO] [stdout] --> src/server.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::{Buf, RingBuf, SliceBuf, MutBuf, ByteBuf}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ no `ByteBuf` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `MutBuf` in the root [INFO] [stdout] | | no `SliceBuf` in the root [INFO] [stdout] | no `RingBuf` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/server.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::util`, `logon`, `character`, `transactionstorage`, `gamehandler`, `server`, `connection`, `macros`, `transactionstorage`, `storage`, `storage`, `character`, `std` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use connection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use mio::util::Slab; [INFO] [stdout] | ^^^^ could not find `util` in `mio` [INFO] [stdout] 12 | [INFO] [stdout] 13 | use macros; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | use transactionstorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> src/connection.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use logon; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use character; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use transactionstorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | use gamehandler; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | use server; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/character.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use storage; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/logon.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use storage; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gamehandler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use character; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transactionstorage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::util` [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use mio::util::Slab; [INFO] [stdout] | ^^^^ could not find `util` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `bytes::ByteBuf`, `bytes::ByteStr` [INFO] [stdout] --> src/connection.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, ByteBuf, ByteStr}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ no `ByteStr` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ByteBuf` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/connection.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `bytes::RingBuf`, `bytes::SliceBuf`, `bytes::MutBuf`, `bytes::ByteBuf` [INFO] [stdout] --> src/server.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::{Buf, RingBuf, SliceBuf, MutBuf, ByteBuf}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ no `ByteBuf` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `MutBuf` in the root [INFO] [stdout] | | no `SliceBuf` in the root [INFO] [stdout] | no `RingBuf` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/server.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::util`, `logon`, `character`, `transactionstorage`, `gamehandler`, `server`, `connection`, `macros`, `transactionstorage`, `storage`, `storage`, `character`, `std` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use connection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use mio::util::Slab; [INFO] [stdout] | ^^^^ could not find `util` in `mio` [INFO] [stdout] 12 | [INFO] [stdout] 13 | use macros; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | use transactionstorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> src/connection.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use logon; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use character; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use transactionstorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | use gamehandler; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | use server; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/character.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use storage; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/logon.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use storage; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gamehandler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use character; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transactionstorage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/connection.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | interest: EventSet::hup(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/connection.rs:327:34 [INFO] [stdout] | [INFO] [stdout] 327 | self.interest.remove(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/connection.rs:372:30 [INFO] [stdout] | [INFO] [stdout] 372 | self.interest.insert(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/connection.rs:380:30 [INFO] [stdout] | [INFO] [stdout] 380 | self.interest.insert(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/connection.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/connection.rs:386:31 [INFO] [stdout] | [INFO] [stdout] 386 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/connection.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/connection.rs:399:31 [INFO] [stdout] | [INFO] [stdout] 399 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/connection.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | interest: EventSet::hup(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/connection.rs:327:34 [INFO] [stdout] | [INFO] [stdout] 327 | self.interest.remove(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/server.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/server.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/connection.rs:372:30 [INFO] [stdout] | [INFO] [stdout] 372 | self.interest.insert(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/server.rs:126:31 [INFO] [stdout] | [INFO] [stdout] 126 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/server.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/connection.rs:380:30 [INFO] [stdout] | [INFO] [stdout] 380 | self.interest.insert(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/server.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/connection.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/server.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/connection.rs:386:31 [INFO] [stdout] | [INFO] [stdout] 386 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/connection.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/connection.rs:399:31 [INFO] [stdout] | [INFO] [stdout] 399 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> src/main.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | let mut event_loop = EventLoop::new().ok().expect("Failed to create event loop"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/connection.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | sock: TcpStream, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/connection.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | pub lastUpdate: time::Timespec, [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/connection.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | interest: EventSet, [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/connection.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(sock: TcpStream, token: Token, db:transactionstorage::SqliteDB) -> Connection { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time` [INFO] [stdout] --> src/connection.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | lastUpdate: time::get_time(), [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/connection.rs:104:55 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn set_last_update(&mut self, updatedTime: time::Timespec) [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/connection.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_last_update(self) -> time::Timespec [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time` [INFO] [stdout] --> src/connection.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | let now = time::get_time(); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/connection.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | let now = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use transactionstorage::io::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/connection.rs:379:49 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn register(&mut self, event_loop: &mut EventLoop) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/connection.rs:394:51 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn reregister(&mut self, event_loop: &mut EventLoop) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/server.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | sock: TcpListener, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/server.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl Handler for Server { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | fn timeout(&mut self, event_loop: &mut EventLoop, timeout: Self::Timeout) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/server.rs:45:83 [INFO] [stdout] | [INFO] [stdout] 45 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/server.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new(sock: TcpListener) -> Server { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn register(&mut self, event_loop: &mut EventLoop) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:136:47 [INFO] [stdout] | [INFO] [stdout] 136 | fn reregister(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:153:43 [INFO] [stdout] | [INFO] [stdout] 153 | fn accept(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn readable(&mut self, event_loop: &mut EventLoop, token: Token) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:253:53 [INFO] [stdout] | [INFO] [stdout] 253 | fn reset_connection(&mut self, event_loop: &mut EventLoop, token: Token) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/transactionstorage.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub time_created: time::Timespec, [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/transactionstorage.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(msg:String, created_time: time::Timespec) -> Transaction [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/transactionstorage.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn getRecord(self, updatedTime: time::Timespec) -> Vec [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/main.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let sock = TcpListener::bind(&addr).ok().expect("Failed to bind address"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/server.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mio::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use mio::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/connection.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, ByteBuf, ByteStr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transactionstorage::SqliteDB` [INFO] [stdout] --> src/connection.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use transactionstorage::SqliteDB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transactionstorage::Transaction` [INFO] [stdout] --> src/connection.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use transactionstorage::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/connection.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | try!(self.send_queue.pop() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error` [INFO] [stdout] --> src/server.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transactionstorage::SqliteDB` [INFO] [stdout] --> src/server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use transactionstorage::SqliteDB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transactionstorage::Transaction` [INFO] [stdout] --> src/server.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use transactionstorage::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/server.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:219:23 [INFO] [stdout] | [INFO] [stdout] 219 | let message = try!(self.find_connection_by_token(token).readable()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/character.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/gamehandler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/gamehandler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/storage.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/storage.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let mut file = try!(File::create(filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/storage.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | try!(file_ps.read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/transactionstorage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/transactionstorage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/transactionstorage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / macro_rules! error { [INFO] [stdout] 31 | | ($fmt:expr) => (print!(concat!($fmt, "\n"))); [INFO] [stdout] 32 | | ($fmt:expr, $($arg:tt)*) => (print!(concat!($fmt, "\n"), $($arg)*)); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/server.rs:126:31 [INFO] [stdout] | [INFO] [stdout] 126 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/server.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/server.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/server.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | PollOpt::edge() | PollOpt::oneshot() [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mioserver` [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[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> src/main.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | let mut event_loop = EventLoop::new().ok().expect("Failed to create event loop"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/connection.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | sock: TcpStream, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/connection.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | pub lastUpdate: time::Timespec, [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/connection.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | interest: EventSet, [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/connection.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(sock: TcpStream, token: Token, db:transactionstorage::SqliteDB) -> Connection { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time` [INFO] [stdout] --> src/connection.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | lastUpdate: time::get_time(), [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/connection.rs:104:55 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn set_last_update(&mut self, updatedTime: time::Timespec) [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/connection.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_last_update(self) -> time::Timespec [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time` [INFO] [stdout] --> src/connection.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | let now = time::get_time(); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/connection.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | let now = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use transactionstorage::io::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/connection.rs:379:49 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn register(&mut self, event_loop: &mut EventLoop) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/connection.rs:394:51 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn reregister(&mut self, event_loop: &mut EventLoop) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/server.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | sock: TcpListener, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/server.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl Handler for Server { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | fn timeout(&mut self, event_loop: &mut EventLoop, timeout: Self::Timeout) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/server.rs:45:83 [INFO] [stdout] | [INFO] [stdout] 45 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/server.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new(sock: TcpListener) -> Server { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn register(&mut self, event_loop: &mut EventLoop) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:136:47 [INFO] [stdout] | [INFO] [stdout] 136 | fn reregister(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:153:43 [INFO] [stdout] | [INFO] [stdout] 153 | fn accept(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn readable(&mut self, event_loop: &mut EventLoop, token: Token) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/server.rs:253:53 [INFO] [stdout] | [INFO] [stdout] 253 | fn reset_connection(&mut self, event_loop: &mut EventLoop, token: Token) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/transactionstorage.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub time_created: time::Timespec, [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/transactionstorage.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(msg:String, created_time: time::Timespec) -> Transaction [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/transactionstorage.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn getRecord(self, updatedTime: time::Timespec) -> Vec [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use transactionstorage::io::sys::time::Timespec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/main.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let sock = TcpListener::bind(&addr).ok().expect("Failed to bind address"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mio::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use mio::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/connection.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, ByteBuf, ByteStr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transactionstorage::SqliteDB` [INFO] [stdout] --> src/connection.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use transactionstorage::SqliteDB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transactionstorage::Transaction` [INFO] [stdout] --> src/connection.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use transactionstorage::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/connection.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | try!(self.send_queue.pop() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error` [INFO] [stdout] --> src/server.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transactionstorage::SqliteDB` [INFO] [stdout] --> src/server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use transactionstorage::SqliteDB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transactionstorage::Transaction` [INFO] [stdout] --> src/server.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use transactionstorage::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:219:23 [INFO] [stdout] | [INFO] [stdout] 219 | let message = try!(self.find_connection_by_token(token).readable()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/character.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/gamehandler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/gamehandler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/storage.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/storage.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let mut file = try!(File::create(filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/storage.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | try!(file_ps.read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/transactionstorage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/transactionstorage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/transactionstorage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / macro_rules! error { [INFO] [stdout] 31 | | ($fmt:expr) => (print!(concat!($fmt, "\n"))); [INFO] [stdout] 32 | | ($fmt:expr, $($arg:tt)*) => (print!(concat!($fmt, "\n"), $($arg)*)); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de549256c168a26d7409d5f6778c251e8d69342ca1c7c61de4b8efb13a862380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de549256c168a26d7409d5f6778c251e8d69342ca1c7c61de4b8efb13a862380", kill_on_drop: false }` [INFO] [stdout] de549256c168a26d7409d5f6778c251e8d69342ca1c7c61de4b8efb13a862380