[INFO] cloning repository https://github.com/developer1363609/e-net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/developer1363609/e-net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeveloper1363609%2Fe-net", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeveloper1363609%2Fe-net'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35f5f8fb9a82c2c1903acf9cb9a4418104e98d44 [INFO] checking developer1363609/e-net against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeveloper1363609%2Fe-net" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/developer1363609/e-net [INFO] finished tweaking git repo https://github.com/developer1363609/e-net [INFO] tweaked toml for git repo https://github.com/developer1363609/e-net written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/developer1363609/e-net on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/developer1363609/e-net 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.11.3 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded dns-lookup v2.0.4 [INFO] [stderr] Downloaded rand_core v0.9.0-alpha.1 [INFO] [stderr] Downloaded zerocopy-derive v0.8.0-alpha.6 [INFO] [stderr] Downloaded zerocopy v0.8.0-alpha.6 [INFO] [stderr] Downloaded rand v0.9.0-alpha.1 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Downloaded transient-hashmap v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d13b09d3de9516d85478894028196046c063b2117d183808af03bd872a560b63 [INFO] running `Command { std: "docker" "start" "-a" "d13b09d3de9516d85478894028196046c063b2117d183808af03bd872a560b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d13b09d3de9516d85478894028196046c063b2117d183808af03bd872a560b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d13b09d3de9516d85478894028196046c063b2117d183808af03bd872a560b63", kill_on_drop: false }` [INFO] [stdout] d13b09d3de9516d85478894028196046c063b2117d183808af03bd872a560b63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef553b6b52ef92ec1bab1bf3b2bd3b03bba91ea01d8f5b7a841f95f515a4a2f9 [INFO] running `Command { std: "docker" "start" "-a" "ef553b6b52ef92ec1bab1bf3b2bd3b03bba91ea01d8f5b7a841f95f515a4a2f9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking transient-hashmap v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking rand_core v0.9.0-alpha.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking dns-lookup v2.0.4 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Checking rand v0.9.0-alpha.1 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking e-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `clap::App`, `clap::SubCommand` [INFO] [stdout] --> src/cli.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `SubCommand` in the root [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `Subcommand` [INFO] [stdout] | no `App` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::ctl_info`, `libc::sockaddr_ctl`, `libc::SYSPROTO_CONTROL` [INFO] [stdout] --> src/device.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | ...t, ctl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ctl, socket, socklen_t, SYSPROTO_CONTROL}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `SYSPROTO_CONTROL` in the root [INFO] [stdout] | | | [INFO] [stdout] | no `ctl_info` in the root no `sockaddr_ctl` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - use libc::{aiocb, c_int, c_short, c_ulong, connect, ctl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ctl, socket, socklen_t, SYSPROTO_CONTROL}; [INFO] [stdout] 11 + use libc::{aiocb, c_int, c_short, c_ulong, connect, Dl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ctl, socket, socklen_t, SYSPROTO_CONTROL}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - use libc::{aiocb, c_int, c_short, c_ulong, connect, ctl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ctl, socket, socklen_t, SYSPROTO_CONTROL}; [INFO] [stdout] 11 + use libc::{aiocb, c_int, c_short, c_ulong, connect, ctl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ll, socket, socklen_t, SYSPROTO_CONTROL}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libc::proc_kmsgbuf` [INFO] [stdout] --> src/network.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::proc_kmsgbuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `proc_kmsgbuf` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> src/network.rs:383:23 [INFO] [stdout] | [INFO] [stdout] 383 | thread::sleep(time::Duration::from_secs(1)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 364 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 383 - thread::sleep(time::Duration::from_secs(1)); [INFO] [stdout] 383 + thread::sleep(Duration::from_secs(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> src/network.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | thread::sleep(time::Duration::from_secs(1)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 364 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 391 - thread::sleep(time::Duration::from_secs(1)); [INFO] [stdout] 391 + thread::sleep(Duration::from_secs(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::stat` [INFO] [stdout] --> src/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::stat; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/device.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, io, mem, process}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/device.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/device.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/device.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `FromRawFd` [INFO] [stdout] --> src/device.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::fd::{AsFd, AsRawFd, FromRawFd, RawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FD_CLOEXEC`, `F_SETFD`, `SOCK_DGRAM`, `aiocb`, `c_int`, `connect`, `fcntl`, `getsockname`, `getsockopt`, `sockaddr`, `socket`, and `socklen_t` [INFO] [stdout] --> src/device.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | ...::{aiocb, c_int, c_short, c_ulong, connect, ctl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ctl, socket, socklen_t, S... [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/network.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked` [INFO] [stdout] --> src/network.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::__private::de::IdentifierDeserializer` [INFO] [stdout] --> src/network.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::__private::de::IdentifierDeserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | Arg::with_name("bind") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `clap::App`, `clap::SubCommand` [INFO] [stdout] --> src/cli.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `SubCommand` in the root [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `Subcommand` [INFO] [stdout] | no `App` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | Arg::with_name("port") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | Arg::with_name("key") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | Arg::with_name("dns") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | Arg::with_name("server") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | Arg::with_name("port") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | Arg::with_name("key") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | Arg::with_name("no-default-route") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::ctl_info`, `libc::sockaddr_ctl`, `libc::SYSPROTO_CONTROL` [INFO] [stdout] --> src/device.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | ...t, ctl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ctl, socket, socklen_t, SYSPROTO_CONTROL}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `SYSPROTO_CONTROL` in the root [INFO] [stdout] | | | [INFO] [stdout] | no `ctl_info` in the root no `sockaddr_ctl` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - use libc::{aiocb, c_int, c_short, c_ulong, connect, ctl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ctl, socket, socklen_t, SYSPROTO_CONTROL}; [INFO] [stdout] 11 + use libc::{aiocb, c_int, c_short, c_ulong, connect, Dl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ctl, socket, socklen_t, SYSPROTO_CONTROL}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - use libc::{aiocb, c_int, c_short, c_ulong, connect, ctl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ctl, socket, socklen_t, SYSPROTO_CONTROL}; [INFO] [stdout] 11 + use libc::{aiocb, c_int, c_short, c_ulong, connect, ctl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ll, socket, socklen_t, SYSPROTO_CONTROL}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libc::proc_kmsgbuf` [INFO] [stdout] --> src/network.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::proc_kmsgbuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `proc_kmsgbuf` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::stat` [INFO] [stdout] --> src/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::stat; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/device.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, io, mem, process}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/device.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/device.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/device.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `FromRawFd` [INFO] [stdout] --> src/device.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::fd::{AsFd, AsRawFd, FromRawFd, RawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FD_CLOEXEC`, `F_SETFD`, `SOCK_DGRAM`, `aiocb`, `c_int`, `connect`, `fcntl`, `getsockname`, `getsockopt`, `sockaddr`, `socket`, and `socklen_t` [INFO] [stdout] --> src/device.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | ...::{aiocb, c_int, c_short, c_ulong, connect, ctl_info, F_SETFD, fcntl, FD_CLOEXEC, getsockname, getsockopt, IFNAMSIZ, ioctl, SOCK_DGRAM, sockaddr, sockaddr_ctl, socket, socklen_t, S... [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/network.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked` [INFO] [stdout] --> src/network.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::__private::de::IdentifierDeserializer` [INFO] [stdout] --> src/network.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::__private::de::IdentifierDeserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | ifr_name:{ [INFO] [stdout] | ______________________^ [INFO] [stdout] 85 | | let mut buffer = [0u8;IFNAMSIZ]; [INFO] [stdout] 86 | | let full_name = format!("tun{}",name); [INFO] [stdout] 87 | | buffer[..full_name.len()].clone_from_slice(full_name.as_bytes()); [INFO] [stdout] 88 | | }, [INFO] [stdout] | |_____________^ expected `[u8; 16]`, found `()` [INFO] [stdout] | [INFO] [stdout] help: consider returning the local binding `buffer` [INFO] [stdout] | [INFO] [stdout] 87 ~ buffer[..full_name.len()].clone_from_slice(full_name.as_bytes()); [INFO] [stdout] 88 + buffer [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&i32: Source` is not satisfied [INFO] [stdout] --> src/network.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 138 | .register( [INFO] [stdout] | -------- required by a bound introduced by this call [INFO] [stdout] 139 | &mut tunfd, [INFO] [stdout] | ^^^^^^^^^^ the trait `Source` is not implemented for `&i32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Source`: [INFO] [stdout] Box [INFO] [stdout] SourceFd<'a> [INFO] [stdout] mio::io_source::IoSource [INFO] [stdout] mio::net::TcpListener [INFO] [stdout] mio::net::TcpStream [INFO] [stdout] mio::net::UdpSocket [INFO] [stdout] mio::net::UnixDatagram [INFO] [stdout] mio::net::UnixListener [INFO] [stdout] and 3 others [INFO] [stdout] note: required by a bound in `Registry::register` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mio-0.7.14/src/poll.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn register(&self, source: &mut S, token: Token, interests: Interest) -> io::Result<()> [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 475 | where [INFO] [stdout] 476 | S: event::Source + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Registry::register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | Arg::with_name("bind") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | Arg::with_name("port") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | Arg::with_name("key") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | Arg::with_name("dns") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | Arg::with_name("server") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | Arg::with_name("port") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | Arg::with_name("key") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stdout] --> src/cli.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | Arg::with_name("no-default-route") [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.2/src/builder/arg.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | ifr_name:{ [INFO] [stdout] | ______________________^ [INFO] [stdout] 85 | | let mut buffer = [0u8;IFNAMSIZ]; [INFO] [stdout] 86 | | let full_name = format!("tun{}",name); [INFO] [stdout] 87 | | buffer[..full_name.len()].clone_from_slice(full_name.as_bytes()); [INFO] [stdout] 88 | | }, [INFO] [stdout] | |_____________^ expected `[u8; 16]`, found `()` [INFO] [stdout] | [INFO] [stdout] help: consider returning the local binding `buffer` [INFO] [stdout] | [INFO] [stdout] 87 ~ buffer[..full_name.len()].clone_from_slice(full_name.as_bytes()); [INFO] [stdout] 88 + buffer [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&i32: Source` is not satisfied [INFO] [stdout] --> src/network.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 138 | .register( [INFO] [stdout] | -------- required by a bound introduced by this call [INFO] [stdout] 139 | &mut tunfd, [INFO] [stdout] | ^^^^^^^^^^ the trait `Source` is not implemented for `&i32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Source`: [INFO] [stdout] Box [INFO] [stdout] SourceFd<'a> [INFO] [stdout] mio::io_source::IoSource [INFO] [stdout] mio::net::TcpListener [INFO] [stdout] mio::net::TcpStream [INFO] [stdout] mio::net::UdpSocket [INFO] [stdout] mio::net::UnixDatagram [INFO] [stdout] mio::net::UnixListener [INFO] [stdout] and 3 others [INFO] [stdout] note: required by a bound in `Registry::register` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mio-0.7.14/src/poll.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn register(&self, source: &mut S, token: Token, interests: Interest) -> io::Result<()> [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 475 | where [INFO] [stdout] 476 | S: event::Source + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Registry::register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `e-net` (bin "e-net" test) due to 15 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `e-net` (bin "e-net") due to 13 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ef553b6b52ef92ec1bab1bf3b2bd3b03bba91ea01d8f5b7a841f95f515a4a2f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef553b6b52ef92ec1bab1bf3b2bd3b03bba91ea01d8f5b7a841f95f515a4a2f9", kill_on_drop: false }` [INFO] [stdout] ef553b6b52ef92ec1bab1bf3b2bd3b03bba91ea01d8f5b7a841f95f515a4a2f9