[INFO] updating cached repository vincom2/echoserver.rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/vincom2/echoserver.rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/vincom2/echoserver.rs" "work/ex/beta-1.38-1/sources/1.37.0/gh/vincom2/echoserver.rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/vincom2/echoserver.rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/vincom2/echoserver.rs" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vincom2/echoserver.rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vincom2/echoserver.rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e42004d97e58d2acfb10562eabd1324e6943077f [INFO] sha for GitHub repo vincom2/echoserver.rs: e42004d97e58d2acfb10562eabd1324e6943077f [INFO] validating manifest of vincom2/echoserver.rs 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 vincom2/echoserver.rs 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 vincom2/echoserver.rs [INFO] finished frobbing vincom2/echoserver.rs [INFO] frobbed toml for vincom2/echoserver.rs written to work/ex/beta-1.38-1/sources/1.37.0/gh/vincom2/echoserver.rs/Cargo.toml [INFO] started frobbing vincom2/echoserver.rs [INFO] finished frobbing vincom2/echoserver.rs [INFO] frobbed toml for vincom2/echoserver.rs written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vincom2/echoserver.rs/Cargo.toml [INFO] crate vincom2/echoserver.rs 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 vincom2/echoserver.rs against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vincom2/echoserver.rs:/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 29c0304d2b5504cee6238678cbd8e48e3c61a2168809569139a08b111e3cab18 [INFO] running `"docker" "start" "-a" "29c0304d2b5504cee6238678cbd8e48e3c61a2168809569139a08b111e3cab18"` [INFO] [stderr] Compiling echo_server v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stderr] --> src/main.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | spawn(proc() { [INFO] [stderr] | ^ expected one of `)`, `,`, `.`, `?`, or an operator here [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts` [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use getopts::{optopt, optflag, getopts, OptGroup}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ ^^^^^^^ no `getopts` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `optflag` in the root [INFO] [stderr] | no `optopt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::Acceptor`, `std::io::Listener` [INFO] [stderr] --> src/main.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::{Acceptor, Listener}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ no `Listener` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `Acceptor` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::TcpListener` [INFO] [stderr] --> src/bind.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{TcpListener, stdio}; [INFO] [stderr] | ^^^^^^^^^^^ no `TcpListener` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::TcpStream`, `std::io::IoResult` [INFO] [stderr] --> src/echo.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{TcpStream, IoResult}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | no `IoResult` in `io` [INFO] [stderr] | | help: a similar name exists in the module: `Result` [INFO] [stderr] | no `TcpStream` in `io` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/bind.rs:18:31 [INFO] [stderr] | [INFO] [stderr] 18 | let p : u16 = from_str(tmp2).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | let args = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | Some(p) => from_str(p.as_slice()).unwrap() [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/main.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | spawn(proc() { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `proc` in this scope [INFO] [stderr] --> src/main.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | spawn(proc() { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `OptGroup` is private [INFO] [stderr] --> src/main.rs:5:41 [INFO] [stderr] | [INFO] [stderr] 5 | use getopts::{optopt, optflag, getopts, OptGroup}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/bind.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{TcpListener, stdio}; [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/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | extern crate getopts; [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 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `echo_server`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "29c0304d2b5504cee6238678cbd8e48e3c61a2168809569139a08b111e3cab18"` [INFO] running `"docker" "rm" "-f" "29c0304d2b5504cee6238678cbd8e48e3c61a2168809569139a08b111e3cab18"` [INFO] [stdout] 29c0304d2b5504cee6238678cbd8e48e3c61a2168809569139a08b111e3cab18