arcbox-cli 0.1.6

Command-line interface for ArcBox

Build #3000211 2026-03-12 04:26:31

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.96.0-nightly (3b1b0ef4d 2026-03-11)

# docs.rs version docsrs 0.0.0 (a68728e7 2026-03-08 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder3/builds/arcbox-cli-0.1.6/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder3/builds/arcbox-cli-0.1.6/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder3/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder3/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260311-1.96.0-nightly-3b1b0ef4d\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bec6a4dc18783400350a1de5c291ccd2473424ea90683fb3ef4ee8592c9377e0 [INFO] running `Command { std: "docker" "start" "-a" "bec6a4dc18783400350a1de5c291ccd2473424ea90683fb3ef4ee8592c9377e0", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Compiling arcbox-protocol v0.1.6 [INFO] [stderr] Checking arcbox-net v0.1.6 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] error: failed to run custom build command for `arcbox-protocol v0.1.6` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/arcbox-protocol-867fad933acccc32/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' (21) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-protocol-0.1.6/build.rs:48:10: [INFO] [stderr] Failed to compile protobuf files: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stderr] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0425]: cannot find type `HashMap` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:248:20 [INFO] [stderr] | [INFO] [stderr] 248 | endpoints: HashMap<String, NatEndpoint>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these structs [INFO] [stderr] | [INFO] [stderr] 207 + use std::collections::HashMap; [INFO] [stderr] | [INFO] [stderr] 207 + use hashbrown::HashMap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find type `HashMap` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:250:15 [INFO] [stderr] | [INFO] [stderr] 250 | taps: HashMap<String, LinuxTap>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these structs [INFO] [stderr] | [INFO] [stderr] 207 + use std::collections::HashMap; [INFO] [stderr] | [INFO] [stderr] 207 + use hashbrown::HashMap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find type `HashMap` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:278:28 [INFO] [stderr] | [INFO] [stderr] 278 | endpoints: HashMap::new(), [INFO] [stderr] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these structs [INFO] [stderr] | [INFO] [stderr] 207 + use std::collections::HashMap; [INFO] [stderr] | [INFO] [stderr] 207 + use hashbrown::HashMap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find type `HashMap` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:279:23 [INFO] [stderr] | [INFO] [stderr] 279 | taps: HashMap::new(), [INFO] [stderr] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these structs [INFO] [stderr] | [INFO] [stderr] 207 + use std::collections::HashMap; [INFO] [stderr] | [INFO] [stderr] 207 + use hashbrown::HashMap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find type `NetError` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:374:28 [INFO] [stderr] | [INFO] [stderr] 374 | return Err(NetError::Nat("network not set up".to_string())); [INFO] [stderr] | ^^^^^^^^ use of undeclared type `NetError` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum through its public re-export [INFO] [stderr] | [INFO] [stderr] 207 + use crate::NetError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find type `NetError` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:378:28 [INFO] [stderr] | [INFO] [stderr] 378 | return Err(NetError::Nat(format!("endpoint {} already exists", name))); [INFO] [stderr] | ^^^^^^^^ use of undeclared type `NetError` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum through its public re-export [INFO] [stderr] | [INFO] [stderr] 207 + use crate::NetError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find type `NetError` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:383:17 [INFO] [stderr] | [INFO] [stderr] 383 | NetError::AddressAllocation("no IP addresses available".to_string()) [INFO] [stderr] | ^^^^^^^^ use of undeclared type `NetError` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum through its public re-export [INFO] [stderr] | [INFO] [stderr] 207 + use crate::NetError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find type `NetError` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:437:32 [INFO] [stderr] | [INFO] [stderr] 437 | .ok_or_else(|| NetError::Nat(format!("endpoint {} not found", name)))?; [INFO] [stderr] | ^^^^^^^^ use of undeclared type `NetError` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum through its public re-export [INFO] [stderr] | [INFO] [stderr] 207 + use crate::NetError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find type `HashMap` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:489:37 [INFO] [stderr] | [INFO] [stderr] 489 | pub fn endpoints(&self) -> &HashMap<String, NatEndpoint> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these structs [INFO] [stderr] | [INFO] [stderr] 207 + use std::collections::HashMap; [INFO] [stderr] | [INFO] [stderr] 207 + use hashbrown::HashMap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:343:17 [INFO] [stderr] | [INFO] [stderr] 343 | for name in endpoint_names { [INFO] [stderr] | ^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `Sized` is not implemented for `str` [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:343:13 [INFO] [stderr] | [INFO] [stderr] 343 | / for name in endpoint_names { [INFO] [stderr] 344 | | let _ = self.remove_endpoint(&name); [INFO] [stderr] 345 | | } [INFO] [stderr] | |_____________^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `Sized` is not implemented for `str` [INFO] [stderr] note: required by an implicit `Sized` bound in `Option` [INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:600:17 [INFO] [stderr] | [INFO] [stderr] 600 | pub enum Option<T> { [INFO] [stderr] | ^ required by the implicit `Sized` requirement on this type parameter in `Option` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `mac` found for struct `LinuxTap` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/nat.rs:395:27 [INFO] [stderr] | [INFO] [stderr] 395 | let mac = tap.mac(); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/backend.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | fn mac(&self) -> [u8; 6]; [INFO] [stderr] | --- the method is available for `LinuxTap` here [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/linux/tap.rs:100:1 [INFO] [stderr] | [INFO] [stderr] 100 | pub struct LinuxTap { [INFO] [stderr] | ------------------- method `mac` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: trait `NetworkBackend` which provides `mac` is implemented but not in scope; perhaps you want to import it [INFO] [stderr] | [INFO] [stderr] 207 + use crate::backend::NetworkBackend; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/linux/netlink.rs:208:21 [INFO] [stderr] | [INFO] [stderr] 208 | nl_pad: 0, [INFO] [stderr] | ^ expected `Padding<u16>`, found integer [INFO] [stderr] | [INFO] [stderr] = note: expected struct `libc::types::Padding<u16>` [INFO] [stderr] found type `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Io` found for enum `NetError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/linux/tap.rs:382:34 [INFO] [stderr] | [INFO] [stderr] 382 | return Err(NetError::Io(err)); [INFO] [stderr] | ^^ variant or associated item not found in `NetError` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/error.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum NetError { [INFO] [stderr] | ----------------- variant or associated item `Io` not found for this enum [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `NetError` consider using one of the following associated functions: [INFO] [stderr] NetError::config [INFO] [stderr] NetError::io [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/error.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn config(msg: impl Into<String>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn io(err: std::io::Error) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: there is an associated function `io` with a similar name (notice the capitalization) [INFO] [stderr] | [INFO] [stderr] 382 - return Err(NetError::Io(err)); [INFO] [stderr] 382 + return Err(NetError::io(err)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Io` found for enum `NetError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/linux/tap.rs:403:34 [INFO] [stderr] | [INFO] [stderr] 403 | return Err(NetError::Io(err)); [INFO] [stderr] | ^^ variant or associated item not found in `NetError` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/error.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum NetError { [INFO] [stderr] | ----------------- variant or associated item `Io` not found for this enum [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `NetError` consider using one of the following associated functions: [INFO] [stderr] NetError::config [INFO] [stderr] NetError::io [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/error.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn config(msg: impl Into<String>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn io(err: std::io::Error) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: there is an associated function `io` with a similar name (notice the capitalization) [INFO] [stderr] | [INFO] [stderr] 403 - return Err(NetError::Io(err)); [INFO] [stderr] 403 + return Err(NetError::io(err)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Io` found for enum `NetError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/linux/tap.rs:434:34 [INFO] [stderr] | [INFO] [stderr] 434 | return Err(NetError::Io(err)); [INFO] [stderr] | ^^ variant or associated item not found in `NetError` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/error.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum NetError { [INFO] [stderr] | ----------------- variant or associated item `Io` not found for this enum [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `NetError` consider using one of the following associated functions: [INFO] [stderr] NetError::config [INFO] [stderr] NetError::io [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/error.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn config(msg: impl Into<String>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn io(err: std::io::Error) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: there is an associated function `io` with a similar name (notice the capitalization) [INFO] [stderr] | [INFO] [stderr] 434 - return Err(NetError::Io(err)); [INFO] [stderr] 434 + return Err(NetError::io(err)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Io` found for enum `NetError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/linux/tap.rs:448:34 [INFO] [stderr] | [INFO] [stderr] 448 | return Err(NetError::Io(err)); [INFO] [stderr] | ^^ variant or associated item not found in `NetError` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/error.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum NetError { [INFO] [stderr] | ----------------- variant or associated item `Io` not found for this enum [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `NetError` consider using one of the following associated functions: [INFO] [stderr] NetError::config [INFO] [stderr] NetError::io [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/error.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn config(msg: impl Into<String>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn io(err: std::io::Error) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: there is an associated function `io` with a similar name (notice the capitalization) [INFO] [stderr] | [INFO] [stderr] 448 - return Err(NetError::Io(err)); [INFO] [stderr] 448 + return Err(NetError::io(err)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0597]: `target` does not live long enough [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arcbox-net-0.1.6/src/linux/firewall.rs:615:27 [INFO] [stderr] | [INFO] [stderr] 594 | let mut args = vec![ [INFO] [stderr] | -------- variable `args` declared here [INFO] [stderr] ... [INFO] [stderr] 610 | let target = format!( [INFO] [stderr] | ------ binding `target` declared here [INFO] [stderr] ... [INFO] [stderr] 615 | args.push(&target); [INFO] [stderr] | ^^^^^^^ borrowed value does not live long enough [INFO] [stderr] 616 | } [INFO] [stderr] | - `target` dropped here while still borrowed [INFO] [stderr] ... [INFO] [stderr] 619 | self.run_iptables(&args)?; [INFO] [stderr] | ----- borrow later used here [INFO] [stderr] | [INFO] [stderr] = note: `args` is a collection that stores borrowed references, but `target` does not live long enough to be stored in it [INFO] [stderr] = help: buffer reuse with borrowed references requires unsafe code or restructuring [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425, E0433, E0597, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `arcbox-net` (lib) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "bec6a4dc18783400350a1de5c291ccd2473424ea90683fb3ef4ee8592c9377e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bec6a4dc18783400350a1de5c291ccd2473424ea90683fb3ef4ee8592c9377e0", kill_on_drop: false }` [INFO] [stdout] bec6a4dc18783400350a1de5c291ccd2473424ea90683fb3ef4ee8592c9377e0