[INFO] cloning repository https://github.com/calvinwanq/vesta [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/calvinwanq/vesta" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalvinwanq%2Fvesta", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalvinwanq%2Fvesta'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30d32107a8abceceb5de774d673258aad689d6f9 [INFO] checking calvinwanq/vesta/30d32107a8abceceb5de774d673258aad689d6f9 against master#fcac501a73cdde54de46a0683567f1a890730555 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalvinwanq%2Fvesta" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/calvinwanq/vesta [INFO] finished tweaking git repo https://github.com/calvinwanq/vesta [INFO] tweaked toml for git repo https://github.com/calvinwanq/vesta written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/calvinwanq/vesta on toolchain fcac501a73cdde54de46a0683567f1a890730555 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcac501a73cdde54de46a0683567f1a890730555" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/calvinwanq/vesta 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" "+fcac501a73cdde54de46a0683567f1a890730555" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yamux v0.10.2 [INFO] [stderr] Downloaded pest_derive v2.7.15 [INFO] [stderr] Downloaded trim-in-place v0.1.7 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded byte_string v1.0.0 [INFO] [stderr] Downloaded kcp v0.5.3 [INFO] [stderr] Downloaded tokio_kcp v0.9.8 [INFO] [stderr] Downloaded shadowsocks-crypto v0.5.8 [INFO] [stderr] Downloaded ron v0.7.1 [INFO] [stderr] Downloaded config v0.13.4 [INFO] [stderr] Downloaded config v0.15.11 [INFO] [stderr] Downloaded rcgen v0.11.3 [INFO] [stderr] Downloaded pest_meta v2.7.15 [INFO] [stderr] Downloaded yaml-rust2 v0.10.0 [INFO] [stderr] Downloaded pest v2.7.15 [INFO] [stderr] Downloaded winnow v0.7.4 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] [stderr] Downloaded nix v0.27.1 [INFO] [stderr] Downloaded cidr v0.2.3 [INFO] [stderr] Downloaded pest_generator v2.7.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+fcac501a73cdde54de46a0683567f1a890730555" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 773a56c51328cfd66a9e86668375f87a17516aae58f47481f03a58a9bc782117 [INFO] running `Command { std: "docker" "start" "-a" "773a56c51328cfd66a9e86668375f87a17516aae58f47481f03a58a9bc782117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "773a56c51328cfd66a9e86668375f87a17516aae58f47481f03a58a9bc782117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "773a56c51328cfd66a9e86668375f87a17516aae58f47481f03a58a9bc782117", kill_on_drop: false }` [INFO] [stdout] 773a56c51328cfd66a9e86668375f87a17516aae58f47481f03a58a9bc782117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+fcac501a73cdde54de46a0683567f1a890730555" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc5e7e429a844efee3ea583dcf9cc3ae65bd2a111019d630e6d0827f5d99eb4c [INFO] running `Command { std: "docker" "start" "-a" "cc5e7e429a844efee3ea583dcf9cc3ae65bd2a111019d630e6d0827f5d99eb4c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking winnow v0.7.4 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Checking getrandom v0.3.1 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Checking yaml-rust2 v0.10.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking resolv-conf v0.7.1 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking config v0.15.11 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking cidr v0.2.3 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking time v0.3.39 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking kcp v0.5.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking byte_string v1.0.0 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking trust-dns-proto v0.23.2 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tokio_kcp v0.9.8 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Checking trust-dns-resolver v0.23.2 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking shadowsocks-crypto v0.5.8 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking yamux v0.10.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Checking env_logger v0.11.7 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking vesta-common v0.1.0 (/opt/rustwide/workdir/vesta-common) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> vesta-common/src/utils.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | let ip = Ipv4Addr::from(u32::from_be(addr.sin_addr.s_addr)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 104 - let ip = Ipv4Addr::from(u32::from_be(addr.sin_addr.s_addr)); [INFO] [stdout] 104 + let ip = IpAddr::from(u32::from_be(addr.sin_addr.s_addr)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::Ipv4Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv6Addr` [INFO] [stdout] --> vesta-common/src/utils.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | let ip = Ipv6Addr::from(addr.sin6_addr.s6_addr); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv6Addr` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 110 - let ip = Ipv6Addr::from(addr.sin6_addr.s6_addr); [INFO] [stdout] 110 + let ip = IpAddr::from(addr.sin6_addr.s6_addr); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::Ipv6Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> vesta-common/src/utils.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | let ip = Ipv4Addr::from(u32::from_be(addr.sin_addr.s_addr)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 104 - let ip = Ipv4Addr::from(u32::from_be(addr.sin_addr.s_addr)); [INFO] [stdout] 104 + let ip = IpAddr::from(u32::from_be(addr.sin_addr.s_addr)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::Ipv4Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv6Addr` [INFO] [stdout] --> vesta-common/src/utils.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | let ip = Ipv6Addr::from(addr.sin6_addr.s6_addr); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv6Addr` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 110 - let ip = Ipv6Addr::from(addr.sin6_addr.s6_addr); [INFO] [stdout] 110 + let ip = IpAddr::from(addr.sin6_addr.s6_addr); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::Ipv6Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | libc::getsockopt( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | libc::getsockopt( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | libc::getsockopt( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | libc::getsockopt( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let mut addr: libc::sockaddr_storage = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let mut len = mem::size_of::() as libc::socklen_t; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vesta-common` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:73:63 [INFO] [stdout] | [INFO] [stdout] 73 | let mut len = mem::size_of::() as libc::socklen_t; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | let addr: &libc::sockaddr_in6 = unsafe { &*(&addr as *const _ as *const _) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | libc::AF_INET6 => { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | libc::AF_INET => { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let addr: &libc::sockaddr_in = unsafe { &*(&addr as *const _ as *const _) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let mut addr: libc::sockaddr_storage = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let mut len = mem::size_of::() as libc::socklen_t; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:73:63 [INFO] [stdout] | [INFO] [stdout] 73 | let mut len = mem::size_of::() as libc::socklen_t; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | let addr: &libc::sockaddr_in6 = unsafe { &*(&addr as *const _ as *const _) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | libc::AF_INET6 => { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | libc::AF_INET => { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> vesta-common/src/utils.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let addr: &libc::sockaddr_in = unsafe { &*(&addr as *const _ as *const _) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vesta-common` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "cc5e7e429a844efee3ea583dcf9cc3ae65bd2a111019d630e6d0827f5d99eb4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc5e7e429a844efee3ea583dcf9cc3ae65bd2a111019d630e6d0827f5d99eb4c", kill_on_drop: false }` [INFO] [stdout] cc5e7e429a844efee3ea583dcf9cc3ae65bd2a111019d630e6d0827f5d99eb4c