[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] checking myst6re/vtun-rs against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/myst6re/vtun-rs on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-6/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2be88bbfac30d24ec0d3179d6d1ef82115f5cbcb00f8154ea86ce5c7226a296 [INFO] running `Command { std: "docker" "start" "-a" "b2be88bbfac30d24ec0d3179d6d1ef82115f5cbcb00f8154ea86ce5c7226a296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2be88bbfac30d24ec0d3179d6d1ef82115f5cbcb00f8154ea86ce5c7226a296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2be88bbfac30d24ec0d3179d6d1ef82115f5cbcb00f8154ea86ce5c7226a296", kill_on_drop: false }` [INFO] [stdout] b2be88bbfac30d24ec0d3179d6d1ef82115f5cbcb00f8154ea86ce5c7226a296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e9ee90ae3f9b6b4e104b22b10bad169a4254865f57cf553612310fa12cbb286 [INFO] running `Command { std: "docker" "start" "-a" "1e9ee90ae3f9b6b4e104b22b10bad169a4254865f57cf553612310fa12cbb286", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking strsim v0.5.1 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking ansi_term v0.8.0 [INFO] [stderr] Checking unicode-segmentation v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.3 [INFO] [stderr] Checking term_size v0.1.0 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking clap v2.10.4 [INFO] [stderr] Checking 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] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] [stderr] error: could not compile `vtun-rs` due to 15 previous errors; 2 warnings emitted [INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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: build failed [INFO] running `Command { std: "docker" "inspect" "1e9ee90ae3f9b6b4e104b22b10bad169a4254865f57cf553612310fa12cbb286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e9ee90ae3f9b6b4e104b22b10bad169a4254865f57cf553612310fa12cbb286", kill_on_drop: false }` [INFO] [stdout] 1e9ee90ae3f9b6b4e104b22b10bad169a4254865f57cf553612310fa12cbb286