[INFO] cloning repository https://github.com/alan-andrade/rust-irc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alan-andrade/rust-irc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falan-andrade%2Frust-irc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falan-andrade%2Frust-irc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ee903307ccf3256fb0e3949c64c2e3744df181f [INFO] checking alan-andrade/rust-irc against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falan-andrade%2Frust-irc" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alan-andrade/rust-irc on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alan-andrade/rust-irc [INFO] finished tweaking git repo https://github.com/alan-andrade/rust-irc [INFO] tweaked toml for git repo https://github.com/alan-andrade/rust-irc written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/alan-andrade/rust-irc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8d4f6352e12a5fd58eddb69e1b4cb87981488ee0fd29d41446d8fc41fc21e82 [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" "c8d4f6352e12a5fd58eddb69e1b4cb87981488ee0fd29d41446d8fc41fc21e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8d4f6352e12a5fd58eddb69e1b4cb87981488ee0fd29d41446d8fc41fc21e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8d4f6352e12a5fd58eddb69e1b4cb87981488ee0fd29d41446d8fc41fc21e82", kill_on_drop: false }` [INFO] [stdout] c8d4f6352e12a5fd58eddb69e1b4cb87981488ee0fd29d41446d8fc41fc21e82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbb69174f9e27cf8c9b2d6e7ca362044f648097848e1ee2eba8a5c27688a0530 [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" "bbb69174f9e27cf8c9b2d6e7ca362044f648097848e1ee2eba8a5c27688a0530", kill_on_drop: false }` [INFO] [stderr] Checking rust-irc v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/main.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | spawn(proc() { [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:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | 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/parser.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | for _ in range(1u, 4u) { [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: invalid suffix `u` for number literal [INFO] [stdout] --> src/parser.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | for _ in range(1u, 4u) { [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: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/parser.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | macro_rules! test_token( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 212 | | ($next: expr, $string: expr) => ( [INFO] [stdout] 213 | | assert_eq!($next, Some($string.to_string())); [INFO] [stdout] 214 | | ) [INFO] [stdout] 215 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 211 | macro_rules! test_token{ [INFO] [stdout] 212 | ($next: expr, $string: expr) => ( [INFO] [stdout] 213 | assert_eq!($next, Some($string.to_string())); [INFO] [stdout] 214 | ) [INFO] [stdout] 215 | } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 215 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/parser.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | for _ in range(1u, 4u) { [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: invalid suffix `u` for number literal [INFO] [stdout] --> src/parser.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | for _ in range(1u, 4u) { [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: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/parser.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | macro_rules! test_token( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 212 | | ($next: expr, $string: expr) => ( [INFO] [stdout] 213 | | assert_eq!($next, Some($string.to_string())); [INFO] [stdout] 214 | | ) [INFO] [stdout] 215 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 211 | macro_rules! test_token{ [INFO] [stdout] 212 | ($next: expr, $string: expr) => ( [INFO] [stdout] 213 | assert_eq!($next, Some($string.to_string())); [INFO] [stdout] 214 | ) [INFO] [stdout] 215 | } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 215 | ); [INFO] [stdout] | ^ [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::TcpStream; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Buffer`, `std::io::BufferedReader` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Buffer, BufferedReader}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `Buffer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parser.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parser.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[deriving(PartialEq, Show, Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Body` is not bound in all patterns [INFO] [stdout] --> src/parser.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | Start | Body => { self.parse_prefix(); } [INFO] [stdout] | ^^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Body` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Body` [INFO] [stdout] --> src/parser.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | Start | Body => { self.parse_prefix(); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Start` is not bound in all patterns [INFO] [stdout] --> src/parser.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | Start | Body => { self.parse_prefix(); } [INFO] [stdout] | ----- ^^^^ pattern doesn't bind `Start` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Start` [INFO] [stdout] --> src/parser.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | Start | Body => { self.parse_prefix(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Body` is not bound in all patterns [INFO] [stdout] --> src/parser.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | Prefix | [INFO] [stdout] | ^^^^^^ pattern doesn't bind `Body` [INFO] [stdout] 147 | Start | [INFO] [stdout] | ^^^^^ pattern doesn't bind `Body` [INFO] [stdout] 148 | Body => { self.parse_command(c.is_digit()); } [INFO] [stdout] | ---- variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Body` [INFO] [stdout] --> src/parser.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | Body => { self.parse_command(c.is_digit()); } [INFO] [stdout] | ^^^^ [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::TcpStream; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Buffer`, `std::io::BufferedReader` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Buffer, BufferedReader}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `Buffer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::Prefix`, `super::Command`, `super::Params`, `super::Body` [INFO] [stdout] --> src/parser.rs:208:34 [INFO] [stdout] | [INFO] [stdout] 208 | use super::{Parser, Message, Prefix, Command, Params,Body}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^ ^^^^ no `Body` in `parser` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Params` in `parser` [INFO] [stdout] | | no `Command` in `parser` [INFO] [stdout] | no `Prefix` in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Prefix` is not bound in all patterns [INFO] [stdout] --> src/parser.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 146 | Prefix | [INFO] [stdout] | ------ variable not in all patterns [INFO] [stdout] 147 | Start | [INFO] [stdout] | ^^^^^ pattern doesn't bind `Prefix` [INFO] [stdout] 148 | Body => { self.parse_command(c.is_digit()); } [INFO] [stdout] | ^^^^ pattern doesn't bind `Prefix` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Prefix` [INFO] [stdout] --> src/parser.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | Prefix | [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Start` is not bound in all patterns [INFO] [stdout] --> src/parser.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | Prefix | [INFO] [stdout] | ^^^^^^ pattern doesn't bind `Start` [INFO] [stdout] 147 | Start | [INFO] [stdout] | ----- variable not in all patterns [INFO] [stdout] 148 | Body => { self.parse_command(c.is_digit()); } [INFO] [stdout] | ^^^^ pattern doesn't bind `Start` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Start` [INFO] [stdout] --> src/parser.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | Start | [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Buffer` in this scope [INFO] [stdout] --> src/parser.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | impl Parser { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Start` in this scope [INFO] [stdout] --> src/parser.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | state: Start, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Start; [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::SeekFrom::Start; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Prefix` in this scope [INFO] [stdout] --> src/parser.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | self.state = Prefix; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 65 | self.state = prefix; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Prefix; [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Component::Prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/parser.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | for _ in range(1u, 4u) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Command` in this scope [INFO] [stdout] --> src/parser.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | self.state = Command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 86 | self.state = command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Params` in this scope [INFO] [stdout] --> src/parser.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | self.state = Params; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 99 | self.state = params; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Params; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Body` in this scope [INFO] [stdout] --> src/parser.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | self.state = Body; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 118 | self.state = body; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Body; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Buffer` in this scope [INFO] [stdout] --> src/parser.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | impl Iterator for Parser { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Start` in this scope [INFO] [stdout] --> src/parser.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 157 | self.state = Start; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Start; [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::SeekFrom::Start; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Buffer` in this scope [INFO] [stdout] --> src/parser.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | impl<'a, I: Buffer> Iterator for MessageIterator<'a, I> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpStream` [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let stream = TcpStream::connect("irc.freenode.net", 6667).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | spawn(proc() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | 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:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | 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:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::stdio::{stdin, stdout}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/parser.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | c @ 'A'..'Z' | [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/parser.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | c @ 'a'..'z' | [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/parser.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | c @ '0'..'9' => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut stream = box BufferedReader::new(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parser.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parser.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[deriving(PartialEq, Show, Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Body` is not bound in all patterns [INFO] [stdout] --> src/parser.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | Start | Body => { self.parse_prefix(); } [INFO] [stdout] | ^^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Body` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Body` [INFO] [stdout] --> src/parser.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | Start | Body => { self.parse_prefix(); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Start` is not bound in all patterns [INFO] [stdout] --> src/parser.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | Start | Body => { self.parse_prefix(); } [INFO] [stdout] | ----- ^^^^ pattern doesn't bind `Start` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Start` [INFO] [stdout] --> src/parser.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | Start | Body => { self.parse_prefix(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Body` is not bound in all patterns [INFO] [stdout] --> src/parser.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | Prefix | [INFO] [stdout] | ^^^^^^ pattern doesn't bind `Body` [INFO] [stdout] 147 | Start | [INFO] [stdout] | ^^^^^ pattern doesn't bind `Body` [INFO] [stdout] 148 | Body => { self.parse_command(c.is_digit()); } [INFO] [stdout] | ---- variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Body` [INFO] [stdout] --> src/parser.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | Body => { self.parse_command(c.is_digit()); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Prefix` is not bound in all patterns [INFO] [stdout] --> src/parser.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 146 | Prefix | [INFO] [stdout] | ------ variable not in all patterns [INFO] [stdout] 147 | Start | [INFO] [stdout] | ^^^^^ pattern doesn't bind `Prefix` [INFO] [stdout] 148 | Body => { self.parse_command(c.is_digit()); } [INFO] [stdout] | ^^^^ pattern doesn't bind `Prefix` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Prefix` [INFO] [stdout] --> src/parser.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | Prefix | [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Start` is not bound in all patterns [INFO] [stdout] --> src/parser.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | Prefix | [INFO] [stdout] | ^^^^^^ pattern doesn't bind `Start` [INFO] [stdout] 147 | Start | [INFO] [stdout] | ----- variable not in all patterns [INFO] [stdout] 148 | Body => { self.parse_command(c.is_digit()); } [INFO] [stdout] | ^^^^ pattern doesn't bind `Start` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Start` [INFO] [stdout] --> src/parser.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | Start | [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Buffer` in this scope [INFO] [stdout] --> src/parser.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | impl Parser { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Start` in this scope [INFO] [stdout] --> src/parser.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | state: Start, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Start; [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::SeekFrom::Start; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Prefix` in this scope [INFO] [stdout] --> src/parser.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | self.state = Prefix; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 65 | self.state = prefix; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Prefix; [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Component::Prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/parser.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | for _ in range(1u, 4u) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Command` in this scope [INFO] [stdout] --> src/parser.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | self.state = Command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 86 | self.state = command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Params` in this scope [INFO] [stdout] --> src/parser.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | self.state = Params; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 99 | self.state = params; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Params; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Body` in this scope [INFO] [stdout] --> src/parser.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | self.state = Body; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 118 | self.state = body; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Body; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Buffer` in this scope [INFO] [stdout] --> src/parser.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | impl Iterator for Parser { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Start` in this scope [INFO] [stdout] --> src/parser.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 157 | self.state = Start; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use parser::State::Start; [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::SeekFrom::Start; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Buffer` in this scope [INFO] [stdout] --> src/parser.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | impl<'a, I: Buffer> Iterator for MessageIterator<'a, I> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpStream` [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let stream = TcpStream::connect("irc.freenode.net", 6667).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | spawn(proc() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | 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:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | 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:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::stdio::{stdin, stdout}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/parser.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | c @ 'A'..'Z' | [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/parser.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | c @ 'a'..'z' | [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/parser.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | c @ '0'..'9' => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/parser.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let mut buf = box BufReader::new(example.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/parser.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | let mut buf = box BufReader::new(example.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/parser.rs:251:23 [INFO] [stdout] | [INFO] [stdout] 251 | let mut buf = box BufReader::new(example.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut stream = box BufferedReader::new(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/parser.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | use super::{Parser, Message, Prefix, Command, Params,Body}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 type arguments but 1 type argument was supplied [INFO] [stdout] --> src/parser.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | impl Iterator for Parser { [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 type arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 type arguments but 1 type argument was supplied [INFO] [stdout] --> src/parser.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | impl<'a, I: Buffer> Iterator for MessageIterator<'a, I> { [INFO] [stdout] | ^^^^^^^^--------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 type arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0408, E0425, E0432, E0433, E0603, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-irc` [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[E0107]: this trait takes 0 type arguments but 1 type argument was supplied [INFO] [stdout] --> src/parser.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | impl Iterator for Parser { [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 type arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 type arguments but 1 type argument was supplied [INFO] [stdout] --> src/parser.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | impl<'a, I: Buffer> Iterator for MessageIterator<'a, I> { [INFO] [stdout] | ^^^^^^^^--------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 type arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0408, E0425, E0432, E0433, E0603, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bbb69174f9e27cf8c9b2d6e7ca362044f648097848e1ee2eba8a5c27688a0530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbb69174f9e27cf8c9b2d6e7ca362044f648097848e1ee2eba8a5c27688a0530", kill_on_drop: false }` [INFO] [stdout] bbb69174f9e27cf8c9b2d6e7ca362044f648097848e1ee2eba8a5c27688a0530