[INFO] cloning repository https://github.com/paulodiniz/socket_example_rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulodiniz/socket_example_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulodiniz%2Fsocket_example_rust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulodiniz%2Fsocket_example_rust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 158c17288eb9f2fe1196712b5c9825f21c1cac7b [INFO] checking paulodiniz/socket_example_rust against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulodiniz%2Fsocket_example_rust" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulodiniz/socket_example_rust on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/paulodiniz/socket_example_rust [INFO] finished tweaking git repo https://github.com/paulodiniz/socket_example_rust [INFO] tweaked toml for git repo https://github.com/paulodiniz/socket_example_rust written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/paulodiniz/socket_example_rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 390862cce84dcd8917dc062dae492da195e9b2ca1f7013e3c43bb1aad7a60e1b [INFO] running `"docker" "start" "-a" "390862cce84dcd8917dc062dae492da195e9b2ca1f7013e3c43bb1aad7a60e1b"` [INFO] [stderr] Checking sock_client v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stderr] --> src/main.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::net::tcp::TcpStream; [INFO] [stderr] | ^^^ could not find `net` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stderr] --> src/main.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | let mut socket = TcpStream::connect("127.0.0.1:2000").unwrap(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TcpStream` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `sock_client`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stderr] --> src/main.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::net::tcp::TcpStream; [INFO] [stderr] | ^^^ could not find `net` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stderr] --> src/main.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | let mut socket = TcpStream::connect("127.0.0.1:2000").unwrap(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TcpStream` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `sock_client`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "390862cce84dcd8917dc062dae492da195e9b2ca1f7013e3c43bb1aad7a60e1b"` [INFO] running `"docker" "rm" "-f" "390862cce84dcd8917dc062dae492da195e9b2ca1f7013e3c43bb1aad7a60e1b"` [INFO] [stdout] 390862cce84dcd8917dc062dae492da195e9b2ca1f7013e3c43bb1aad7a60e1b