[INFO] cloning repository https://github.com/timonv/tcpsuck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timonv/tcpsuck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimonv%2Ftcpsuck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimonv%2Ftcpsuck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30b88e8072fd5cf154ccd14aa05498da1d3d870b [INFO] checking timonv/tcpsuck against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimonv%2Ftcpsuck" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timonv/tcpsuck on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/timonv/tcpsuck [INFO] finished tweaking git repo https://github.com/timonv/tcpsuck [INFO] tweaked toml for git repo https://github.com/timonv/tcpsuck written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/timonv/tcpsuck already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e7079a3724889e9f6a07bdb416b5e607b52462ab2c29b929ae787c4410acd34 [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" "5e7079a3724889e9f6a07bdb416b5e607b52462ab2c29b929ae787c4410acd34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e7079a3724889e9f6a07bdb416b5e607b52462ab2c29b929ae787c4410acd34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e7079a3724889e9f6a07bdb416b5e607b52462ab2c29b929ae787c4410acd34", kill_on_drop: false }` [INFO] [stdout] 5e7079a3724889e9f6a07bdb416b5e607b52462ab2c29b929ae787c4410acd34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b7aeabff880d51a82e2cf53947226717eebb70ab274116447773030c171f6d09 [INFO] running `Command { std: "docker" "start" "-a" "b7aeabff880d51a82e2cf53947226717eebb70ab274116447773030c171f6d09", kill_on_drop: false }` [INFO] [stderr] Checking tcpsuck v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `||` [INFO] [stdout] --> src/broadcaster.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn timeout(max: int, f: || -> bool) -> bool { [INFO] [stdout] | ^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `||` [INFO] [stdout] --> src/broadcaster.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn timeout(max: int, f: || -> bool) -> bool { [INFO] [stdout] | ^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::TcpListener`, `std::io::TcpStream`, `std::io::Acceptor`, `std::io::Listener`, `std::io::BufferedStream` [INFO] [stdout] --> src/server.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{TcpListener, TcpStream, Acceptor, Listener, BufferedStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ no `BufferedStream` in `io` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Listener` in `io` [INFO] [stdout] | | | no `Acceptor` in `io` [INFO] [stdout] | | no `TcpStream` in `io` [INFO] [stdout] | no `TcpListener` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedWriter` [INFO] [stdout] --> src/broadcaster.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufferedWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedWriter` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stdout] --> src/broadcaster.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{RWLock, Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `RWLock` in `sync` [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `RwLock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/server.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let (tx, rx) = channel::<(String, String)>(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/server.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | spawn(move || { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/server.rs:36:77 [INFO] [stdout] | [INFO] [stdout] 36 | fn handle_client(server: Broadcaster, stream: TcpStream, tx: Sender<(String, String)>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 36 | fn handle_client(server: Broadcaster, stream: TcpStream, tx: Send<(String, String)>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/broadcaster.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/broadcaster.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/broadcaster.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/broadcaster.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/broadcaster.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn listen_and_broadcast(&self, rec: Receiver<(String, 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::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/broadcaster.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | spawn(move || { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/broadcaster.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | implClone for Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/broadcaster.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | implClone for Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `broadcaster::Broadcaster` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use broadcaster::Broadcaster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tcpsuck` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved imports `std::io::TcpListener`, `std::io::TcpStream`, `std::io::Acceptor`, `std::io::Listener`, `std::io::BufferedStream` [INFO] [stdout] --> src/server.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{TcpListener, TcpStream, Acceptor, Listener, BufferedStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ no `BufferedStream` in `io` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Listener` in `io` [INFO] [stdout] | | | no `Acceptor` in `io` [INFO] [stdout] | | no `TcpStream` in `io` [INFO] [stdout] | no `TcpListener` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedWriter` [INFO] [stdout] --> src/broadcaster.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufferedWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedWriter` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stdout] --> src/broadcaster.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{RWLock, Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `RWLock` in `sync` [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `RwLock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/broadcaster.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stdout] --> src/broadcaster.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | use std::sync::{RWLock, Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `RWLock` in `sync` [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `RwLock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::timer` [INFO] [stdout] --> src/broadcaster.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | use std::io::timer::sleep; [INFO] [stdout] | ^^^^^ could not find `timer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/broadcaster.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/server.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let (tx, rx) = channel::<(String, String)>(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/server.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | spawn(move || { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/server.rs:36:77 [INFO] [stdout] | [INFO] [stdout] 36 | fn handle_client(server: Broadcaster, stream: TcpStream, tx: Sender<(String, String)>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 36 | fn handle_client(server: Broadcaster, stream: TcpStream, tx: Send<(String, String)>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/broadcaster.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/broadcaster.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/broadcaster.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/broadcaster.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/broadcaster.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn listen_and_broadcast(&self, rec: Receiver<(String, 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::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/broadcaster.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | spawn(move || { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/broadcaster.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | implClone for Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/broadcaster.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | implClone for Broadcaster { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/broadcaster.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | let (tx, rx) = channel::<(String, String)>(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 67 | use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/broadcaster.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | impl Reader for FakeStream { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/broadcaster.rs:124:56 [INFO] [stdout] | [INFO] [stdout] 123 | impl Reader for FakeStream { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 124 | fn read(&mut self, buf: &mut [u8]) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/broadcaster.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | impl Writer for FakeStream { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/broadcaster.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | fn timeout(max: int, f: || -> bool) -> bool { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/broadcaster.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | for _ in range(0, max) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/broadcaster.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | if f() == true { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `broadcaster::Broadcaster` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use broadcaster::Broadcaster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b7aeabff880d51a82e2cf53947226717eebb70ab274116447773030c171f6d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7aeabff880d51a82e2cf53947226717eebb70ab274116447773030c171f6d09", kill_on_drop: false }` [INFO] [stdout] b7aeabff880d51a82e2cf53947226717eebb70ab274116447773030c171f6d09