[INFO] crate zeromq 0.1.0-pre is already in cache [INFO] extracting crate zeromq 0.1.0-pre into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/zeromq/0.1.0-pre [INFO] extracting crate zeromq 0.1.0-pre into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/zeromq/0.1.0-pre [INFO] validating manifest of zeromq-0.1.0-pre on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of zeromq-0.1.0-pre on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing zeromq-0.1.0-pre [INFO] finished frobbing zeromq-0.1.0-pre [INFO] frobbed toml for zeromq-0.1.0-pre written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/zeromq/0.1.0-pre/Cargo.toml [INFO] started frobbing zeromq-0.1.0-pre [INFO] finished frobbing zeromq-0.1.0-pre [INFO] frobbed toml for zeromq-0.1.0-pre written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/zeromq/0.1.0-pre/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking zeromq-0.1.0-pre against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/zeromq/0.1.0-pre:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 575f263c1000bbc07377d22505fe473555b55ce455f68dda2af8e8582236f6b1 [INFO] running `"docker" "start" "-a" "575f263c1000bbc07377d22505fe473555b55ce455f68dda2af8e8582236f6b1"` [INFO] [stderr] Checking zeromq v0.1.0-pre (/opt/crater/workdir) [INFO] [stderr] error: expected type, found `|` [INFO] [stderr] --> src/socket_base.rs:184:36 [INFO] [stderr] | [INFO] [stderr] 184 | fn sync_until(&mut self, cond: |&SocketBase| -> bool) { [INFO] [stderr] | ^ expected type [INFO] [stderr] [INFO] [stderr] error: expected type, found `|` [INFO] [stderr] --> src/socket_base.rs:184:36 [INFO] [stderr] | [INFO] [stderr] 184 | fn sync_until(&mut self, cond: |&SocketBase| -> bool) { [INFO] [stderr] | ^ expected type [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::IoError`, `std::io::IoErrorKind` [INFO] [stderr] --> src/result.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{IoError, IoErrorKind}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^ no `IoErrorKind` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `IoError` in `io` [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{Error, IoErrorKind}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{IoError, ErrorKind}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::comm` [INFO] [stderr] --> src/socket_base.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | use std::comm::Select; [INFO] [stderr] | ^^^^ could not find `comm` in `std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stderr] --> src/socket_base.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | use std::io::net::ip::SocketAddr; [INFO] [stderr] | ^^^ could not find `net` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::Listener` [INFO] [stderr] --> src/socket_base.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::Listener; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Listener` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stderr] --> src/socket_base.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | use std::sync::{Arc, RWLock}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `RWLock` in `sync` [INFO] [stderr] | help: a similar name exists in the module: `RwLock` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::extensions` [INFO] [stderr] --> src/stream_engine.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::extensions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `extensions` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::TcpStream`, `std::io::Reader` [INFO] [stderr] --> src/stream_engine.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::{TcpStream, Reader}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | no `Reader` in `io` [INFO] [stderr] | | help: a similar name exists in the module: `Read` [INFO] [stderr] | no `TcpStream` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stderr] --> src/tcp_connecter.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::net::ip::SocketAddr; [INFO] [stderr] | ^^^ could not find `net` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stderr] --> src/stream_engine.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | use std::sync::{RWLock, Arc}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `RWLock` in `sync` [INFO] [stderr] | help: a similar name exists in the module: `RwLock` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::TcpStream`, `std::io::timer` [INFO] [stderr] --> src/tcp_connecter.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{TcpStream, timer}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^ no `timer` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `TcpStream` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::SignedInt` [INFO] [stderr] --> src/tcp_connecter.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::num::SignedInt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `SignedInt` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/tcp_connecter.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stderr] --> src/tcp_connecter.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | use std::sync::{RWLock, Arc}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `RWLock` in `sync` [INFO] [stderr] | help: a similar name exists in the module: `RwLock` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/tcp_connecter.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stderr] --> src/tcp_listener.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::net::tcp::TcpAcceptor; [INFO] [stderr] | ^^^ could not find `net` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::Acceptor` [INFO] [stderr] --> src/tcp_listener.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::Acceptor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Acceptor` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stderr] --> src/tcp_listener.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use std::sync::{RWLock, Arc}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `RWLock` in `sync` [INFO] [stderr] | help: a similar name exists in the module: `RwLock` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/options.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::Writer` [INFO] [stderr] --> src/v2_encoder.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{IoResult, Writer}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^ no `Writer` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `IoResult` in `io` [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Result, Writer}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{IoResult, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::Reader` [INFO] [stderr] --> src/v2_decoder.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::Reader; [INFO] [stderr] | ^^^^^^^^^------ [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `Read` [INFO] [stderr] | no `Reader` in `io` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `phase` in this scope [INFO] [stderr] --> src/lib.rs:35:3 [INFO] [stderr] | [INFO] [stderr] 35 | #[phase(plugin, link)] extern crate log; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/consts.rs:54:3 [INFO] [stderr] | [INFO] [stderr] 54 | #[deriving(PartialEq, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::IoError`, `std::io::IoErrorKind` [INFO] [stderr] --> src/result.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{IoError, IoErrorKind}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^ no `IoErrorKind` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `IoError` in `io` [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{Error, IoErrorKind}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{IoError, ErrorKind}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::comm` [INFO] [stderr] --> src/socket_base.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | use std::comm::Select; [INFO] [stderr] | ^^^^ could not find `comm` in `std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stderr] --> src/socket_base.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | use std::io::net::ip::SocketAddr; [INFO] [stderr] | ^^^ could not find `net` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::Listener` [INFO] [stderr] --> src/socket_base.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::Listener; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Listener` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stderr] --> src/socket_base.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | use std::sync::{Arc, RWLock}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `RWLock` in `sync` [INFO] [stderr] | help: a similar name exists in the module: `RwLock` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::extensions` [INFO] [stderr] --> src/stream_engine.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::extensions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `extensions` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::TcpStream`, `std::io::Reader` [INFO] [stderr] --> src/stream_engine.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::{TcpStream, Reader}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | no `Reader` in `io` [INFO] [stderr] | | help: a similar name exists in the module: `Read` [INFO] [stderr] | no `TcpStream` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stderr] --> src/tcp_connecter.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::net::ip::SocketAddr; [INFO] [stderr] | ^^^ could not find `net` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stderr] --> src/stream_engine.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | use std::sync::{RWLock, Arc}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `RWLock` in `sync` [INFO] [stderr] | help: a similar name exists in the module: `RwLock` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::TcpStream`, `std::io::timer` [INFO] [stderr] --> src/tcp_connecter.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{TcpStream, timer}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^ no `timer` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `TcpStream` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::SignedInt` [INFO] [stderr] --> src/tcp_connecter.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::num::SignedInt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `SignedInt` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/tcp_connecter.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stderr] --> src/tcp_connecter.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | use std::sync::{RWLock, Arc}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `RWLock` in `sync` [INFO] [stderr] | help: a similar name exists in the module: `RwLock` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/tcp_connecter.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stderr] --> src/tcp_listener.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::net::tcp::TcpAcceptor; [INFO] [stderr] | ^^^ could not find `net` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::Acceptor` [INFO] [stderr] --> src/tcp_listener.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::Acceptor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Acceptor` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stderr] --> src/tcp_listener.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use std::sync::{RWLock, Arc}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `RWLock` in `sync` [INFO] [stderr] | help: a similar name exists in the module: `RwLock` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/options.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::Writer` [INFO] [stderr] --> src/v2_encoder.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{IoResult, Writer}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^ no `Writer` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `IoResult` in `io` [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Result, Writer}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{IoResult, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::Reader` [INFO] [stderr] --> src/v2_decoder.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::Reader; [INFO] [stderr] | ^^^^^^^^^------ [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `Read` [INFO] [stderr] | no `Reader` in `io` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `phase` in this scope [INFO] [stderr] --> src/lib.rs:35:3 [INFO] [stderr] | [INFO] [stderr] 35 | #[phase(plugin, link)] extern crate log; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/consts.rs:54:3 [INFO] [stderr] | [INFO] [stderr] 54 | #[deriving(PartialEq, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/msg.rs:5:3 [INFO] [stderr] | [INFO] [stderr] 5 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/msg.rs:5:3 [INFO] [stderr] | [INFO] [stderr] 5 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/result.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/result.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TcpListener` in `io` [INFO] [stderr] --> src/socket_base.rs:72:44 [INFO] [stderr] | [INFO] [stderr] 72 | let listener = io::TcpListener::bind( [INFO] [stderr] | ^^^^^^^^^^^ could not find `TcpListener` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TcpListener` in `io` [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/socket_base.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | debug!("Sending {} to {}", msg, id); [INFO] [stderr] | ^^^^^ [INFO] [stderr] --> src/socket_base.rs:72:44 [INFO] [stderr] | [INFO] [stderr] 72 | let listener = io::TcpListener::bind( [INFO] [stderr] | ^^^^^^^^^^^ could not find `TcpListener` in `io` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/socket_base.rs:205:17 [INFO] [stderr] | [INFO] [stderr] 205 | debug!("New peer: {}", id); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/socket_base.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | debug!("Sending {} to {}", msg, id); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/stream_engine.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | debug!("Sending message: {} @ {} -> {}", msg, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/socket_base.rs:205:17 [INFO] [stderr] | [INFO] [stderr] 205 | debug!("New peer: {}", id); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info!` in this scope [INFO] [stderr] --> src/stream_engine.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | info!("Connection is made: {} -> {}", self.stream.socket_name(), self.stream.peer_name()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/stream_engine.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | debug!("Handshake is done: {} -> {}", self.stream.socket_name(), self.stream.peer_name()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/stream_engine.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | debug!("Feeding the peer channels to the socket object."); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `warn!` in this scope [INFO] [stderr] --> src/stream_engine.rs:99:13 [INFO] [stderr] | [INFO] [stderr] 99 | warn!("Socket object is gone!"); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/stream_engine.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | debug!("Sending message: {} @ {} -> {}", msg, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info!` in this scope [INFO] [stderr] --> src/stream_engine.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | info!("Connection is made: {} -> {}", self.stream.socket_name(), self.stream.peer_name()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/stream_engine.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | debug!("Handshake is done: {} -> {}", self.stream.socket_name(), self.stream.peer_name()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/stream_engine.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | debug!("Feeding the peer channels to the socket object."); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `warn!` in this scope [INFO] [stderr] --> src/stream_engine.rs:99:13 [INFO] [stderr] | [INFO] [stderr] 99 | warn!("Socket object is gone!"); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:51:19 [INFO] [stderr] | [INFO] [stderr] 51 | const HAUSNUMERO: int = 156384712; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:57:30 [INFO] [stderr] | [INFO] [stderr] 57 | EINVAL = libc::EINVAL as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:60:30 [INFO] [stderr] | [INFO] [stderr] 60 | EACCES = libc::EACCES as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:63:42 [INFO] [stderr] | [INFO] [stderr] 63 | ECONNREFUSED = libc::ECONNREFUSED as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:66:38 [INFO] [stderr] | [INFO] [stderr] 66 | ECONNRESET = libc::ECONNRESET as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:69:42 [INFO] [stderr] | [INFO] [stderr] 69 | ECONNABORTED = libc::ECONNABORTED as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:72:34 [INFO] [stderr] | [INFO] [stderr] 72 | ENOTCONN = libc::ENOTCONN as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:75:36 [INFO] [stderr] | [INFO] [stderr] 75 | ETIMEDOUT = libc::ETIMEDOUT as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | DoBind(String, Sender>), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 9 | DoBind(String, Send>), [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | DoConnect(String, Sender>), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 10 | DoConnect(String, Send>), [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/inproc.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | chan: Receiver, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:16:37 [INFO] [stderr] | [INFO] [stderr] 16 | inproc_binders: HashMap>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 16 | inproc_binders: HashMap>>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:17:44 [INFO] [stderr] | [INFO] [stderr] 17 | inproc_connecters: HashMap>>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 17 | inproc_connecters: HashMap>>>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/inproc.rs:33:46 [INFO] [stderr] | [INFO] [stderr] 33 | let (tx1, rx1) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/inproc.rs:34:46 [INFO] [stderr] | [INFO] [stderr] 34 | let (tx2, rx2) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/inproc.rs:45:42 [INFO] [stderr] | [INFO] [stderr] 45 | let (tx1, rx1) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/inproc.rs:46:42 [INFO] [stderr] | [INFO] [stderr] 46 | let (tx2, rx2) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:68:11 [INFO] [stderr] | [INFO] [stderr] 68 | chan: Sender, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 68 | chan: Send, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/inproc.rs:73:24 [INFO] [stderr] | [INFO] [stderr] 73 | let (tx, rx) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/inproc.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:88:27 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn chan(&self) -> Sender { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 88 | pub fn chan(&self) -> Send { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/msg.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(size: uint) -> Msg { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/rep.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | last_identity: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/rep.rs:24:51 [INFO] [stderr] | [INFO] [stderr] 24 | fn getsockopt(&self, option: SocketOption) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/req.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | last_identity: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/req.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | send_count: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/req.rs:25:51 [INFO] [stderr] | [INFO] [stderr] 25 | fn getsockopt(&self, option: SocketOption) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `PermissionDenied` in module `std::io` [INFO] [stderr] --> src/result.rs:29:26 [INFO] [stderr] | [INFO] [stderr] 29 | std::io::PermissionDenied => ErrorCode::EACCES, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::PermissionDenied; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `ConnectionRefused` in module `std::io` [INFO] [stderr] --> src/result.rs:30:26 [INFO] [stderr] | [INFO] [stderr] 30 | std::io::ConnectionRefused => ErrorCode::ECONNREFUSED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::ConnectionRefused; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `ConnectionReset` in module `std::io` [INFO] [stderr] --> src/result.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | std::io::ConnectionReset => ErrorCode::ECONNRESET, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::ConnectionReset; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `ConnectionAborted` in module `std::io` [INFO] [stderr] --> src/result.rs:32:26 [INFO] [stderr] | [INFO] [stderr] 32 | std::io::ConnectionAborted => ErrorCode::ECONNABORTED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::ConnectionAborted; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `NotConnected` in module `std::io` [INFO] [stderr] --> src/result.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | std::io::NotConnected => ErrorCode::ENOTCONN, [INFO] [stderr] | ^^^^^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::NotConnected; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `TimedOut` in module `std::io` [INFO] [stderr] --> src/result.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | std::io::TimedOut => ErrorCode::ETIMEDOUT, [INFO] [stderr] | ^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::TimedOut; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/socket.rs:30:59 [INFO] [stderr] | [INFO] [stderr] 30 | fn getsockopt(&self, option: consts::SocketOption) -> int; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | OnConnected(Sender>, Receiver>), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 20 | OnConnected(Send>, Receiver>), [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/socket_base.rs:20:35 [INFO] [stderr] | [INFO] [stderr] 20 | OnConnected(Sender>, Receiver>), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | sender: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 25 | sender: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/socket_base.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | receiver: Receiver>, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:30:20 [INFO] [stderr] | [INFO] [stderr] 30 | fn new(sender: Sender>, receiver: Receiver>) -> Peer { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 30 | fn new(sender: Send>, receiver: Receiver>) -> Peer { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/socket_base.rs:30:48 [INFO] [stderr] | [INFO] [stderr] 30 | fn new(sender: Sender>, receiver: Receiver>) -> Peer { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | tx: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 41 | tx: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/socket_base.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | rx: Receiver>, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:43:20 [INFO] [stderr] | [INFO] [stderr] 43 | peers: HashMap, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | ids: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:45:18 [INFO] [stderr] | [INFO] [stderr] 45 | inproc_chan: Sender, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 45 | inproc_chan: Send, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:49:22 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn new(chan: Sender) -> SocketBase { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 49 | pub fn new(chan: Send) -> SocketBase { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/socket_base.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | let (tx, rx) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/socket_base.rs:62:47 [INFO] [stderr] | [INFO] [stderr] 62 | self.options.write().type_ = type_ as int; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/socket_base.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | match from_str::(address) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/socket_base.rs:70:34 [INFO] [stderr] | [INFO] [stderr] 70 | match from_str::(address) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/socket_base.rs:94:23 [INFO] [stderr] | [INFO] [stderr] 94 | match from_str::(address) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/socket_base.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | match from_str::(address) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/socket_base.rs:111:63 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn getsockopt(&self, option: consts::SocketOption) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:115:38 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn recv_first(&mut self) -> (uint, Box) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:167:37 [INFO] [stderr] | [INFO] [stderr] 167 | pub fn recv_from(&mut self, id: uint) -> Box { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:172:35 [INFO] [stderr] | [INFO] [stderr] 172 | pub fn send_to(&mut self, id: uint, msg: Box) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:178:46 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn round_robin(&mut self, mut index: uint) -> (uint, uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:178:56 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn round_robin(&mut self, mut index: uint) -> (uint, uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:178:62 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn round_robin(&mut self, mut index: uint) -> (uint, uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/stream_engine.rs:14:25 [INFO] [stderr] | [INFO] [stderr] 14 | const V2_GREETING_SIZE: uint = 12; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/stream_engine.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | const NO_PROGRESS_LIMIT: uint = 1000; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/stream_engine.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | const SIGNATURE_SIZE: uint = 10; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/stream_engine.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | const REVISION_POS: uint = 10; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/stream_engine.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | fn stream_bytes_writer(chan: Receiver>>, mut stream: TcpStream, _waiter: Sender) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:22:86 [INFO] [stderr] | [INFO] [stderr] 22 | fn stream_bytes_writer(chan: Receiver>>, mut stream: TcpStream, _waiter: Sender) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 22 | fn stream_bytes_writer(chan: Receiver>>, mut stream: TcpStream, _waiter: Send) { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/stream_engine.rs:35:32 [INFO] [stderr] | [INFO] [stderr] 35 | fn stream_msg_writer(msg_chan: Receiver>, mut stream: TcpStream, encoder: V2Encoder) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:54:21 [INFO] [stderr] | [INFO] [stderr] 54 | chan_to_socket: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 54 | chan_to_socket: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:59:29 [INFO] [stderr] | [INFO] [stderr] 59 | _death_notifier: Option>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 59 | _death_notifier: Option>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/stream_engine.rs:67:36 [INFO] [stderr] | [INFO] [stderr] 67 | let (bytes_tx, bytes_rx) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/stream_engine.rs:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | let (waiter_tx, waiter_rx) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/stream_engine.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/stream_engine.rs:89:32 [INFO] [stderr] | [INFO] [stderr] 89 | let (msg_tx, msg_rx) = channel(); // TODO: replace with SyncSender [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/stream_engine.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/stream_engine.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | let (tx, rx) = channel(); // TODO: replace with SyncSender [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:117:37 [INFO] [stderr] | [INFO] [stderr] 117 | fn handshake(&mut self, sender: Sender>>) -> ZmqResult<(V2Decoder, V2Encoder)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 117 | fn handshake(&mut self, sender: Send>>) -> ZmqResult<(V2Decoder, V2Encoder)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:190:28 [INFO] [stderr] | [INFO] [stderr] 190 | chan: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 190 | chan: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:191:45 [INFO] [stderr] | [INFO] [stderr] 191 | death_notifier: Option>) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 191 | death_notifier: Option>) { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/stream_engine.rs:192:9 [INFO] [stderr] | [INFO] [stderr] 192 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | chan_to_socket: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 16 | chan_to_socket: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | addr: SocketAddr, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:33:36 [INFO] [stderr] | [INFO] [stderr] 33 | let (tx, rx) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:61:28 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn spawn_new(addr: SocketAddr, chan: Sender>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:61:46 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn spawn_new(addr: SocketAddr, chan: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 61 | pub fn spawn_new(addr: SocketAddr, chan: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TcpAcceptor` in this scope [INFO] [stderr] --> src/tcp_listener.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | acceptor: TcpAcceptor, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/tcp_listener.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | chan_to_socket: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 16 | chan_to_socket: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TcpAcceptor` in this scope [INFO] [stderr] --> src/tcp_listener.rs:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn spawn_new(acceptor: TcpAcceptor, chan: Sender>, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/tcp_listener.rs:39:51 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn spawn_new(acceptor: TcpAcceptor, chan: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 39 | pub fn spawn_new(acceptor: TcpAcceptor, chan: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/tcp_listener.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/options.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | pub type_: int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/options.rs:37:55 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn getsockopt(&self, option: SocketOption) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/options.rs:39:49 [INFO] [stderr] | [INFO] [stderr] 39 | SocketOption::TYPE => self.type_ as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/v2_decoder.rs:41:37 [INFO] [stderr] | [INFO] [stderr] 41 | if size != (size as uint) as u64 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/v2_decoder.rs:45:25 [INFO] [stderr] | [INFO] [stderr] 45 | size as uint [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/v2_decoder.rs:54:25 [INFO] [stderr] | [INFO] [stderr] 54 | size as uint [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/ctx.rs:35:32 [INFO] [stderr] | [INFO] [stderr] 35 | SocketType::REQ => box req::new(base) as Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/ctx.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | SocketType::REP => box rep::new(base) as Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/socket_base.rs:124:34 [INFO] [stderr] | [INFO] [stderr] 124 | let handle = box selector.handle(&peer.receiver); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/socket_base.rs:133:30 [INFO] [stderr] | [INFO] [stderr] 133 | let handle = box selector.handle(&self.rx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/stream_engine.rs:75:29 [INFO] [stderr] | [INFO] [stderr] 75 | let mut signature = box vec!(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/stream_engine.rs:163:29 [INFO] [stderr] | [INFO] [stderr] 163 | sender.send(box [1u8].to_vec()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/stream_engine.rs:170:37 [INFO] [stderr] | [INFO] [stderr] 170 | sender.send(box [self.options.read().type_ as u8].to_vec()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/stream_engine.rs:174:37 [INFO] [stderr] | [INFO] [stderr] 174 | sender.send(box [self.options.read().type_ as u8].to_vec()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/v2_decoder.rs:57:23 [INFO] [stderr] | [INFO] [stderr] 57 | let mut ret = box Msg::new(msg_size); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: malformed `unstable` attribute input [INFO] [stderr] --> src/lib.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | #![unstable] [INFO] [stderr] | ^^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ctx.rs:32:52 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn socket(&self, type_: SocketType) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ZmqSocket + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ctx.rs:35:58 [INFO] [stderr] | [INFO] [stderr] 35 | SocketType::REQ => box req::new(base) as Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ZmqSocket + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ctx.rs:36:58 [INFO] [stderr] | [INFO] [stderr] 36 | SocketType::REP => box rep::new(base) as Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ZmqSocket + Send` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::net::ip::SocketAddr` [INFO] [stderr] --> src/socket_base.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::io::net::ip::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::net::ip::SocketAddr` [INFO] [stderr] --> src/tcp_connecter.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::net::ip::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::net::tcp::TcpAcceptor` [INFO] [stderr] --> src/tcp_listener.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::net::tcp::TcpAcceptor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: stability attributes may not be used outside of the standard library [INFO] [stderr] --> src/lib.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | #![unstable] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/lib.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | #[phase(plugin, link)] extern crate log; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | extern crate libc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:57:14 [INFO] [stderr] | [INFO] [stderr] 57 | EINVAL = libc::EINVAL as int, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | EACCES = libc::EACCES as int, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:63:20 [INFO] [stderr] | [INFO] [stderr] 63 | ECONNREFUSED = libc::ECONNREFUSED as int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:66:18 [INFO] [stderr] | [INFO] [stderr] 66 | ECONNRESET = libc::ECONNRESET as int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:69:20 [INFO] [stderr] | [INFO] [stderr] 69 | ECONNABORTED = libc::ECONNABORTED as int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:72:16 [INFO] [stderr] | [INFO] [stderr] 72 | ENOTCONN = libc::ENOTCONN as int, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | ETIMEDOUT = libc::ETIMEDOUT as int, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:51:19 [INFO] [stderr] | [INFO] [stderr] 51 | const HAUSNUMERO: int = 156384712; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:57:30 [INFO] [stderr] | [INFO] [stderr] 57 | EINVAL = libc::EINVAL as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:60:30 [INFO] [stderr] | [INFO] [stderr] 60 | EACCES = libc::EACCES as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:63:42 [INFO] [stderr] | [INFO] [stderr] 63 | ECONNREFUSED = libc::ECONNREFUSED as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:66:38 [INFO] [stderr] | [INFO] [stderr] 66 | ECONNRESET = libc::ECONNRESET as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:69:42 [INFO] [stderr] | [INFO] [stderr] 69 | ECONNABORTED = libc::ECONNABORTED as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:72:34 [INFO] [stderr] | [INFO] [stderr] 72 | ENOTCONN = libc::ENOTCONN as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/consts.rs:75:36 [INFO] [stderr] | [INFO] [stderr] 75 | ETIMEDOUT = libc::ETIMEDOUT as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | DoBind(String, Sender>), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 9 | DoBind(String, Send>), [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | DoConnect(String, Sender>), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 10 | DoConnect(String, Send>), [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/inproc.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | chan: Receiver, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:16:37 [INFO] [stderr] | [INFO] [stderr] 16 | inproc_binders: HashMap>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 16 | inproc_binders: HashMap>>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:17:44 [INFO] [stderr] | [INFO] [stderr] 17 | inproc_connecters: HashMap>>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 17 | inproc_connecters: HashMap>>>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/inproc.rs:33:46 [INFO] [stderr] | [INFO] [stderr] 33 | let (tx1, rx1) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/inproc.rs:34:46 [INFO] [stderr] | [INFO] [stderr] 34 | let (tx2, rx2) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/inproc.rs:45:42 [INFO] [stderr] | [INFO] [stderr] 45 | let (tx1, rx1) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/inproc.rs:46:42 [INFO] [stderr] | [INFO] [stderr] 46 | let (tx2, rx2) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:68:11 [INFO] [stderr] | [INFO] [stderr] 68 | chan: Sender, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 68 | chan: Send, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/inproc.rs:73:24 [INFO] [stderr] | [INFO] [stderr] 73 | let (tx, rx) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/inproc.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/inproc.rs:88:27 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn chan(&self) -> Sender { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 88 | pub fn chan(&self) -> Send { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/msg.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(size: uint) -> Msg { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/rep.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | last_identity: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/rep.rs:24:51 [INFO] [stderr] | [INFO] [stderr] 24 | fn getsockopt(&self, option: SocketOption) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/req.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | last_identity: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/req.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | send_count: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/req.rs:25:51 [INFO] [stderr] | [INFO] [stderr] 25 | fn getsockopt(&self, option: SocketOption) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `PermissionDenied` in module `std::io` [INFO] [stderr] --> src/result.rs:29:26 [INFO] [stderr] | [INFO] [stderr] 29 | std::io::PermissionDenied => ErrorCode::EACCES, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::PermissionDenied; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `ConnectionRefused` in module `std::io` [INFO] [stderr] --> src/result.rs:30:26 [INFO] [stderr] | [INFO] [stderr] 30 | std::io::ConnectionRefused => ErrorCode::ECONNREFUSED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::ConnectionRefused; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `ConnectionReset` in module `std::io` [INFO] [stderr] --> src/result.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | std::io::ConnectionReset => ErrorCode::ECONNRESET, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::ConnectionReset; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `ConnectionAborted` in module `std::io` [INFO] [stderr] --> src/result.rs:32:26 [INFO] [stderr] | [INFO] [stderr] 32 | std::io::ConnectionAborted => ErrorCode::ECONNABORTED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::ConnectionAborted; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `NotConnected` in module `std::io` [INFO] [stderr] --> src/result.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | std::io::NotConnected => ErrorCode::ENOTCONN, [INFO] [stderr] | ^^^^^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::NotConnected; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `TimedOut` in module `std::io` [INFO] [stderr] --> src/result.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | std::io::TimedOut => ErrorCode::ETIMEDOUT, [INFO] [stderr] | ^^^^^^^^ not found in `std::io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::ErrorKind::TimedOut; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/socket.rs:30:59 [INFO] [stderr] | [INFO] [stderr] 30 | fn getsockopt(&self, option: consts::SocketOption) -> int; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | OnConnected(Sender>, Receiver>), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 20 | OnConnected(Send>, Receiver>), [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/socket_base.rs:20:35 [INFO] [stderr] | [INFO] [stderr] 20 | OnConnected(Sender>, Receiver>), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | sender: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 25 | sender: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/socket_base.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | receiver: Receiver>, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:30:20 [INFO] [stderr] | [INFO] [stderr] 30 | fn new(sender: Sender>, receiver: Receiver>) -> Peer { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 30 | fn new(sender: Send>, receiver: Receiver>) -> Peer { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/socket_base.rs:30:48 [INFO] [stderr] | [INFO] [stderr] 30 | fn new(sender: Sender>, receiver: Receiver>) -> Peer { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | tx: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 41 | tx: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/socket_base.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | rx: Receiver>, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:43:20 [INFO] [stderr] | [INFO] [stderr] 43 | peers: HashMap, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | ids: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:45:18 [INFO] [stderr] | [INFO] [stderr] 45 | inproc_chan: Sender, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 45 | inproc_chan: Send, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/socket_base.rs:49:22 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn new(chan: Sender) -> SocketBase { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 49 | pub fn new(chan: Send) -> SocketBase { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/socket_base.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | let (tx, rx) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/socket_base.rs:62:47 [INFO] [stderr] | [INFO] [stderr] 62 | self.options.write().type_ = type_ as int; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/socket_base.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | match from_str::(address) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/socket_base.rs:70:34 [INFO] [stderr] | [INFO] [stderr] 70 | match from_str::(address) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/socket_base.rs:94:23 [INFO] [stderr] | [INFO] [stderr] 94 | match from_str::(address) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/socket_base.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | match from_str::(address) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set` found for type `std::collections::hash_map::VacantEntry<'_, _, _>` in the current scope [INFO] [stderr] --> src/inproc.rs:53:35 [INFO] [stderr] | [INFO] [stderr] 53 | entry.set(vec!()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/socket_base.rs:111:63 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn getsockopt(&self, option: consts::SocketOption) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:115:38 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn recv_first(&mut self) -> (uint, Box) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:167:37 [INFO] [stderr] | [INFO] [stderr] 167 | pub fn recv_from(&mut self, id: uint) -> Box { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:172:35 [INFO] [stderr] | [INFO] [stderr] 172 | pub fn send_to(&mut self, id: uint, msg: Box) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:178:46 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn round_robin(&mut self, mut index: uint) -> (uint, uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:178:56 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn round_robin(&mut self, mut index: uint) -> (uint, uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/socket_base.rs:178:62 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn round_robin(&mut self, mut index: uint) -> (uint, uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/stream_engine.rs:14:25 [INFO] [stderr] | [INFO] [stderr] 14 | const V2_GREETING_SIZE: uint = 12; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/stream_engine.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | const NO_PROGRESS_LIMIT: uint = 1000; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/stream_engine.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | const SIGNATURE_SIZE: uint = 10; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/stream_engine.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | const REVISION_POS: uint = 10; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/stream_engine.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | fn stream_bytes_writer(chan: Receiver>>, mut stream: TcpStream, _waiter: Sender) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:22:86 [INFO] [stderr] | [INFO] [stderr] 22 | fn stream_bytes_writer(chan: Receiver>>, mut stream: TcpStream, _waiter: Sender) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 22 | fn stream_bytes_writer(chan: Receiver>>, mut stream: TcpStream, _waiter: Send) { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/stream_engine.rs:35:32 [INFO] [stderr] | [INFO] [stderr] 35 | fn stream_msg_writer(msg_chan: Receiver>, mut stream: TcpStream, encoder: V2Encoder) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:54:21 [INFO] [stderr] | [INFO] [stderr] 54 | chan_to_socket: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 54 | chan_to_socket: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:59:29 [INFO] [stderr] | [INFO] [stderr] 59 | _death_notifier: Option>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 59 | _death_notifier: Option>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/stream_engine.rs:67:36 [INFO] [stderr] | [INFO] [stderr] 67 | let (bytes_tx, bytes_rx) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/stream_engine.rs:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | let (waiter_tx, waiter_rx) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/stream_engine.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/stream_engine.rs:89:32 [INFO] [stderr] | [INFO] [stderr] 89 | let (msg_tx, msg_rx) = channel(); // TODO: replace with SyncSender [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/stream_engine.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/stream_engine.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | let (tx, rx) = channel(); // TODO: replace with SyncSender [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:117:37 [INFO] [stderr] | [INFO] [stderr] 117 | fn handshake(&mut self, sender: Sender>>) -> ZmqResult<(V2Decoder, V2Encoder)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 117 | fn handshake(&mut self, sender: Send>>) -> ZmqResult<(V2Decoder, V2Encoder)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:190:28 [INFO] [stderr] | [INFO] [stderr] 190 | chan: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 190 | chan: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/stream_engine.rs:191:45 [INFO] [stderr] | [INFO] [stderr] 191 | death_notifier: Option>) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 191 | death_notifier: Option>) { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/stream_engine.rs:192:9 [INFO] [stderr] | [INFO] [stderr] 192 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | chan_to_socket: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 16 | chan_to_socket: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | addr: SocketAddr, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:33:36 [INFO] [stderr] | [INFO] [stderr] 33 | let (tx, rx) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:61:28 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn spawn_new(addr: SocketAddr, chan: Sender>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::net::SocketAddr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:61:46 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn spawn_new(addr: SocketAddr, chan: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 61 | pub fn spawn_new(addr: SocketAddr, chan: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/tcp_connecter.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TcpAcceptor` in this scope [INFO] [stderr] --> src/tcp_listener.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | acceptor: TcpAcceptor, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/tcp_listener.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | chan_to_socket: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 16 | chan_to_socket: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TcpAcceptor` in this scope [INFO] [stderr] --> src/tcp_listener.rs:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn spawn_new(acceptor: TcpAcceptor, chan: Sender>, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/tcp_listener.rs:39:51 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn spawn_new(acceptor: TcpAcceptor, chan: Sender>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 39 | pub fn spawn_new(acceptor: TcpAcceptor, chan: Send>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/tcp_listener.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/options.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | pub type_: int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/options.rs:37:55 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn getsockopt(&self, option: SocketOption) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/options.rs:39:49 [INFO] [stderr] | [INFO] [stderr] 39 | SocketOption::TYPE => self.type_ as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/socket_base.rs:73:66 [INFO] [stderr] | [INFO] [stderr] 73 | format!("{}:{}", addr.ip, addr.port).as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/v2_decoder.rs:41:37 [INFO] [stderr] | [INFO] [stderr] 41 | if size != (size as uint) as u64 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/v2_decoder.rs:45:25 [INFO] [stderr] | [INFO] [stderr] 45 | size as uint [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/v2_decoder.rs:54:25 [INFO] [stderr] | [INFO] [stderr] 54 | size as uint [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:69:46 [INFO] [stderr] | [INFO] [stderr] 69 | assert_eq!(super::SocketType::REQ as int, 3); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:76:87 [INFO] [stderr] | [INFO] [stderr] 76 | assert_eq!(s.getsockopt(super::SocketOption::TYPE), super::SocketType::REQ as int); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/lib.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | spawn(move || { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/ctx.rs:35:32 [INFO] [stderr] | [INFO] [stderr] 35 | SocketType::REQ => box req::new(base) as Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/socket_base.rs:83:69 [INFO] [stderr] | [INFO] [stderr] 83 | self.inproc_chan.send(InprocCommand::DoBind(String::from_str(address), self.tx.clone())); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/ctx.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | SocketType::REP => box rep::new(base) as Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/rep.rs:89:19 [INFO] [stderr] | [INFO] [stderr] 89 | let msg = box Msg::new(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/socket_base.rs:104:72 [INFO] [stderr] | [INFO] [stderr] 104 | self.inproc_chan.send(InprocCommand::DoConnect(String::from_str(address), self.tx.clone())); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/socket_base.rs:124:34 [INFO] [stderr] | [INFO] [stderr] 124 | let handle = box selector.handle(&peer.receiver); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/socket_base.rs:133:30 [INFO] [stderr] | [INFO] [stderr] 133 | let handle = box selector.handle(&self.rx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/stream_engine.rs:75:29 [INFO] [stderr] | [INFO] [stderr] 75 | let mut signature = box vec!(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/stream_engine.rs:163:29 [INFO] [stderr] | [INFO] [stderr] 163 | sender.send(box [1u8].to_vec()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/stream_engine.rs:170:37 [INFO] [stderr] | [INFO] [stderr] 170 | sender.send(box [self.options.read().type_ as u8].to_vec()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/stream_engine.rs:174:37 [INFO] [stderr] | [INFO] [stderr] 174 | sender.send(box [self.options.read().type_ as u8].to_vec()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/v2_decoder.rs:57:23 [INFO] [stderr] | [INFO] [stderr] 57 | let mut ret = box Msg::new(msg_size); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/lib.rs:114:28 [INFO] [stderr] | [INFO] [stderr] 114 | let mut msg_sent = box super::Msg::new(4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/lib.rs:131:32 [INFO] [stderr] | [INFO] [stderr] 131 | let mut msg_sent = box super::Msg::new(4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sync_until` found for type `&mut socket_base::SocketBase` in the current scope [INFO] [stderr] --> src/socket_base.rs:117:18 [INFO] [stderr] | [INFO] [stderr] 117 | self.sync_until(|s| { s.peers.len() > 0 }); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] error: malformed `unstable` attribute input [INFO] [stderr] --> src/lib.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | #![unstable] [INFO] [stderr] | ^^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `mut0` found for type `&mut (std::option::Option<_>, {integer})` in the current scope [INFO] [stderr] --> src/socket_base.rs:127:65 [INFO] [stderr] | [INFO] [stderr] 127 | let handle = mapping.get_mut(&hid).unwrap().mut0().as_mut().unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ctx.rs:32:52 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn socket(&self, type_: SocketType) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ZmqSocket + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ctx.rs:35:58 [INFO] [stderr] | [INFO] [stderr] 35 | SocketType::REQ => box req::new(base) as Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ZmqSocket + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ctx.rs:36:58 [INFO] [stderr] | [INFO] [stderr] 36 | SocketType::REP => box rep::new(base) as Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ZmqSocket + Send` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::net::ip::SocketAddr` [INFO] [stderr] --> src/socket_base.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::io::net::ip::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::net::ip::SocketAddr` [INFO] [stderr] --> src/tcp_connecter.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::net::ip::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::net::tcp::TcpAcceptor` [INFO] [stderr] --> src/tcp_listener.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::net::tcp::TcpAcceptor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sync_until` found for type `&mut socket_base::SocketBase` in the current scope [INFO] [stderr] --> src/socket_base.rs:168:14 [INFO] [stderr] | [INFO] [stderr] 168 | self.sync_until(|s| { s.peers.contains_key(&id) }); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sync_until` found for type `&mut socket_base::SocketBase` in the current scope [INFO] [stderr] --> src/socket_base.rs:174:14 [INFO] [stderr] | [INFO] [stderr] 174 | self.sync_until(|s| { s.peers.contains_key(&id) }); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sync_until` found for type `&mut socket_base::SocketBase` in the current scope [INFO] [stderr] --> src/socket_base.rs:179:14 [INFO] [stderr] | [INFO] [stderr] 179 | self.sync_until(|s| { s.ids.len() > 0 }); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `find_str` found for type `&'r str` in the current scope [INFO] [stderr] --> src/socket_base.rs:216:15 [INFO] [stderr] | [INFO] [stderr] 216 | match uri.find_str("://") { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_to` found for type `&'r str` in the current scope [INFO] [stderr] --> src/socket_base.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | let protocol = uri.slice_to(pos); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_from` found for type `&'r str` in the current scope [INFO] [stderr] --> src/socket_base.rs:219:31 [INFO] [stderr] | [INFO] [stderr] 219 | let address = uri.slice_from(pos + 3); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: stability attributes may not be used outside of the standard library [INFO] [stderr] --> src/lib.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | #![unstable] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/lib.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | #[phase(plugin, link)] extern crate log; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | extern crate libc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:57:14 [INFO] [stderr] | [INFO] [stderr] 57 | EINVAL = libc::EINVAL as int, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | EACCES = libc::EACCES as int, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:63:20 [INFO] [stderr] | [INFO] [stderr] 63 | ECONNREFUSED = libc::ECONNREFUSED as int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:66:18 [INFO] [stderr] | [INFO] [stderr] 66 | ECONNRESET = libc::ECONNRESET as int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:69:20 [INFO] [stderr] | [INFO] [stderr] 69 | ECONNABORTED = libc::ECONNABORTED as int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:72:16 [INFO] [stderr] | [INFO] [stderr] 72 | ENOTCONN = libc::ENOTCONN as int, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/consts.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | ETIMEDOUT = libc::ETIMEDOUT as int, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `push_all` found for type `std::boxed::Box>` in the current scope [INFO] [stderr] --> src/stream_engine.rs:78:78 [INFO] [stderr] | [INFO] [stderr] 78 | (self.options.read().identity_size + 1) as u64, 8, |v| signature.push_all(v)); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/stream_engine.rs:118:39 [INFO] [stderr] | [INFO] [stderr] 118 | let mut greeting_recv = [0u8, ..V2_GREETING_SIZE]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ expected u8, found struct `std::ops::RangeTo` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `std::ops::RangeTo<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/tcp_connecter.rs:27:85 [INFO] [stderr] | [INFO] [stderr] 27 | match TcpStream::connect(format!("{}:{}", self.addr.ip, self.addr.port).as_slice()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 163 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | assert_eq!(s.bind("").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: Could not compile `zeromq`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | assert_eq!(s.bind("").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | assert_eq!(s.bind("").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | assert_eq!(s.bind("://127").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | assert_eq!(s.bind("://127").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | assert_eq!(s.bind("://127").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | assert_eq!(s.bind("tcp://").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | assert_eq!(s.bind("tcp://").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | assert_eq!(s.bind("tcp://").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | assert_eq!(s.bind("tcpp://127.0.0.1:12345").unwrap_err().code, super::ErrorCode::EPROTONOSUPPORT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | assert_eq!(s.bind("tcpp://127.0.0.1:12345").unwrap_err().code, super::ErrorCode::EPROTONOSUPPORT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | assert_eq!(s.bind("tcpp://127.0.0.1:12345").unwrap_err().code, super::ErrorCode::EPROTONOSUPPORT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | assert_eq!(s.bind("tcp://10.0.1.255:12345").unwrap_err().code, super::ErrorCode::ECONNREFUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | assert_eq!(s.bind("tcp://10.0.1.255:12345").unwrap_err().code, super::ErrorCode::ECONNREFUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | assert_eq!(s.bind("tcp://10.0.1.255:12345").unwrap_err().code, super::ErrorCode::ECONNREFUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | assert_eq!(s.bind("tcp://10.0.1.1:12z45").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | assert_eq!(s.bind("tcp://10.0.1.1:12z45").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | assert_eq!(s.bind("tcp://10.0.1.1:12z45").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | assert_eq!(s.bind("tcp://127.0.0.1:12345").unwrap_err().code, super::ErrorCode::ECONNREFUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | assert_eq!(s.bind("tcp://127.0.0.1:12345").unwrap_err().code, super::ErrorCode::ECONNREFUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | assert_eq!(s.bind("tcp://127.0.0.1:12345").unwrap_err().code, super::ErrorCode::ECONNREFUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | assert_eq!(s.connect("").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | assert_eq!(s.connect("").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | assert_eq!(s.connect("").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | assert_eq!(s.connect("://127").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | assert_eq!(s.connect("://127").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | assert_eq!(s.connect("://127").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(s.connect("tcp://").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(s.connect("tcp://").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(s.connect("tcp://").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | assert_eq!(s.connect("tcpp://127.0.0.1:12346").unwrap_err().code, super::ErrorCode::EPROTONOSUPPORT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | assert_eq!(s.connect("tcpp://127.0.0.1:12346").unwrap_err().code, super::ErrorCode::EPROTONOSUPPORT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | assert_eq!(s.connect("tcpp://127.0.0.1:12346").unwrap_err().code, super::ErrorCode::EPROTONOSUPPORT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/lib.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | assert_eq!(s.connect("tcp://10.0.1.1:12z46").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | assert_eq!(s.connect("tcp://10.0.1.1:12z46").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/lib.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | assert_eq!(s.connect("tcp://10.0.1.1:12z46").unwrap_err().code, super::ErrorCode::EINVAL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `push_all` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/lib.rs:115:23 [INFO] [stderr] | [INFO] [stderr] 115 | msg_sent.data.push_all([65u8, 66u8, 67u8, 68u8].as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `[u8; 4]` in the current scope [INFO] [stderr] --> src/lib.rs:115:57 [INFO] [stderr] | [INFO] [stderr] 115 | msg_sent.data.push_all([65u8, 66u8, 67u8, 68u8].as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::array::FixedSizeArray;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `std::result::Result, result::ZmqError>` in the current scope [INFO] [stderr] --> src/lib.rs:118:39 [INFO] [stderr] | [INFO] [stderr] 118 | let msg_recv = rep.msg_recv().unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `unwrap` exists but the following trait bounds were not satisfied: [INFO] [stderr] `result::ZmqError : std::fmt::Debug` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `push_all` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/lib.rs:132:27 [INFO] [stderr] | [INFO] [stderr] 132 | msg_sent.data.push_all([65u8, 66u8, 67u8, 68u8].as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `[u8; 4]` in the current scope [INFO] [stderr] --> src/lib.rs:132:61 [INFO] [stderr] | [INFO] [stderr] 132 | msg_sent.data.push_all([65u8, 66u8, 67u8, 68u8].as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::array::FixedSizeArray;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `std::result::Result, result::ZmqError>` in the current scope [INFO] [stderr] --> src/lib.rs:138:39 [INFO] [stderr] | [INFO] [stderr] 138 | let msg_recv = rep.msg_recv().unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `unwrap` exists but the following trait bounds were not satisfied: [INFO] [stderr] `result::ZmqError : std::fmt::Debug` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set` found for type `std::collections::hash_map::VacantEntry<'_, _, _>` in the current scope [INFO] [stderr] --> src/inproc.rs:53:35 [INFO] [stderr] | [INFO] [stderr] 53 | entry.set(vec!()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `consts::ErrorCode` [INFO] [stderr] --> src/rep.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | assert_eq!(s.msg_send(msg).unwrap_err().code, ErrorCode::EFSM); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | consts::ErrorCode [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `consts::ErrorCode` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/rep.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | assert_eq!(s.msg_send(msg).unwrap_err().code, ErrorCode::EFSM); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `consts::ErrorCode` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/rep.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | assert_eq!(s.msg_send(msg).unwrap_err().code, ErrorCode::EFSM); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `consts::ErrorCode` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `consts::ErrorCode` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&consts::ErrorCode` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_err` found for type `std::result::Result, result::ZmqError>` in the current scope [INFO] [stderr] --> src/req.rs:96:33 [INFO] [stderr] | [INFO] [stderr] 96 | assert_eq!(s.msg_recv().unwrap_err().code, ErrorCode::EFSM); [INFO] [stderr] | ^^^^^^^^^^ help: there is a method with a similar name: `unwrap_or` [INFO] [stderr] | [INFO] [stderr] = note: the method `unwrap_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::boxed::Box : std::fmt::Debug` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/socket_base.rs:73:66 [INFO] [stderr] | [INFO] [stderr] 73 | format!("{}:{}", addr.ip, addr.port).as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/socket_base.rs:83:69 [INFO] [stderr] | [INFO] [stderr] 83 | self.inproc_chan.send(InprocCommand::DoBind(String::from_str(address), self.tx.clone())); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/socket_base.rs:104:72 [INFO] [stderr] | [INFO] [stderr] 104 | self.inproc_chan.send(InprocCommand::DoConnect(String::from_str(address), self.tx.clone())); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sync_until` found for type `&mut socket_base::SocketBase` in the current scope [INFO] [stderr] --> src/socket_base.rs:117:18 [INFO] [stderr] | [INFO] [stderr] 117 | self.sync_until(|s| { s.peers.len() > 0 }); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `mut0` found for type `&mut (std::option::Option<_>, {integer})` in the current scope [INFO] [stderr] --> src/socket_base.rs:127:65 [INFO] [stderr] | [INFO] [stderr] 127 | let handle = mapping.get_mut(&hid).unwrap().mut0().as_mut().unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sync_until` found for type `&mut socket_base::SocketBase` in the current scope [INFO] [stderr] --> src/socket_base.rs:168:14 [INFO] [stderr] | [INFO] [stderr] 168 | self.sync_until(|s| { s.peers.contains_key(&id) }); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sync_until` found for type `&mut socket_base::SocketBase` in the current scope [INFO] [stderr] --> src/socket_base.rs:174:14 [INFO] [stderr] | [INFO] [stderr] 174 | self.sync_until(|s| { s.peers.contains_key(&id) }); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sync_until` found for type `&mut socket_base::SocketBase` in the current scope [INFO] [stderr] --> src/socket_base.rs:179:14 [INFO] [stderr] | [INFO] [stderr] 179 | self.sync_until(|s| { s.ids.len() > 0 }); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `find_str` found for type `&'r str` in the current scope [INFO] [stderr] --> src/socket_base.rs:216:15 [INFO] [stderr] | [INFO] [stderr] 216 | match uri.find_str("://") { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_to` found for type `&'r str` in the current scope [INFO] [stderr] --> src/socket_base.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | let protocol = uri.slice_to(pos); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_from` found for type `&'r str` in the current scope [INFO] [stderr] --> src/socket_base.rs:219:31 [INFO] [stderr] | [INFO] [stderr] 219 | let address = uri.slice_from(pos + 3); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `push_all` found for type `std::boxed::Box>` in the current scope [INFO] [stderr] --> src/stream_engine.rs:78:78 [INFO] [stderr] | [INFO] [stderr] 78 | (self.options.read().identity_size + 1) as u64, 8, |v| signature.push_all(v)); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/stream_engine.rs:118:39 [INFO] [stderr] | [INFO] [stderr] 118 | let mut greeting_recv = [0u8, ..V2_GREETING_SIZE]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ expected u8, found struct `std::ops::RangeTo` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `std::ops::RangeTo<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/tcp_connecter.rs:27:85 [INFO] [stderr] | [INFO] [stderr] 27 | match TcpStream::connect(format!("{}:{}", self.addr.ip, self.addr.port).as_slice()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 215 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0369, E0412, E0425, E0432, E0433, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `zeromq`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "575f263c1000bbc07377d22505fe473555b55ce455f68dda2af8e8582236f6b1"` [INFO] running `"docker" "rm" "-f" "575f263c1000bbc07377d22505fe473555b55ce455f68dda2af8e8582236f6b1"` [INFO] [stdout] 575f263c1000bbc07377d22505fe473555b55ce455f68dda2af8e8582236f6b1