[INFO] cloning repository https://github.com/rictic/rud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rictic/rud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frictic%2Frud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frictic%2Frud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10441af23690c06e6c9d24ee532cd78f9dbdb85e [INFO] testing rictic/rud against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frictic%2Frud" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rictic/rud 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 git repo https://github.com/rictic/rud [INFO] finished tweaking git repo https://github.com/rictic/rud [INFO] tweaked toml for git repo https://github.com/rictic/rud written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/rictic/rud already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c79271e615b116007d371d312847530995c228c86bf620dda926660825c1f08 [INFO] running `Command { std: "docker" "start" "-a" "7c79271e615b116007d371d312847530995c228c86bf620dda926660825c1f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c79271e615b116007d371d312847530995c228c86bf620dda926660825c1f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c79271e615b116007d371d312847530995c228c86bf620dda926660825c1f08", kill_on_drop: false }` [INFO] [stdout] 7c79271e615b116007d371d312847530995c228c86bf620dda926660825c1f08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39a93c1a63b524e0151a6ce575a8dd85af4f038f95668afc4ff5dd0e6238e98e [INFO] running `Command { std: "docker" "start" "-a" "39a93c1a63b524e0151a6ce575a8dd85af4f038f95668afc4ff5dd0e6238e98e", kill_on_drop: false }` [INFO] [stderr] Compiling rud v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/main.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | spawn(proc() {game_clone.handle(s, rec)}); [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/main.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | for _ in range(0u, 100) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/main.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::net::tcp::TcpAcceptor; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::TcpListener`, `std::io::TcpStream`, `std::io::Listener`, `std::io::Acceptor` [INFO] [stdout] --> src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{TcpListener, TcpStream, Listener, Acceptor}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ no `Acceptor` in `io` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Listener` 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::comm` [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::comm::{Receiver, Sender, channel}; [INFO] [stdout] | ^^^^ could not find `comm` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[deriving(Clone, Send)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IoErrorKind` in `io` [INFO] [stdout] --> src/main.rs:46:49 [INFO] [stdout] | [INFO] [stdout] 46 | Err(ref e) if e.kind == io::IoErrorKind::EndOfFile => break, [INFO] [stdout] | ^^^^^^^^^^^ could not find `IoErrorKind` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedReader` in `io` [INFO] [stdout] --> src/main.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | for line in io::BufferedReader::new(reader).lines() { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedReader` in `io` [INFO] [stdout] --> src/main.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | for line in io::BufferedReader::new(io::stdio::stdin()).lines() { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpAcceptor` in this scope [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | acceptor: TcpAcceptor, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io` [INFO] [stdout] --> src/main.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | fn new(host: &str, port: u16) -> io::IoResult { [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpAcceptor` in this scope [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let a : TcpAcceptor = try!(TcpListener::bind((host, port)).unwrap().listen()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | spawn(proc() { [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[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | spawn(proc() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | spawn(proc() {game_clone.handle(s, rec)}); [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[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | spawn(proc() {game_clone.handle(s, rec)}); [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/main.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_lines(reader: R) -> Receiver { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | spawn(proc() { [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[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/main.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | spawn(proc() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:160:45 [INFO] [stdout] | [INFO] [stdout] 160 | for line in io::BufferedReader::new(io::stdio::stdin()).lines() { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let a : TcpAcceptor = try!(TcpListener::bind((host, port)).unwrap().listen()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/main.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | spawn(proc() {game_clone.handle(s, rec)}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 43 - spawn(proc() {game_clone.handle(s, rec)}); [INFO] [stdout] 43 + spawn(proc() game_clone.handle(s, rec)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rud` due to 24 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "39a93c1a63b524e0151a6ce575a8dd85af4f038f95668afc4ff5dd0e6238e98e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a93c1a63b524e0151a6ce575a8dd85af4f038f95668afc4ff5dd0e6238e98e", kill_on_drop: false }` [INFO] [stdout] 39a93c1a63b524e0151a6ce575a8dd85af4f038f95668afc4ff5dd0e6238e98e