nixbot

builds
unpackPhase
1unpacking source archive /nix/store/zhdvcggyxmhrm97glxy9xzpfan91i9l3-source2source root is source
patchPhase
3Executing configureCargoCommonVars4decompressing cargo artifacts from /nix/store/2gzs9q12w2spazb3gq2scapk6swik9h5-tribuchet-deps-0.1.0/target.tar.zst to target
configurePhase
5will append /nix/var/nix/builds/nix-96169-2468765448/source/.cargo-home/config.toml with contents of /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/config.toml6default configurePhase, nothing to do
buildPhase
7+++ command cargo --version8cargo 1.97.0 (c980f4866 2026-06-30)9+++ command cargo build --release --message-format json-render-diagnostics --locked10 Compiling sandbox-proto v0.1.0 (/nix/var/nix/builds/nix-96169-2468765448/source/crates/sandbox-proto)11 Compiling tribuchet v0.1.0 (/nix/var/nix/builds/nix-96169-2468765448/source/crates/tribuchet)12 Compiling netbench v0.1.0 (/nix/var/nix/builds/nix-96169-2468765448/source/crates/netbench)13error[E0425]: cannot find function `unshare` in crate `libc`14 --> crates/netbench/src/ns.rs:36:4115 |1636 | cmd.pre_exec(|| match libc::unshare(libc::CLONE_NEWNET) {17 | ^^^^^^^ not found in `libc`1819error[E0425]: cannot find value `CLONE_NEWNET` in crate `libc`20 --> crates/netbench/src/ns.rs:36:5521 |2236 | cmd.pre_exec(|| match libc::unshare(libc::CLONE_NEWNET) {23 | ^^^^^^^^^^^^ not found in `libc`2425error[E0425]: cannot find function `setns` in crate `libc`26 --> crates/netbench/src/ns.rs:56:2627 |2856 | if libc::setns(fd, libc::CLONE_NEWNET) != 0 {29 | ^^^^^ not found in `libc`3031error[E0425]: cannot find value `CLONE_NEWNET` in crate `libc`32 --> crates/netbench/src/ns.rs:56:4233 |3456 | if libc::setns(fd, libc::CLONE_NEWNET) != 0 {35 | ^^^^^^^^^^^^ not found in `libc`3637error[E0425]: cannot find function `unshare` in crate `libc`38 --> crates/netbench/src/ns.rs:132:2239 |40132 | if libc::unshare(libc::CLONE_NEWNS) != 0 {41 | ^^^^^^^ not found in `libc`4243error[E0425]: cannot find value `CLONE_NEWNS` in crate `libc`44 --> crates/netbench/src/ns.rs:132:3645 |46132 | if libc::unshare(libc::CLONE_NEWNS) != 0 {47 | ^^^^^^^^^^^ not found in `libc`4849error[E0425]: cannot find value `MS_REC` in crate `libc`50 --> crates/netbench/src/ns.rs:139:2351 |52139 | libc::MS_REC | libc::MS_PRIVATE,53 | ^^^^^^ not found in `libc`5455error[E0425]: cannot find value `MS_PRIVATE` in crate `libc`56 --> crates/netbench/src/ns.rs:139:3857 |58 139 | libc::MS_REC | libc::MS_PRIVATE,59 | ^^^^^^^^^^60 |61 ::: /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:2166:162 |632166 | pub const MAP_PRIVATE: c_int = 0x0002;64 | ---------------------------- similarly named constant `MAP_PRIVATE` defined here65 |66help: a constant with a similar name exists67 |68 139 - libc::MS_REC | libc::MS_PRIVATE,69 139 + libc::MS_REC | libc::MAP_PRIVATE,70 |7172error[E0425]: cannot find value `MS_BIND` in crate `libc`73 --> crates/netbench/src/ns.rs:149:2374 |75149 | libc::MS_BIND,76 | ^^^^^^^ not found in `libc`7778error[E0425]: cannot find function `unshare` in crate `libc`79 --> crates/netbench/src/ns.rs:179:2280 |81179 | if libc::unshare(libc::CLONE_NEWNS) != 0 {82 | ^^^^^^^ not found in `libc`8384error[E0425]: cannot find value `CLONE_NEWNS` in crate `libc`85 --> crates/netbench/src/ns.rs:179:3686 |87179 | if libc::unshare(libc::CLONE_NEWNS) != 0 {88 | ^^^^^^^^^^^ not found in `libc`8990error[E0425]: cannot find value `MS_REC` in crate `libc`91 --> crates/netbench/src/ns.rs:186:2392 |93186 | libc::MS_REC | libc::MS_PRIVATE,94 | ^^^^^^ not found in `libc`9596error[E0425]: cannot find value `MS_PRIVATE` in crate `libc`97 --> crates/netbench/src/ns.rs:186:3898 |99 186 | libc::MS_REC | libc::MS_PRIVATE,100 | ^^^^^^^^^^101 |102 ::: /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:2166:1103 |1042166 | pub const MAP_PRIVATE: c_int = 0x0002;105 | ---------------------------- similarly named constant `MAP_PRIVATE` defined here106 |107help: a constant with a similar name exists108 |109 186 - libc::MS_REC | libc::MS_PRIVATE,110 186 + libc::MS_REC | libc::MAP_PRIVATE,111 |112113error[E0061]: this function takes 4 arguments but 5 arguments were supplied114 --> crates/netbench/src/ns.rs:135:16115 |116 135 | if libc::mount(117 | ^^^^^^^^^^^118...119 140 | ptr::null(),120 | ----------- unexpected argument #5 of type `*const _`121 |122note: expected `i32`, found `*const _`123 --> crates/netbench/src/ns.rs:138:17124 |125 138 | ptr::null(),126 | ^^^^^^^^^^^127 = note: expected type `i32`128 found raw pointer `*const _`129note: function defined here130 --> /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:4674:12131 |1324674 | pub fn mount(133 | ^^^^^134help: remove the extra argument135 |136 138 ~ /* i32 */,137 139 ~ libc::MS_REC | libc::MS_PRIVATE,138 |139140error[E0061]: this function takes 4 arguments but 5 arguments were supplied141 --> crates/netbench/src/ns.rs:145:16142 |143 145 | if libc::mount(144 | ^^^^^^^^^^^145...146 150 | ptr::null(),147 | ----------- unexpected argument #5 of type `*const _`148 |149note: expected `i32`, found `*const _`150 --> crates/netbench/src/ns.rs:148:17151 |152 148 | ptr::null(),153 | ^^^^^^^^^^^154 = note: expected type `i32`155 found raw pointer `*const _`156note: function defined here157 --> /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:4674:12158 |1594674 | pub fn mount(160 | ^^^^^161help: remove the extra argument162 |163 148 ~ /* i32 */,164 149 ~ libc::MS_BIND,165 |166167error[E0061]: this function takes 4 arguments but 5 arguments were supplied168 --> crates/netbench/src/ns.rs:182:16169 |170 182 | if libc::mount(171 | ^^^^^^^^^^^172...173 187 | ptr::null(),174 | ----------- unexpected argument #5 of type `*const _`175 |176note: expected `i32`, found `*const _`177 --> crates/netbench/src/ns.rs:185:17178 |179 185 | ptr::null(),180 | ^^^^^^^^^^^181 = note: expected type `i32`182 found raw pointer `*const _`183note: function defined here184 --> /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:4674:12185 |1864674 | pub fn mount(187 | ^^^^^188help: remove the extra argument189 |190 185 ~ /* i32 */,191 186 ~ libc::MS_REC | libc::MS_PRIVATE,192 |193194error[E0061]: this function takes 4 arguments but 5 arguments were supplied195 --> crates/netbench/src/ns.rs:192:16196 |197 192 | if libc::mount(198 | ^^^^^^^^^^^199...200 197 | opts.as_ptr().cast(),201 | -------------------- unexpected argument #5 of type `*const _`202 |203note: expected `i32`, found `*const i8`204 --> crates/netbench/src/ns.rs:195:17205 |206 195 | ty.as_ptr(),207 | ^^^^^^^^^^^208 = note: expected type `i32`209 found raw pointer `*const i8`210note: expected `*mut c_void`, found `usize`211 --> crates/netbench/src/ns.rs:196:17212 |213 196 | 0,214 | ^215 = note: expected raw pointer `*mut c_void`216 found type `usize`217note: function defined here218 --> /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:4674:12219 |2204674 | pub fn mount(221 | ^^^^^222help: if you meant to create a null pointer, use `std::ptr::null_mut()`223 |224 196 - 0,225 196 + std::ptr::null_mut(),226 |227help: remove the extra argument228 |229 195 ~ /* i32 */,230 196 ~ /* *mut c_void */,231 |232233Some errors have detailed explanations: E0061, E0425.234For more information about an error, try `rustc --explain E0061`.235error: could not compile `netbench` (bin "netbench") due to 17 previous errors236warning: build failed, waiting for other jobs to finish...