[INFO] fetching crate string_telephone 0.0.3... [INFO] testing string_telephone-0.0.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate string_telephone 0.0.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate string_telephone 0.0.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate string_telephone 0.0.3 [INFO] finished tweaking crates.io crate string_telephone 0.0.3 [INFO] tweaked toml for crates.io crate string_telephone 0.0.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d84e9cb123030b0d90d94793df6e4d99240dd7cafa5f6d1e8ec346ffe60c28f5 [INFO] running `Command { std: "docker" "start" "-a" "d84e9cb123030b0d90d94793df6e4d99240dd7cafa5f6d1e8ec346ffe60c28f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d84e9cb123030b0d90d94793df6e4d99240dd7cafa5f6d1e8ec346ffe60c28f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d84e9cb123030b0d90d94793df6e4d99240dd7cafa5f6d1e8ec346ffe60c28f5", kill_on_drop: false }` [INFO] [stdout] d84e9cb123030b0d90d94793df6e4d99240dd7cafa5f6d1e8ec346ffe60c28f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd00a0ae9bfff5b20471bb6bb0d16c09d0d1fd8c3639a6d9602970bde4b98f25 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cd00a0ae9bfff5b20471bb6bb0d16c09d0d1fd8c3639a6d9602970bde4b98f25", kill_on_drop: false }` [INFO] [stderr] Compiling string_telephone v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::{IoResult, IoError, OtherIoError}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/packet.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_io::BufReader; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::FromPrimitive` [INFO] [stdout] --> src/packet.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `FromPrimitive` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/client.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::net::udp::UdpSocket; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/client.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_io::net::ip::SocketAddr; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/shared.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/client.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io::{IoResult, IoError, OtherIoError, TimedOut}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/client.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io::Timer; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::mpsc::Select` [INFO] [stdout] --> src/client.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel, Select}; [INFO] [stdout] | ^^^^^^ no `Select` in `sync::mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/server.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::net::udp::UdpSocket; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/server.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_io::net::ip::{SocketAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/client.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/server.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io::{IoResult, TimedOut}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::mpsc::Select` [INFO] [stdout] --> src/server.rs:4:64 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel, Select}; [INFO] [stdout] | ^^^^^^ no `Select` in `sync::mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `FromPrimitive` [INFO] [stdout] --> src/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, Clone, Show, PartialEq, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/packet.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, Clone, Show, PartialEq, Copy)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stdout] --> src/client.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 307 | #[unsafe_destructor] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stdout] --> src/server.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | #[unsafe_destructor] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stdout] --> src/client.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | fn reader_process(mut reader: UdpSocket, send: Sender, recv: Receiver, target_addr: SocketAddr, protocol_id: u32, ti... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/client.rs:30:106 [INFO] [stdout] | [INFO] [stdout] 30 | ...acket>, recv: Receiver, target_addr: SocketAddr, protocol_id: u32, timeout_period: Duration) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stdout] --> src/client.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | fn writer_process(mut writer: UdpSocket, recv: Receiver, target_addr: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/client.rs:87:79 [INFO] [stdout] | [INFO] [stdout] 87 | fn writer_process(mut writer: UdpSocket, recv: Receiver, target_addr: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/client.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | pub addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/client.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | pub target_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/client.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn connect(addr: SocketAddr, target_addr: SocketAddr, config: ConnectionConfig, client_connection_config: ClientConnectionConf... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/client.rs:151:51 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn connect(addr: SocketAddr, target_addr: SocketAddr, config: ConnectionConfig, client_connection_config: ClientConnectionConf... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UdpSocket` [INFO] [stdout] --> src/client.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | match UdpSocket::bind(addr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | fn hash_sender(address: &SocketAddr) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/server.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Ipv4Addr(a, b, c, d) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ipv6Addr` in this scope [INFO] [stdout] --> src/server.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Ipv6Addr(a, b, c, d, e, f, g, h) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(addr: SocketAddr, timeout: i64) -> ClientInstance { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stdout] --> src/server.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | fn reader_process(mut reader: UdpSocket, reader_sub_out: Sender<(Packet, SocketAddr)>, reader_sub_in: Receiver, protocol_id:... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:55:74 [INFO] [stdout] | [INFO] [stdout] 55 | fn reader_process(mut reader: UdpSocket, reader_sub_out: Sender<(Packet, SocketAddr)>, reader_sub_in: Receiver, protocol_id:... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stdout] --> src/server.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | fn writer_process(mut writer: UdpSocket, _writer_sub_out: Sender, writer_sub_in: Receiver<(Packet, SocketAddr)>) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:90:113 [INFO] [stdout] | [INFO] [stdout] 90 | fn writer_process(mut writer: UdpSocket, _writer_sub_out: Sender, writer_sub_in: Receiver<(Packet, SocketAddr)>) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | pub addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:114:39 [INFO] [stdout] | [INFO] [stdout] 114 | reader_receive: Receiver<(Packet, SocketAddr)>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | writer_send: Sender<(Packet, SocketAddr)>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(addr: SocketAddr, config: ConnectionConfig) -> IoResult> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UdpSocket` [INFO] [stdout] --> src/server.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | match UdpSocket::bind(addr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:162:59 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn poll(&mut self) -> Option<(PacketOrCommand, SocketAddr)> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn cull(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:246:50 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn send_to(&mut self, packet: &T, addr: &SocketAddr) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:260:60 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn send_to_many(&mut self, packet: &T, addrs: &Vec) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:278:42 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn all_connections(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | let protocol_id = try!(r.read_be_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | let sequence_id = try!(r.read_be_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | let packet_type = try!(r.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let content = try!(r.read_to_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | try!(w.write_be_u32(self.protocol_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | try!(w.write_be_u16(self.sequence_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | try!(w.write_u8(self.packet_type as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(w.write(content.as_slice())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(unsafe_destructor)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unsafe_destructor` [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(unsafe_destructor)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_be_u32` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/packet.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | try!(w.write_be_u32(self.protocol_id)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_be_u16` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/packet.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | try!(w.write_be_u16(self.sequence_id)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_u8` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/packet.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | try!(w.write_u8(self.packet_type as u8)); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/packet.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | try!(w.write(content.as_slice())) [INFO] [stdout] | ^^^^^ method not found in `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_to` found for array `[{integer}; 1024]` in the current scope [INFO] [stdout] --> src/client.rs:40:51 [INFO] [stdout] | [INFO] [stdout] 40 | match Packet::deserialize(buf.slice_to(amt)) { [INFO] [stdout] | ^^^^^^^^ method not found in `[{integer}; 1024]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/client.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/client.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_to` found for array `[{integer}; 1024]` in the current scope [INFO] [stdout] --> src/server.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | match Packet::deserialize(buf.slice_to(amt)) { [INFO] [stdout] | ^^^^^^^^ method not found in `[{integer}; 1024]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/server.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/server.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0531, E0554, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `string_telephone` due to 59 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cd00a0ae9bfff5b20471bb6bb0d16c09d0d1fd8c3639a6d9602970bde4b98f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd00a0ae9bfff5b20471bb6bb0d16c09d0d1fd8c3639a6d9602970bde4b98f25", kill_on_drop: false }` [INFO] [stdout] cd00a0ae9bfff5b20471bb6bb0d16c09d0d1fd8c3639a6d9602970bde4b98f25