[INFO] cloning repository https://github.com/myst6re/vtun-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myst6re/vtun-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7aa89fbf07a7faf8403c8565195a1dd0233ac068 [INFO] testing myst6re/vtun-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/myst6re/vtun-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/myst6re/vtun-rs [INFO] finished tweaking git repo https://github.com/myst6re/vtun-rs [INFO] tweaked toml for git repo https://github.com/myst6re/vtun-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/myst6re/vtun-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc83c8a171d53336f89ee6559664d0671e8f79c95fa5cee0f6a293d1d514b90f [INFO] running `Command { std: "docker" "start" "-a" "cc83c8a171d53336f89ee6559664d0671e8f79c95fa5cee0f6a293d1d514b90f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc83c8a171d53336f89ee6559664d0671e8f79c95fa5cee0f6a293d1d514b90f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc83c8a171d53336f89ee6559664d0671e8f79c95fa5cee0f6a293d1d514b90f", kill_on_drop: false }` [INFO] [stdout] cc83c8a171d53336f89ee6559664d0671e8f79c95fa5cee0f6a293d1d514b90f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b51c889ae3e25e549147438d181a0e6dca091a548b88dc6a491733c65bab2a7 [INFO] running `Command { std: "docker" "start" "-a" "3b51c889ae3e25e549147438d181a0e6dca091a548b88dc6a491733c65bab2a7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling libc v0.2.15 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ansi_term v0.8.0 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.3 [INFO] [stderr] Compiling unicode-segmentation v0.1.2 [INFO] [stderr] Compiling strsim v0.5.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling term_size v0.1.0 [INFO] [stderr] Compiling clap v2.10.4 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling vtun-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `nix`? [INFO] [stdout] --> src/tunnel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nix::sys::socket::setsockopt; [INFO] [stdout] | ^^^ maybe a missing crate `nix`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `nix`? [INFO] [stdout] --> src/tunnel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nix::sys::socket::sockopt::KeepAlive; [INFO] [stdout] | ^^^ maybe a missing crate `nix`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope [INFO] [stdout] --> src/tunnel.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/tunnel.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stdout] --> src/tunnel.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope [INFO] [stdout] --> src/tunnel.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/tunnel.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stdout] --> src/tunnel.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope [INFO] [stdout] --> src/tunnel.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/tunnel.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stdout] --> src/tunnel.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/tunnel.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn tunnel(mut stream: TcpStream, udp: bool, timeout: Option) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setsockopt` in this scope [INFO] [stdout] --> src/tunnel.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | setsockopt(stream.as_raw_fd(), KeepAlive, true); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KeepAlive` in this scope [INFO] [stdout] --> src/tunnel.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | setsockopt(stream.as_raw_fd(), KeepAlive, true); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/tunnel.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | if (udp) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - if (udp) { [INFO] [stdout] 56 + if udp { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/server.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{TcpListener, TcpStream, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vtun-rs` due to 15 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3b51c889ae3e25e549147438d181a0e6dca091a548b88dc6a491733c65bab2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b51c889ae3e25e549147438d181a0e6dca091a548b88dc6a491733c65bab2a7", kill_on_drop: false }` [INFO] [stdout] 3b51c889ae3e25e549147438d181a0e6dca091a548b88dc6a491733c65bab2a7