[INFO] crate string_telephone 0.0.3 is already in cache [INFO] extracting crate string_telephone 0.0.3 into work/ex/beta-1.38-1/sources/1.37.0/reg/string_telephone/0.0.3 [INFO] extracting crate string_telephone 0.0.3 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/string_telephone/0.0.3 [INFO] validating manifest of string_telephone-0.0.3 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of string_telephone-0.0.3 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing string_telephone-0.0.3 [INFO] finished frobbing string_telephone-0.0.3 [INFO] frobbed toml for string_telephone-0.0.3 written to work/ex/beta-1.38-1/sources/1.37.0/reg/string_telephone/0.0.3/Cargo.toml [INFO] started frobbing string_telephone-0.0.3 [INFO] finished frobbing string_telephone-0.0.3 [INFO] frobbed toml for string_telephone-0.0.3 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/string_telephone/0.0.3/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing string_telephone-0.0.3 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/string_telephone/0.0.3:/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] b47c7ae37711fca058f31cd7b252e490331824a4d3171f46be8569295c9e68e6 [INFO] running `"docker" "start" "-a" "b47c7ae37711fca058f31cd7b252e490331824a4d3171f46be8569295c9e68e6"` [INFO] [stderr] Compiling string_telephone v0.0.3 (/opt/crater/workdir) [INFO] [stderr] error[E0658]: The attribute `unsafe_destructor` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/client.rs:307:3 [INFO] [stderr] | [INFO] [stderr] 307 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `unsafe_destructor` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/server.rs:283:3 [INFO] [stderr] | [INFO] [stderr] 283 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/packet.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | use std::old_io::{IoResult, IoError, OtherIoError}; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/packet.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | use std::old_io::BufReader; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::FromPrimitive` [INFO] [stderr] --> src/packet.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::num::FromPrimitive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `FromPrimitive` in `num` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stderr] --> src/client.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | use std::old_io::net::udp::UdpSocket; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stderr] --> src/client.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | use std::old_io::net::ip::SocketAddr; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/shared.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/client.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | use std::old_io::{IoResult, IoError, OtherIoError, TimedOut}; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/client.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use std::old_io::Timer; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::sync::mpsc::Select` [INFO] [stderr] --> src/client.rs:5:64 [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel, Select}; [INFO] [stderr] | ^^^^^^ no `Select` in `sync::mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stderr] --> src/server.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | use std::old_io::net::udp::UdpSocket; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stderr] --> src/server.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | use std::old_io::net::ip::{SocketAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/client.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/server.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | use std::old_io::{IoResult, TimedOut}; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::sync::mpsc::Select` [INFO] [stderr] --> src/server.rs:4:64 [INFO] [stderr] | [INFO] [stderr] 4 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel, Select}; [INFO] [stderr] | ^^^^^^ no `Select` in `sync::mpsc` [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/packet.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(FromPrimitive, Clone, Show, PartialEq, Copy)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `FromPrimitive` [INFO] [stderr] --> src/packet.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(FromPrimitive, Clone, Show, PartialEq, Copy)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket` [INFO] [stderr] --> src/client.rs:152:16 [INFO] [stderr] | [INFO] [stderr] 152 | match UdpSocket::bind(addr) { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `UdpSocket` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket` [INFO] [stderr] --> src/server.rs:125:15 [INFO] [stderr] | [INFO] [stderr] 125 | match UdpSocket::bind(addr) { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `UdpSocket` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stderr] --> src/client.rs:30:31 [INFO] [stderr] | [INFO] [stderr] 30 | fn reader_process(mut reader: UdpSocket, send: Sender, recv: Receiver, target_addr: SocketAddr, protocol_id: u32, timeout_period: Duration) { [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::net::UdpSocket; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/client.rs:30:106 [INFO] [stderr] | [INFO] [stderr] 30 | fn reader_process(mut reader: UdpSocket, send: Sender, recv: Receiver, target_addr: SocketAddr, protocol_id: u32, timeout_period: Duration) { [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 `UdpSocket` in this scope [INFO] [stderr] --> src/client.rs:87:31 [INFO] [stderr] | [INFO] [stderr] 87 | fn writer_process(mut writer: UdpSocket, recv: Receiver, target_addr: SocketAddr) { [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::net::UdpSocket; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/client.rs:87:79 [INFO] [stderr] | [INFO] [stderr] 87 | fn writer_process(mut writer: UdpSocket, recv: Receiver, target_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[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/client.rs:106:15 [INFO] [stderr] | [INFO] [stderr] 106 | pub 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[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/client.rs:108:22 [INFO] [stderr] | [INFO] [stderr] 108 | pub target_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[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/client.rs:151:26 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn connect(addr: SocketAddr, target_addr: SocketAddr, config: ConnectionConfig, client_connection_config: ClientConnectionConfig) -> IoResult> { [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 `SocketAddr` in this scope [INFO] [stderr] --> src/client.rs:151:51 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn connect(addr: SocketAddr, target_addr: SocketAddr, config: ConnectionConfig, client_connection_config: ClientConnectionConfig) -> IoResult> { [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 `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:13:26 [INFO] [stderr] | [INFO] [stderr] 13 | fn hash_sender(address: &SocketAddr) -> String { [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[E0531]: cannot find tuple struct/variant `Ipv4Addr` in this scope [INFO] [stderr] --> src/server.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | Ipv4Addr(a, b, c, d) => { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Ipv6Addr` in this scope [INFO] [stderr] --> src/server.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | Ipv6Addr(a, b, c, d, e, f, g, h) => { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 26 | 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[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:32:22 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new(addr: SocketAddr, timeout: i64) -> ClientInstance { [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 `UdpSocket` in this scope [INFO] [stderr] --> src/server.rs:55:31 [INFO] [stderr] | [INFO] [stderr] 55 | fn reader_process(mut reader: UdpSocket, reader_sub_out: Sender<(Packet, SocketAddr)>, reader_sub_in: Receiver, protocol_id: u32) { [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::net::UdpSocket; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:55:74 [INFO] [stderr] | [INFO] [stderr] 55 | fn reader_process(mut reader: UdpSocket, reader_sub_out: Sender<(Packet, SocketAddr)>, reader_sub_in: Receiver, protocol_id: u32) { [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 `UdpSocket` in this scope [INFO] [stderr] --> src/server.rs:90:31 [INFO] [stderr] | [INFO] [stderr] 90 | fn writer_process(mut writer: UdpSocket, _writer_sub_out: Sender, writer_sub_in: Receiver<(Packet, SocketAddr)>) { [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::net::UdpSocket; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:90:113 [INFO] [stderr] | [INFO] [stderr] 90 | fn writer_process(mut writer: UdpSocket, _writer_sub_out: Sender, writer_sub_in: Receiver<(Packet, 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[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:109:15 [INFO] [stderr] | [INFO] [stderr] 109 | pub 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[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:114:39 [INFO] [stderr] | [INFO] [stderr] 114 | reader_receive: Receiver<(Packet, 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[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:115:34 [INFO] [stderr] | [INFO] [stderr] 115 | writer_send: Sender<(Packet, 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[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:124:22 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn new(addr: SocketAddr, config: ConnectionConfig) -> IoResult> { [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 `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:162:59 [INFO] [stderr] | [INFO] [stderr] 162 | pub fn poll(&mut self) -> Option<(PacketOrCommand, 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[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:221:35 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn cull(&mut self) -> Vec { [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 `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:246:50 [INFO] [stderr] | [INFO] [stderr] 246 | pub fn send_to(&mut self, packet: &T, addr: &SocketAddr) -> bool { [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 `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:260:60 [INFO] [stderr] | [INFO] [stderr] 260 | pub fn send_to_many(&mut self, packet: &T, addrs: &Vec) { [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 `SocketAddr` in this scope [INFO] [stderr] --> src/server.rs:278:42 [INFO] [stderr] | [INFO] [stderr] 278 | pub fn all_connections(&self) -> Vec { [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[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #![feature(unsafe_destructor)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::old_io::net::udp::UdpSocket` [INFO] [stderr] --> src/client.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::old_io::net::udp::UdpSocket; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::old_io::net::ip::SocketAddr` [INFO] [stderr] --> src/client.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::old_io::net::ip::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::old_io::net::udp::UdpSocket` [INFO] [stderr] --> src/server.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::old_io::net::udp::UdpSocket; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Ipv4Addr`, `Ipv6Addr`, `SocketAddr` [INFO] [stderr] --> src/server.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | use std::old_io::net::ip::{SocketAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_be_u32` found for type `std::vec::Vec<_>` in the current scope [INFO] [stderr] --> src/packet.rs:105:16 [INFO] [stderr] | [INFO] [stderr] 105 | try!(w.write_be_u32(self.protocol_id)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_be_u16` found for type `std::vec::Vec<_>` in the current scope [INFO] [stderr] --> src/packet.rs:106:16 [INFO] [stderr] | [INFO] [stderr] 106 | try!(w.write_be_u16(self.sequence_id)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for type `std::vec::Vec<_>` in the current scope [INFO] [stderr] --> src/packet.rs:107:16 [INFO] [stderr] | [INFO] [stderr] 107 | try!(w.write_u8(self.packet_type as u8)); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write` found for type `std::vec::Vec<_>` in the current scope [INFO] [stderr] --> src/packet.rs:110:24 [INFO] [stderr] | [INFO] [stderr] 110 | try!(w.write(content.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::io::Write;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_to` found for type `[{integer}; 1024]` in the current scope [INFO] [stderr] --> src/client.rs:40:51 [INFO] [stderr] | [INFO] [stderr] 40 | match Packet::deserialize(buf.slice_to(amt)) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `spawn` found for type `std::thread::Thread` in the current scope [INFO] [stderr] --> src/client.rs:162:25 [INFO] [stderr] | [INFO] [stderr] 162 | Thread::spawn(move || { [INFO] [stderr] | ^^^^^ function or associated item not found in `std::thread::Thread` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `spawn` found for type `std::thread::Thread` in the current scope [INFO] [stderr] --> src/client.rs:168:25 [INFO] [stderr] | [INFO] [stderr] 168 | Thread::spawn(move || { [INFO] [stderr] | ^^^^^ function or associated item not found in `std::thread::Thread` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_to` found for type `[{integer}; 1024]` in the current scope [INFO] [stderr] --> src/server.rs:61:47 [INFO] [stderr] | [INFO] [stderr] 61 | match Packet::deserialize(buf.slice_to(amt)) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `spawn` found for type `std::thread::Thread` in the current scope [INFO] [stderr] --> src/server.rs:133:25 [INFO] [stderr] | [INFO] [stderr] 133 | Thread::spawn(move || { [INFO] [stderr] | ^^^^^ function or associated item not found in `std::thread::Thread` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `spawn` found for type `std::thread::Thread` in the current scope [INFO] [stderr] --> src/server.rs:140:25 [INFO] [stderr] | [INFO] [stderr] 140 | Thread::spawn(move || { [INFO] [stderr] | ^^^^^ function or associated item not found in `std::thread::Thread` [INFO] [stderr] [INFO] [stderr] error: aborting due to 57 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0554, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `string_telephone`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b47c7ae37711fca058f31cd7b252e490331824a4d3171f46be8569295c9e68e6"` [INFO] running `"docker" "rm" "-f" "b47c7ae37711fca058f31cd7b252e490331824a4d3171f46be8569295c9e68e6"` [INFO] [stdout] b47c7ae37711fca058f31cd7b252e490331824a4d3171f46be8569295c9e68e6