[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/2ee903307ccf3256fb0e3949c64c2e3744df181f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falan-andrade%2Frust-irc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alan-andrade/rust-irc on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59dce4c96ecdbb22b901ab3207a00eef577b65e332bd0a5c01df837ccfcb811b [INFO] running `Command { std: "docker" "start" "-a" "59dce4c96ecdbb22b901ab3207a00eef577b65e332bd0a5c01df837ccfcb811b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59dce4c96ecdbb22b901ab3207a00eef577b65e332bd0a5c01df837ccfcb811b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59dce4c96ecdbb22b901ab3207a00eef577b65e332bd0a5c01df837ccfcb811b", kill_on_drop: false }` [INFO] [stdout] 59dce4c96ecdbb22b901ab3207a00eef577b65e332bd0a5c01df837ccfcb811b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc0be9eda05bbce9b4543f226113cba1989845b1dc210573c70a2fb96036746c [INFO] running `Command { std: "docker" "start" "-a" "fc0be9eda05bbce9b4543f226113cba1989845b1dc210573c70a2fb96036746c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rust-irc v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 13 | let mut stream = Box::new(BufferedReader::new(stream)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 13 | let mut stream = Box::new(BufferedReader::new(stream)); [INFO] [stdout] | ~~~~~~~~~ + [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: 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: 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: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 224 | let mut buf = Box::new(BufReader::new(example.as_bytes())); [INFO] [stdout] | ~~~~~~~~~ + [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: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 238 | let mut buf = Box::new(BufReader::new(example.as_bytes())); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 224 | let mut buf = Box::new(BufReader::new(example.as_bytes())); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 251 | let mut buf = Box::new(BufReader::new(example.as_bytes())); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 238 | let mut buf = Box::new(BufReader::new(example.as_bytes())); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 251 | let mut buf = Box::new(BufReader::new(example.as_bytes())); [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[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[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] = help: consider importing one of these items instead: [INFO] [stdout] std::path::Component::Prefix [INFO] [stdout] std::path::Prefix [INFO] [stdout] parser::State::Prefix [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::process::Command [INFO] [stdout] parser::State::Command [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] parser::State::Params [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] parser::State::Body [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 unit variant `parser::State::Body`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 135 | Start | parser::State::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 unit variant `parser::State::Start`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 135 | parser::State::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: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 unit variant `parser::State::Start`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 147 | parser::State::Start | [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 unit variant `parser::State::Body`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 148 | parser::State::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 unit variant `parser::State::Prefix`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 146 | parser::State::Prefix | [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 unit variant `parser::State::Body`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 135 | Start | parser::State::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 unit variant `parser::State::Start`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 135 | parser::State::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: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 unit variant `parser::State::Start`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 147 | parser::State::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 std::io::SeekFrom::Start; [INFO] [stdout] | [INFO] [stdout] 4 + use parser::State::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 std::path::Component::Prefix; [INFO] [stdout] | [INFO] [stdout] 4 + use parser::State::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[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 unit variant `parser::State::Body`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 148 | parser::State::Body => { self.parse_command(c.is_digit()); } [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 (notice the capitalization difference) [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 std::io::SeekFrom::Start; [INFO] [stdout] | [INFO] [stdout] 4 + use parser::State::Start; [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 unit variant `parser::State::Prefix`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 146 | parser::State::Prefix | [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[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[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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:338:1 [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] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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 std::io::SeekFrom::Start; [INFO] [stdout] | [INFO] [stdout] 4 + use parser::State::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 std::path::Component::Prefix; [INFO] [stdout] | [INFO] [stdout] 4 + use parser::State::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 (notice the capitalization difference) [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 std::io::SeekFrom::Start; [INFO] [stdout] | [INFO] [stdout] 4 + use parser::State::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[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[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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:338:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/parser.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | impl Iterator for Parser { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic 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] | ^^^^^^^^ expected 0 generic arguments [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] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/parser.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | use std::io::BufReader; [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] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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: aborting due to 32 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0408, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/parser.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | impl Iterator for Parser { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic 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] | ^^^^^^^^ expected 0 generic arguments [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: aborting due to 33 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0408, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-irc` (bin "rust-irc") due to 33 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-irc` (bin "rust-irc" test) due to 34 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fc0be9eda05bbce9b4543f226113cba1989845b1dc210573c70a2fb96036746c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc0be9eda05bbce9b4543f226113cba1989845b1dc210573c70a2fb96036746c", kill_on_drop: false }` [INFO] [stdout] fc0be9eda05bbce9b4543f226113cba1989845b1dc210573c70a2fb96036746c