[INFO] cloning repository https://github.com/codeslinger/smtpd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codeslinger/smtpd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeslinger%2Fsmtpd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeslinger%2Fsmtpd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9cb890b842eb2588f5ec60ad7788f9ca4d9d40a [INFO] checking codeslinger/smtpd/f9cb890b842eb2588f5ec60ad7788f9ca4d9d40a against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeslinger%2Fsmtpd" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codeslinger/smtpd 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/codeslinger/smtpd [INFO] finished tweaking git repo https://github.com/codeslinger/smtpd [INFO] tweaked toml for git repo https://github.com/codeslinger/smtpd written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/codeslinger/smtpd 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] [stderr] warning: `[project]` is deprecated in favor of `[package]` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c54cfbaa3331592b122725aa9589fcdb0e960af7747f84a1ec326e196e1c41a6 [INFO] running `Command { std: "docker" "start" "-a" "c54cfbaa3331592b122725aa9589fcdb0e960af7747f84a1ec326e196e1c41a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c54cfbaa3331592b122725aa9589fcdb0e960af7747f84a1ec326e196e1c41a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c54cfbaa3331592b122725aa9589fcdb0e960af7747f84a1ec326e196e1c41a6", kill_on_drop: false }` [INFO] [stdout] c54cfbaa3331592b122725aa9589fcdb0e960af7747f84a1ec326e196e1c41a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8f93ad5960bedac08fbeefa1f7ccd607afc954ae0e96066876919051e92f1ad8 [INFO] running `Command { std: "docker" "start" "-a" "8f93ad5960bedac08fbeefa1f7ccd607afc954ae0e96066876919051e92f1ad8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: `[project]` is deprecated in favor of `[package]` [INFO] [stderr] Checking smtpd v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/smtpd/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin,link)] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/smtpd/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin,link)] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::error::FromError` [INFO] [stdout] --> src/smtpd/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::FromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::error::FromError` [INFO] [stdout] --> src/smtpd/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::FromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::error::FromError` [INFO] [stdout] --> src/smtpd/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::FromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::error::FromError` [INFO] [stdout] --> src/smtpd/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::FromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> src/smtpd/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Show; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> src/smtpd/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Show; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::TcpListener`, `std::io::Acceptor`, `std::io::Listener`, `std::io::TcpStream` [INFO] [stdout] --> src/smtpd/net.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{TcpListener, Acceptor, Listener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ no `TcpStream` in `io` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Listener` in `io` [INFO] [stdout] | | no `Acceptor` in `io` [INFO] [stdout] | no `TcpListener` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::net::TcpListener [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::net::TcpStream [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::TcpListener`, `std::io::Acceptor`, `std::io::Listener`, `std::io::TcpStream` [INFO] [stdout] --> src/smtpd/net.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{TcpListener, Acceptor, Listener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ no `TcpStream` in `io` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Listener` in `io` [INFO] [stdout] | | no `Acceptor` in `io` [INFO] [stdout] | no `TcpListener` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::net::TcpListener [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::net::TcpStream [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/smtpd/lib.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin,link)] extern crate log; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/smtpd/lib.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin,link)] extern crate log; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/smtpd/errors.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[deriving(Copy, Send, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/smtpd/errors.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[deriving(Copy, Send, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/smtpd/net.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | Err(e) => { error!("failed to start TCP listener on {}: {}", config.listen_address, e); return } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/smtpd/net.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | Err(e) => { error!("failed to start TCP listener on {}: {}", config.listen_address, e); return } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/smtpd/net.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => { error!("failed to bind to {}: {}", config.listen_address, e); return } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/smtpd/net.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => { error!("failed to bind to {}: {}", config.listen_address, e); return } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/smtpd/net.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { error!("failed to accept connection: {}", e) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/smtpd/net.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { error!("failed to accept connection: {}", e) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/smtpd/net.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | info!("client connect from {}", stream.peer_name().unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/smtpd/net.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | info!("client connect from {}", stream.peer_name().unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedReader` in `io` [INFO] [stdout] --> src/smtpd/config.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(file) => { read_config(io::BufferedReader::new(file)) } [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/smtpd/config.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(file) => { read_config(io::BufferedReader::new(file)) } [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/smtpd/config.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | match io::File::open(&Path::new(path)) { [INFO] [stdout] | ^^^^ could not find `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - match io::File::open(&Path::new(path)) { [INFO] [stdout] 16 + match File::open(&Path::new(path)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/smtpd/config.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | match io::File::open(&Path::new(path)) { [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferedReader` in module `io` [INFO] [stdout] --> src/smtpd/config.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_config(mut f: io::BufferedReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in module `io` [INFO] [stdout] --> src/smtpd/config.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_config(mut f: io::BufferedReader) -> Result { [INFO] [stdout] | ^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - fn read_config(mut f: io::BufferedReader) -> Result { [INFO] [stdout] 35 + fn read_config(mut f: io::BufferedReader) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/smtpd/errors.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Io(io::IoError), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/smtpd/config.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | match io::File::open(&Path::new(path)) { [INFO] [stdout] | ^^^^ could not find `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - match io::File::open(&Path::new(path)) { [INFO] [stdout] 16 + match File::open(&Path::new(path)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/smtpd/errors.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | impl FromError for SError { [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/smtpd/config.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | match io::File::open(&Path::new(path)) { [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferedReader` in module `io` [INFO] [stdout] --> src/smtpd/config.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_config(mut f: io::BufferedReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/smtpd/errors.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_error(err: io::IoError) -> SError { SError::Io(err) } [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in module `io` [INFO] [stdout] --> src/smtpd/config.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_config(mut f: io::BufferedReader) -> Result { [INFO] [stdout] | ^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - fn read_config(mut f: io::BufferedReader) -> Result { [INFO] [stdout] 35 + fn read_config(mut f: io::BufferedReader) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/smtpd/errors.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | InvalidLineFormat(uint), [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/smtpd/errors.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | InvalidArgument(uint), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/smtpd/errors.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Io(io::IoError), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smtpd/config.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let l = try!(s); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/smtpd/errors.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | impl FromError for SError { [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/smtpd/errors.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_error(err: io::IoError) -> SError { SError::Io(err) } [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/smtpd/errors.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | InvalidLineFormat(uint), [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/smtpd/errors.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | InvalidArgument(uint), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smtpd/config.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let l = try!(s); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/smtpd/config.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut count = 0u; [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/smtpd/config.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut count = 0u; [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[E0635]: unknown feature `phase` [INFO] [stdout] --> src/smtpd/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/smtpd/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `smtpd` (lib test) due to 24 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `smtpd` (lib) due to 24 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8f93ad5960bedac08fbeefa1f7ccd607afc954ae0e96066876919051e92f1ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f93ad5960bedac08fbeefa1f7ccd607afc954ae0e96066876919051e92f1ad8", kill_on_drop: false }` [INFO] [stdout] 8f93ad5960bedac08fbeefa1f7ccd607afc954ae0e96066876919051e92f1ad8