[INFO] updating cached repository codeslinger/smtpd [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/codeslinger/smtpd [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/codeslinger/smtpd" "work/ex/beta-1.38-1/sources/1.37.0/gh/codeslinger/smtpd"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/codeslinger/smtpd'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/codeslinger/smtpd" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/codeslinger/smtpd"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/codeslinger/smtpd'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f9cb890b842eb2588f5ec60ad7788f9ca4d9d40a [INFO] sha for GitHub repo codeslinger/smtpd: f9cb890b842eb2588f5ec60ad7788f9ca4d9d40a [INFO] validating manifest of codeslinger/smtpd on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of codeslinger/smtpd on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing codeslinger/smtpd [INFO] finished frobbing codeslinger/smtpd [INFO] frobbed toml for codeslinger/smtpd written to work/ex/beta-1.38-1/sources/1.37.0/gh/codeslinger/smtpd/Cargo.toml [INFO] started frobbing codeslinger/smtpd [INFO] finished frobbing codeslinger/smtpd [INFO] frobbed toml for codeslinger/smtpd written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/codeslinger/smtpd/Cargo.toml [INFO] crate codeslinger/smtpd already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing codeslinger/smtpd against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/codeslinger/smtpd:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] f41a0886658aef4f21a8800e5236f3fd59f985f901fd509e837a20008ac11f06 [INFO] running `"docker" "start" "-a" "f41a0886658aef4f21a8800e5236f3fd59f985f901fd509e837a20008ac11f06"` [INFO] [stderr] Compiling smtpd v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/smtpd/config.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | let mut count = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `phase` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/smtpd/lib.rs:3:3 [INFO] [stderr] | [INFO] [stderr] 3 | #[phase(plugin,link)] extern crate log; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/smtpd/errors.rs:29:3 [INFO] [stderr] | [INFO] [stderr] 29 | #[deriving(Copy, Send, PartialEq)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::error::FromError` [INFO] [stderr] --> src/smtpd/config.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::FromError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::error::FromError` [INFO] [stderr] --> src/smtpd/errors.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::FromError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stderr] --> src/smtpd/errors.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt::Show; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `Show` in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::TcpListener`, `std::io::Acceptor`, `std::io::Listener`, `std::io::TcpStream` [INFO] [stderr] --> src/smtpd/net.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{TcpListener, Acceptor, Listener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ no `TcpStream` in `io` [INFO] [stderr] | | | | [INFO] [stderr] | | | no `Listener` in `io` [INFO] [stderr] | | no `Acceptor` in `io` [INFO] [stderr] | no `TcpListener` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stderr] --> src/smtpd/config.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | match io::File::open(&Path::new(path)) { [INFO] [stderr] | ^^^^ could not find `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/smtpd/config.rs:16:35 [INFO] [stderr] | [INFO] [stderr] 16 | match io::File::open(&Path::new(path)) { [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `BufferedReader` in `io` [INFO] [stderr] --> src/smtpd/config.rs:17:47 [INFO] [stderr] | [INFO] [stderr] 17 | Ok(file) => { read_config(io::BufferedReader::new(file)) } [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `error!` in this scope [INFO] [stderr] --> src/smtpd/net.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | Err(e) => { error!("failed to accept connection: {}", e) } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `error!` in this scope [INFO] [stderr] --> src/smtpd/net.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | Err(e) => { error!("failed to start TCP listener on {}: {}", config.listen_address, e); return } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `error!` in this scope [INFO] [stderr] --> src/smtpd/net.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | Err(e) => { error!("failed to bind to {}: {}", config.listen_address, e); return } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info!` in this scope [INFO] [stderr] --> src/smtpd/net.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | info!("client connect from {}", stream.peer_name().unwrap()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BufferedReader` in module `io` [INFO] [stderr] --> src/smtpd/config.rs:35:27 [INFO] [stderr] | [INFO] [stderr] 35 | fn read_config(mut f: io::BufferedReader) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `io` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `File` in module `io` [INFO] [stderr] --> src/smtpd/config.rs:35:46 [INFO] [stderr] | [INFO] [stderr] 35 | fn read_config(mut f: io::BufferedReader) -> Result { [INFO] [stderr] | ^^^^ not found in `io` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs::File; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stderr] --> src/smtpd/errors.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | Io(io::IoError), [INFO] [stderr] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stderr] --> src/smtpd/errors.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | impl FromError for SError { [INFO] [stderr] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stderr] --> src/smtpd/errors.rs:22:28 [INFO] [stderr] | [INFO] [stderr] 22 | fn from_error(err: io::IoError) -> SError { SError::Io(err) } [INFO] [stderr] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/smtpd/errors.rs:31:23 [INFO] [stderr] | [INFO] [stderr] 31 | InvalidLineFormat(uint), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/smtpd/errors.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | InvalidArgument(uint), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/smtpd/lib.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(phase)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/smtpd/lib.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | #[phase(plugin,link)] extern crate log; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] [INFO] [stderr] error: aborting due to 23 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0554, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `smtpd`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f41a0886658aef4f21a8800e5236f3fd59f985f901fd509e837a20008ac11f06"` [INFO] running `"docker" "rm" "-f" "f41a0886658aef4f21a8800e5236f3fd59f985f901fd509e837a20008ac11f06"` [INFO] [stdout] f41a0886658aef4f21a8800e5236f3fd59f985f901fd509e837a20008ac11f06