tincd-0.1.0
checks.aarch64-darwin.darwin-evo
· build #450
· raw
unpackPhase
1unpacking source archive /nix/store/18an47sjwsmrsycdcy7262shws91kyr1-source2source root is sourcepatchPhase
3Executing configureCargoCommonVars4decompressing cargo artifacts from /nix/store/clp5xm99pm33kmh8pc8h6i7zp0wwm1n9-tincd-deps-0.1.0/target.tar.zst to targetconfigurePhase
5will append /nix/var/nix/builds/nix-16674-1874902649/source/.cargo-home/config.toml with contents of /nix/store/6p5481rnj2r11r97n3671mr0lvznkb9r-vendor-cargo-deps/config.toml6default configurePhase, nothing to dobuildPhase
7+++ command cargo --version8cargo 1.97.0 (c980f4866 2026-06-30)9+++ command cargo build --release --message-format json-render-diagnostics -p tincd -p tinc-tools10 Compiling tinc-proto v0.0.0 (/nix/var/nix/builds/nix-16674-1874902649/source/crates/tinc-proto)11 Compiling tinc-crypto v0.0.0 (/nix/var/nix/builds/nix-16674-1874902649/source/crates/tinc-crypto)12 Compiling tincd v0.1.0 (/nix/var/nix/builds/nix-16674-1874902649/source/crates/tincd)13 Compiling tinc-device v0.0.0 (/nix/var/nix/builds/nix-16674-1874902649/source/crates/tinc-device)14warning: tincd@0.1.0: Warning: supplying the --target arm64-apple-macosx != arm64-apple-darwin argument to a nix-wrapped compiler may not work correctly - cc-wrapper is currently not designed with multi-target compilers in mind. You may want to use an un-wrapped compiler instead.15 Compiling tinc-conf v0.0.0 (/nix/var/nix/builds/nix-16674-1874902649/source/crates/tinc-conf)16 Compiling tinc-sptps v0.0.0 (/nix/var/nix/builds/nix-16674-1874902649/source/crates/tinc-sptps)17 Compiling tinc-tools v0.0.0 (/nix/var/nix/builds/nix-16674-1874902649/source/crates/tinc-tools)18error[E0432]: unresolved import `crate::bind_to_interface`19 --> crates/tincd/src/listen.rs:18:520 |2118 | use crate::bind_to_interface;22 | ^^^^^^^^^^^^^^^^^^^^^^^^ no `bind_to_interface` in the root23 |24note: found an item that was configured out25 --> crates/tincd/src/lib.rs:69:526 |2767 | #[cfg(target_os = "linux")]28 | ------------------- the item is gated behind the `linux` feature2968 | pub(crate) use platform::{3069 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,31 | ^^^^^^^^^^^^^^^^^3233error[E0425]: cannot find function `msg_nosignal` in the crate root34 --> crates/tincd/src/conn.rs:737:6235 |36737 | let n = match send(self.fd.as_raw_fd(), live, crate::msg_nosignal()) {37 | ^^^^^^^^^^^^ not found in the crate root38 |39note: found an item that was configured out40 --> crates/tincd/src/lib.rs:69:2441 |42 67 | #[cfg(target_os = "linux")]43 | ------------------- the item is gated behind the `linux` feature44 68 | pub(crate) use platform::{45 69 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,46 | ^^^^^^^^^^^^47help: consider importing this function48 |49 11 + use crate::platform::msg_nosignal;50 |51help: if you import `msg_nosignal`, refer to it directly52 |53737 - let n = match send(self.fd.as_raw_fd(), live, crate::msg_nosignal()) {54737 + let n = match send(self.fd.as_raw_fd(), live, msg_nosignal()) {55 |5657error[E0425]: cannot find function `sock_cloexec_flag` in the crate root58 --> crates/tincd/src/daemon/net/icmp.rs:234:5459 |60234 | let sock = socket(af, SockType::Datagram, crate::sock_cloexec_flag(), None).ok()?;61 | ^^^^^^^^^^^^^^^^^ not found in the crate root62 |63note: found an item that was configured out64 --> crates/tincd/src/lib.rs:69:7965 |66 67 | #[cfg(target_os = "linux")]67 | ------------------- the item is gated behind the `linux` feature68 68 | pub(crate) use platform::{69 69 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,70 | ^^^^^^^^^^^^^^^^^71help: consider importing this function72 |73 1 + use crate::platform::sock_cloexec_flag;74 |75help: if you import `sock_cloexec_flag`, refer to it directly76 |77234 - let sock = socket(af, SockType::Datagram, crate::sock_cloexec_flag(), None).ok()?;78234 + let sock = socket(af, SockType::Datagram, sock_cloexec_flag(), None).ok()?;79 |8081error[E0425]: cannot find function `set_nosigpipe` in the crate root82 --> crates/tincd/src/daemon/net/rx.rs:39:2483 |8439 | crate::set_nosigpipe(&pair.0);85 | ^^^^^^^^^^^^^ not found in the crate root86 |87note: found an item that was configured out88 --> crates/tincd/src/lib.rs:69:5189 |9067 | #[cfg(target_os = "linux")]91 | ------------------- the item is gated behind the `linux` feature9268 | pub(crate) use platform::{9369 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,94 | ^^^^^^^^^^^^^95help: consider importing this function96 |97 1 + use crate::platform::set_nosigpipe;98 |99help: if you import `set_nosigpipe`, refer to it directly100 |10139 - crate::set_nosigpipe(&pair.0);10239 + set_nosigpipe(&pair.0);103 |104105error[E0425]: cannot find function `set_udp_tos` in the crate root106 --> crates/tincd/src/daemon/net/sptps.rs:789:12107 |108789 | crate::set_udp_tos(l.udp.as_fd(), is_ipv6, prio);109 | ^^^^^^^^^^^ not found in the crate root110 |111note: found an item that was configured out112 --> crates/tincd/src/lib.rs:69:66113 |114 67 | #[cfg(target_os = "linux")]115 | ------------------- the item is gated behind the `linux` feature116 68 | pub(crate) use platform::{117 69 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,118 | ^^^^^^^^^^^119help: consider importing this function120 |121 1 + use crate::platform::set_udp_tos;122 |123help: if you import `set_udp_tos`, refer to it directly124 |125789 - crate::set_udp_tos(l.udp.as_fd(), is_ipv6, prio);126789 + set_udp_tos(l.udp.as_fd(), is_ipv6, prio);127 |128129error[E0425]: cannot find function `set_nosigpipe` in the crate root130 --> crates/tincd/src/listen.rs:285:12131 |132285 | crate::set_nosigpipe(&s);133 | ^^^^^^^^^^^^^ not found in the crate root134 |135note: found an item that was configured out136 --> crates/tincd/src/lib.rs:69:51137 |138 67 | #[cfg(target_os = "linux")]139 | ------------------- the item is gated behind the `linux` feature140 68 | pub(crate) use platform::{141 69 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,142 | ^^^^^^^^^^^^^143help: consider importing this function144 |145 12 + use crate::platform::set_nosigpipe;146 |147help: if you import `set_nosigpipe`, refer to it directly148 |149285 - crate::set_nosigpipe(&s);150285 + set_nosigpipe(&s);151 |152153error[E0425]: cannot find function `bind_to_interface` in the crate root154 --> crates/tincd/src/outgoing.rs:130:32155 |156130 | && let Err(e) = crate::bind_to_interface(sock, iface)157 | ^^^^^^^^^^^^^^^^^ not found in the crate root158 |159note: found an item that was configured out160 --> crates/tincd/src/lib.rs:69:5161 |162 67 | #[cfg(target_os = "linux")]163 | ------------------- the item is gated behind the `linux` feature164 68 | pub(crate) use platform::{165 69 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,166 | ^^^^^^^^^^^^^^^^^167help: consider importing this function168 |169 19 + use crate::platform::bind_to_interface;170 |171help: if you import `bind_to_interface`, refer to it directly172 |173130 - && let Err(e) = crate::bind_to_interface(sock, iface)174130 + && let Err(e) = bind_to_interface(sock, iface)175 |176177error[E0425]: cannot find function `set_nosigpipe` in the crate root178 --> crates/tincd/src/outgoing.rs:155:20179 |180155 | crate::set_nosigpipe(&s);181 | ^^^^^^^^^^^^^ not found in the crate root182 |183note: found an item that was configured out184 --> crates/tincd/src/lib.rs:69:51185 |186 67 | #[cfg(target_os = "linux")]187 | ------------------- the item is gated behind the `linux` feature188 68 | pub(crate) use platform::{189 69 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,190 | ^^^^^^^^^^^^^191help: consider importing this function192 |193 19 + use crate::platform::set_nosigpipe;194 |195help: if you import `set_nosigpipe`, refer to it directly196 |197155 - crate::set_nosigpipe(&s);198155 + set_nosigpipe(&s);199 |200201error[E0425]: cannot find function `set_nosigpipe` in the crate root202 --> crates/tincd/src/outgoing.rs:228:12203 |204228 | crate::set_nosigpipe(&sock);205 | ^^^^^^^^^^^^^ not found in the crate root206 |207note: found an item that was configured out208 --> crates/tincd/src/lib.rs:69:51209 |210 67 | #[cfg(target_os = "linux")]211 | ------------------- the item is gated behind the `linux` feature212 68 | pub(crate) use platform::{213 69 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,214 | ^^^^^^^^^^^^^215help: consider importing this function216 |217 19 + use crate::platform::set_nosigpipe;218 |219help: if you import `set_nosigpipe`, refer to it directly220 |221228 - crate::set_nosigpipe(&sock);222228 + set_nosigpipe(&sock);223 |224225error[E0425]: cannot find function `sock_cloexec_flag` in the crate root226 --> crates/tincd/src/outgoing.rs:615:16227 |228615 | crate::sock_cloexec_flag(),229 | ^^^^^^^^^^^^^^^^^ not found in the crate root230 |231note: found an item that was configured out232 --> crates/tincd/src/lib.rs:69:79233 |234 67 | #[cfg(target_os = "linux")]235 | ------------------- the item is gated behind the `linux` feature236 68 | pub(crate) use platform::{237 69 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,238 | ^^^^^^^^^^^^^^^^^239help: consider importing this function240 |241 19 + use crate::platform::sock_cloexec_flag;242 |243help: if you import `sock_cloexec_flag`, refer to it directly244 |245615 - crate::sock_cloexec_flag(),246615 + sock_cloexec_flag(),247 |248249error[E0425]: cannot find function `set_cloexec` in the crate root250 --> crates/tincd/src/outgoing.rs:617:12251 |252617 | crate::set_cloexec(&parent_fd);253 | ^^^^^^^^^^^ not found in the crate root254 |255note: found an item that was configured out256 --> crates/tincd/src/lib.rs:69:38257 |258 67 | #[cfg(target_os = "linux")]259 | ------------------- the item is gated behind the `linux` feature260 68 | pub(crate) use platform::{261 69 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,262 | ^^^^^^^^^^^263help: consider importing this function264 |265 19 + use crate::platform::set_cloexec;266 |267help: if you import `set_cloexec`, refer to it directly268 |269617 - crate::set_cloexec(&parent_fd);270617 + set_cloexec(&parent_fd);271 |272273error[E0425]: cannot find function `set_cloexec` in the crate root274 --> crates/tincd/src/outgoing.rs:618:12275 |276618 | crate::set_cloexec(&child_fd);277 | ^^^^^^^^^^^ not found in the crate root278 |279note: found an item that was configured out280 --> crates/tincd/src/lib.rs:69:38281 |282 67 | #[cfg(target_os = "linux")]283 | ------------------- the item is gated behind the `linux` feature284 68 | pub(crate) use platform::{285 69 | bind_to_interface, msg_nosignal, set_cloexec, set_nosigpipe, set_udp_tos, sock_cloexec_flag,286 | ^^^^^^^^^^^287help: consider importing this function288 |289 19 + use crate::platform::set_cloexec;290 |291help: if you import `set_cloexec`, refer to it directly292 |293618 - crate::set_cloexec(&child_fd);294618 + set_cloexec(&child_fd);295 |296297error[E0425]: cannot find function `setsockopt` in this scope298 --> crates/tincd/src/listen.rs:86:21299 |30086 | if let Err(e) = setsockopt(&s.as_fd(), opt, &size) {301 | ^^^^^^^^^^ not found in this scope302303error[E0433]: cannot find module or crate `sockopt` in this scope304 --> crates/tincd/src/listen.rs:458:9305 |306458 | sockopt::RcvBuf,307 | ^^^^^^^ use of unresolved module or unlinked crate `sockopt`308 |309 = help: if you wanted to use a crate named `sockopt`, use `cargo add sockopt` to add it to your `Cargo.toml`310311error[E0433]: cannot find module or crate `sockopt` in this scope312 --> crates/tincd/src/listen.rs:465:9313 |314465 | sockopt::SndBuf,315 | ^^^^^^^ use of unresolved module or unlinked crate `sockopt`316 |317 = help: if you wanted to use a crate named `sockopt`, use `cargo add sockopt` to add it to your `Cargo.toml`318319warning: unused variable: `n_shards`320 --> crates/tincd/src/daemon/setup.rs:659:13321 |322659 | let n_shards = if shard_tuns.is_empty() {323 | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_shards`324 |325 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default326327Some errors have detailed explanations: E0425, E0432, E0433.328For more information about an error, try `rustc --explain E0425`.329warning: `tincd` (lib) generated 1 warning330warning: tincd@0.1.0: Warning: supplying the --target arm64-apple-macosx != arm64-apple-darwin argument to a nix-wrapped compiler may not work correctly - cc-wrapper is currently not designed with multi-target compilers in mind. You may want to use an un-wrapped compiler instead.331error: could not compile `tincd` (lib) due to 15 previous errors; 1 warning emitted332warning: build failed, waiting for other jobs to finish...