[INFO] updating cached repository myst6re/vtun-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/myst6re/vtun-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/myst6re/vtun-rs" "work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/myst6re/vtun-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/myst6re/vtun-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/myst6re/vtun-rs" "work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/myst6re/vtun-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/myst6re/vtun-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7aa89fbf07a7faf8403c8565195a1dd0233ac068 [INFO] sha for GitHub repo myst6re/vtun-rs: 7aa89fbf07a7faf8403c8565195a1dd0233ac068 [INFO] validating manifest of myst6re/vtun-rs on toolchain master#0f88167f89fffe321590c5148f21b7d51d44388d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of myst6re/vtun-rs on toolchain try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing myst6re/vtun-rs [INFO] finished frobbing myst6re/vtun-rs [INFO] frobbed toml for myst6re/vtun-rs written to work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/myst6re/vtun-rs/Cargo.toml [INFO] started frobbing myst6re/vtun-rs [INFO] finished frobbing myst6re/vtun-rs [INFO] frobbed toml for myst6re/vtun-rs written to work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/myst6re/vtun-rs/Cargo.toml [INFO] crate myst6re/vtun-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/myst6re/vtun-rs/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking myst6re/vtun-rs against try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-5/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/myst6re/vtun-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=forbid" "-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" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] a527a54be1103255004dfb51e7f838503b0ebc14fac54ca929e014223bc05279 [INFO] running `"docker" "start" "-a" "a527a54be1103255004dfb51e7f838503b0ebc14fac54ca929e014223bc05279"` [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking vtun-rs v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: maybe a missing `extern crate nix;`? [INFO] [stderr] --> src/tunnel.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use nix::sys::socket::setsockopt; [INFO] [stderr] | ^^^ maybe a missing `extern crate nix;`? [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: maybe a missing `extern crate nix;`? [INFO] [stderr] --> src/tunnel.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use nix::sys::socket::sockopt::KeepAlive; [INFO] [stderr] | ^^^ maybe a missing `extern crate nix;`? [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Read` in this scope [INFO] [stderr] --> src/tunnel.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Write` in this scope [INFO] [stderr] --> src/tunnel.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Write; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stderr] --> src/tunnel.rs:9:33 [INFO] [stderr] | [INFO] [stderr] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::io::AsRawFd; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Read` in this scope [INFO] [stderr] --> src/tunnel.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Write` in this scope [INFO] [stderr] --> src/tunnel.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Write; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stderr] --> src/tunnel.rs:25:33 [INFO] [stderr] | [INFO] [stderr] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::io::AsRawFd; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Read` in this scope [INFO] [stderr] --> src/tunnel.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Write` in this scope [INFO] [stderr] --> src/tunnel.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Write; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stderr] --> src/tunnel.rs:41:34 [INFO] [stderr] | [INFO] [stderr] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::io::AsRawFd; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Duration` in this scope [INFO] [stderr] --> src/tunnel.rs:51:65 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn tunnel(mut stream: TcpStream, udp: bool, timeout: Option) { [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] 1 | use std::time::Duration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `setsockopt` in this scope [INFO] [stderr] --> src/tunnel.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | setsockopt(stream.as_raw_fd(), KeepAlive, true); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KeepAlive` in this scope [INFO] [stderr] --> src/tunnel.rs:60:40 [INFO] [stderr] | [INFO] [stderr] 60 | setsockopt(stream.as_raw_fd(), KeepAlive, true); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `nix::sys::socket::setsockopt` [INFO] [stderr] --> src/tunnel.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use nix::sys::socket::setsockopt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `nix::sys::socket::sockopt::KeepAlive` [INFO] [stderr] --> src/tunnel.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use nix::sys::socket::sockopt::KeepAlive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/tunnel.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | if (udp) { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpStream` [INFO] [stderr] --> src/server.rs:1:29 [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::{TcpListener, TcpStream, ToSocketAddrs}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0405, E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `vtun-rs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: maybe a missing `extern crate nix;`? [INFO] [stderr] --> src/tunnel.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use nix::sys::socket::setsockopt; [INFO] [stderr] | ^^^ maybe a missing `extern crate nix;`? [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: maybe a missing `extern crate nix;`? [INFO] [stderr] --> src/tunnel.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use nix::sys::socket::sockopt::KeepAlive; [INFO] [stderr] | ^^^ maybe a missing `extern crate nix;`? [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Read` in this scope [INFO] [stderr] --> src/tunnel.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Write` in this scope [INFO] [stderr] --> src/tunnel.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Write; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stderr] --> src/tunnel.rs:9:33 [INFO] [stderr] | [INFO] [stderr] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::io::AsRawFd; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Read` in this scope [INFO] [stderr] --> src/tunnel.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Write` in this scope [INFO] [stderr] --> src/tunnel.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Write; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stderr] --> src/tunnel.rs:25:33 [INFO] [stderr] | [INFO] [stderr] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::io::AsRawFd; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Read` in this scope [INFO] [stderr] --> src/tunnel.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Write` in this scope [INFO] [stderr] --> src/tunnel.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Write; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::Write; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stderr] --> src/tunnel.rs:41:34 [INFO] [stderr] | [INFO] [stderr] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::io::AsRawFd; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Duration` in this scope [INFO] [stderr] --> src/tunnel.rs:51:65 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn tunnel(mut stream: TcpStream, udp: bool, timeout: Option) { [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] 1 | use std::time::Duration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `setsockopt` in this scope [INFO] [stderr] --> src/tunnel.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | setsockopt(stream.as_raw_fd(), KeepAlive, true); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KeepAlive` in this scope [INFO] [stderr] --> src/tunnel.rs:60:40 [INFO] [stderr] | [INFO] [stderr] 60 | setsockopt(stream.as_raw_fd(), KeepAlive, true); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `nix::sys::socket::setsockopt` [INFO] [stderr] --> src/tunnel.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use nix::sys::socket::setsockopt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `nix::sys::socket::sockopt::KeepAlive` [INFO] [stderr] --> src/tunnel.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use nix::sys::socket::sockopt::KeepAlive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/tunnel.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | if (udp) { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpStream` [INFO] [stderr] --> src/server.rs:1:29 [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::{TcpListener, TcpStream, ToSocketAddrs}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0405, E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `vtun-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a527a54be1103255004dfb51e7f838503b0ebc14fac54ca929e014223bc05279"` [INFO] running `"docker" "rm" "-f" "a527a54be1103255004dfb51e7f838503b0ebc14fac54ca929e014223bc05279"` [INFO] [stdout] a527a54be1103255004dfb51e7f838503b0ebc14fac54ca929e014223bc05279