[INFO] updating cached repository https://github.com/vincom2/echoserver.rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e42004d97e58d2acfb10562eabd1324e6943077f [INFO] checking vincom2/echoserver.rs against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincom2%2Fechoserver.rs" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vincom2/echoserver.rs on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/vincom2/echoserver.rs [INFO] finished tweaking git repo https://github.com/vincom2/echoserver.rs [INFO] tweaked toml for git repo https://github.com/vincom2/echoserver.rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/vincom2/echoserver.rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] a793ced68b004e07e3f1dc0de9e25fc80f6935cf62cb08c00fa573f97d0e40f2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "a793ced68b004e07e3f1dc0de9e25fc80f6935cf62cb08c00fa573f97d0e40f2"` [INFO] [stderr] Checking echo_server v0.1.0 (/opt/rustwide/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: 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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] warning: build failed, waiting for other jobs to finish... [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" "a793ced68b004e07e3f1dc0de9e25fc80f6935cf62cb08c00fa573f97d0e40f2"` [INFO] running `"docker" "rm" "-f" "a793ced68b004e07e3f1dc0de9e25fc80f6935cf62cb08c00fa573f97d0e40f2"` [INFO] [stdout] a793ced68b004e07e3f1dc0de9e25fc80f6935cf62cb08c00fa573f97d0e40f2