[INFO] cloning repository https://github.com/rajiknows/vpn-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajiknows/vpn-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajiknows%2Fvpn-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajiknows%2Fvpn-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b5ba57a7381c9d576ee66b59dbd3391edd4420f
[INFO] checking rajiknows/vpn-rs against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajiknows%2Fvpn-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rajiknows/vpn-rs
[INFO] finished tweaking git repo https://github.com/rajiknows/vpn-rs
[INFO] tweaked toml for git repo https://github.com/rajiknows/vpn-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rajiknows/vpn-rs on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rajiknows/vpn-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0329816a28aa4f4e0df62de066fed9f36185ae9c5a1e63fb3f1f0d83fa454970
[INFO] running `Command { std: "docker" "start" "0329816a28aa4f4e0df62de066fed9f36185ae9c5a1e63fb3f1f0d83fa454970", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0329816a28aa4f4e0df62de066fed9f36185ae9c5a1e63fb3f1f0d83fa454970", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0329816a28aa4f4e0df62de066fed9f36185ae9c5a1e63fb3f1f0d83fa454970" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0329816a28aa4f4e0df62de066fed9f36185ae9c5a1e63fb3f1f0d83fa454970", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0329816a28aa4f4e0df62de066fed9f36185ae9c5a1e63fb3f1f0d83fa454970" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling cc v1.2.46
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking vpn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `libc::AF_SYS_CONTROL`, `libc::AF_SYSTEM`, `libc::CTLIOCGINFO`
[INFO] [stdout]  --> src/core/tun.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     AF_SYS_CONTROL, AF_SYSTEM, CTLIOCGINFO, SOCK_DGRAM, c_char, c_int, close, connect, getsockopt,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^ no `CTLIOCGINFO` in the root
[INFO] [stdout]   |     |               |
[INFO] [stdout]   |     |               no `AF_SYSTEM` in the root
[INFO] [stdout]   |     no `AF_SYS_CONTROL` in the root
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 2 -     AF_SYS_CONTROL, AF_SYSTEM, CTLIOCGINFO, SOCK_DGRAM, c_char, c_int, close, connect, getsockopt,
[INFO] [stdout] 2 +     AF_SYS_CONTROL, EAI_SYSTEM, CTLIOCGINFO, SOCK_DGRAM, c_char, c_int, close, connect, getsockopt,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PF_SYSTEM` in crate `libc`
[INFO] [stdout]     --> src/core/tun.rs:40:40
[INFO] [stdout]      |
[INFO] [stdout]   40 |         let fd = unsafe { socket(libc::PF_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL) };
[INFO] [stdout]      |                                        ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/unix/linux_like/linux/mod.rs:2867:1
[INFO] [stdout]      |
[INFO] [stdout] 2867 | pub const EAI_SYSTEM: c_int = -11;
[INFO] [stdout]      | --------------------------- similarly named constant `EAI_SYSTEM` defined here
[INFO] [stdout]      |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout]   40 -         let fd = unsafe { socket(libc::PF_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL) };
[INFO] [stdout]   40 +         let fd = unsafe { socket(libc::EAI_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL) };
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/core/echo.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     udp::{self, UdpTransport},
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vpn` (lib test) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved imports `libc::AF_SYS_CONTROL`, `libc::AF_SYSTEM`, `libc::CTLIOCGINFO`
[INFO] [stdout]  --> src/core/tun.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     AF_SYS_CONTROL, AF_SYSTEM, CTLIOCGINFO, SOCK_DGRAM, c_char, c_int, close, connect, getsockopt,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^ no `CTLIOCGINFO` in the root
[INFO] [stdout]   |     |               |
[INFO] [stdout]   |     |               no `AF_SYSTEM` in the root
[INFO] [stdout]   |     no `AF_SYS_CONTROL` in the root
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 2 -     AF_SYS_CONTROL, AF_SYSTEM, CTLIOCGINFO, SOCK_DGRAM, c_char, c_int, close, connect, getsockopt,
[INFO] [stdout] 2 +     AF_SYS_CONTROL, EAI_SYSTEM, CTLIOCGINFO, SOCK_DGRAM, c_char, c_int, close, connect, getsockopt,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PF_SYSTEM` in crate `libc`
[INFO] [stdout]     --> src/core/tun.rs:40:40
[INFO] [stdout]      |
[INFO] [stdout]   40 |         let fd = unsafe { socket(libc::PF_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL) };
[INFO] [stdout]      |                                        ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/unix/linux_like/linux/mod.rs:2867:1
[INFO] [stdout]      |
[INFO] [stdout] 2867 | pub const EAI_SYSTEM: c_int = -11;
[INFO] [stdout]      | --------------------------- similarly named constant `EAI_SYSTEM` defined here
[INFO] [stdout]      |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout]   40 -         let fd = unsafe { socket(libc::PF_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL) };
[INFO] [stdout]   40 +         let fd = unsafe { socket(libc::EAI_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL) };
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/core/echo.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     udp::{self, UdpTransport},
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vpn` (lib) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0329816a28aa4f4e0df62de066fed9f36185ae9c5a1e63fb3f1f0d83fa454970", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0329816a28aa4f4e0df62de066fed9f36185ae9c5a1e63fb3f1f0d83fa454970", kill_on_drop: false }`
[INFO] [stdout] 0329816a28aa4f4e0df62de066fed9f36185ae9c5a1e63fb3f1f0d83fa454970
