[INFO] cloning repository https://github.com/Zedonboy/solanavpn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zedonboy/solanavpn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Fsolanavpn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Fsolanavpn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca4c157aa2ce61e64ed4f019c2b21b9c4a842aed [INFO] testing Zedonboy/solanavpn against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Fsolanavpn" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zedonboy/solanavpn on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Zedonboy/solanavpn [INFO] finished tweaking git repo https://github.com/Zedonboy/solanavpn [INFO] tweaked toml for git repo https://github.com/Zedonboy/solanavpn written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Zedonboy/solanavpn 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" "+beta-2025-02-18" "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 tokio-tun v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3d3f458bc4ac2ab02ee97b30db520d67291852db65676f223f82c415416deb2 [INFO] running `Command { std: "docker" "start" "-a" "e3d3f458bc4ac2ab02ee97b30db520d67291852db65676f223f82c415416deb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3d3f458bc4ac2ab02ee97b30db520d67291852db65676f223f82c415416deb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d3f458bc4ac2ab02ee97b30db520d67291852db65676f223f82c415416deb2", kill_on_drop: false }` [INFO] [stdout] e3d3f458bc4ac2ab02ee97b30db520d67291852db65676f223f82c415416deb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6b70d733cfef277be50face8bc18879117fd9e9acb531b64d47954d22f03606 [INFO] running `Command { std: "docker" "start" "-a" "e6b70d733cfef277be50face8bc18879117fd9e9acb531b64d47954d22f03606", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling nix v0.25.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tokio-tun v0.7.0 [INFO] [stderr] Compiling solanavpn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `arc_tun` in this scope [INFO] [stdout] --> src/main.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | let (mut tun_reader, mut tun_writer) = tokio::io::split(arc_tun); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `main` [INFO] [stdout] --> src/main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::{net::UdpSocket, main, net::{TcpListener, unix::SocketAddr}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/IPV4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `byteorder` [INFO] [stdout] --> src/IPV4.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use byteorder; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let data = buf[..len]; [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 33 | let data = &buf[..len]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | route.insert(key.as_str(), addr); [INFO] [stdout] | ------ ^^^^ expected `tokio::net::unix::SocketAddr`, found `std::net::SocketAddr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `std::net::SocketAddr` and `tokio::net::unix::SocketAddr` have similar names, but are actually distinct types [INFO] [stdout] note: `std::net::SocketAddr` is defined in crate `core` [INFO] [stdout] --> /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/net/socket_addr.rs:29:1 [INFO] [stdout] note: `tokio::net::unix::SocketAddr` is defined in crate `tokio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.2/src/net/unix/socketaddr.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SocketAddr(pub(super) mio::net::SocketAddr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the return type of this call is `std::net::SocketAddr` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | route.insert(key.as_str(), addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/collections/hash/map.rs:1189:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | tx.send(data.to_vec()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found future [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 38 | tx.send(data.to_vec()); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 38 | return tx.send(data.to_vec()); [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `()`, found `Result<(), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/IPV4.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | let srcIp = u32::from_be_bytes(data[12..16]); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^ expected `[u8; 4]`, found `[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/num/mod.rs:1098:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/IPV4.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | let dstIp = u32::from_be_bytes(data[16..20]); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^ expected `[u8; 4]`, found `[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/num/mod.rs:1098:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solanavpn` (bin "solanavpn") due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e6b70d733cfef277be50face8bc18879117fd9e9acb531b64d47954d22f03606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6b70d733cfef277be50face8bc18879117fd9e9acb531b64d47954d22f03606", kill_on_drop: false }` [INFO] [stdout] e6b70d733cfef277be50face8bc18879117fd9e9acb531b64d47954d22f03606