this derivation will be built: /nix/store/ljrx20a3zz0mdwlxzv9s2iklnsl865ar-tribuchet-0.1.0.drv building '/nix/store/ljrx20a3zz0mdwlxzv9s2iklnsl865ar-tribuchet-0.1.0.drv' on 'ssh-ng://customer@mac02' building '/nix/store/ljrx20a3zz0mdwlxzv9s2iklnsl865ar-tribuchet-0.1.0.drv' tribuchet-0.1.0> Running phase: unpackPhase tribuchet-0.1.0> unpacking source archive /nix/store/bhksx8kc8k4fkk3bh458aa2gxfcf8n1z-source tribuchet-0.1.0> source root is source tribuchet-0.1.0> Running phase: patchPhase tribuchet-0.1.0> Executing configureCargoCommonVars tribuchet-0.1.0> decompressing cargo artifacts from /nix/store/2gzs9q12w2spazb3gq2scapk6swik9h5-tribuchet-deps-0.1.0/target.tar.zst to target tribuchet-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase tribuchet-0.1.0> Running phase: configurePhase tribuchet-0.1.0> will append /nix/var/nix/builds/nix-96564-3043379584/source/.cargo-home/config.toml with contents of /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/config.toml tribuchet-0.1.0> default configurePhase, nothing to do tribuchet-0.1.0> Running phase: buildPhase tribuchet-0.1.0> +++ command cargo --version tribuchet-0.1.0> cargo 1.97.0 (c980f4866 2026-06-30) tribuchet-0.1.0> +++ command cargo build --release --message-format json-render-diagnostics --locked tribuchet-0.1.0> Compiling sandbox-proto v0.1.0 (/nix/var/nix/builds/nix-96564-3043379584/source/crates/sandbox-proto) tribuchet-0.1.0> Compiling tribuchet v0.1.0 (/nix/var/nix/builds/nix-96564-3043379584/source/crates/tribuchet) tribuchet-0.1.0> Compiling netbench v0.1.0 (/nix/var/nix/builds/nix-96564-3043379584/source/crates/netbench) tribuchet-0.1.0> error[E0425]: cannot find function `unshare` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:36:41 tribuchet-0.1.0> | tribuchet-0.1.0> 36 | cmd.pre_exec(|| match libc::unshare(libc::CLONE_NEWNET) { tribuchet-0.1.0> | ^^^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find value `CLONE_NEWNET` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:36:55 tribuchet-0.1.0> | tribuchet-0.1.0> 36 | cmd.pre_exec(|| match libc::unshare(libc::CLONE_NEWNET) { tribuchet-0.1.0> | ^^^^^^^^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find function `setns` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:56:26 tribuchet-0.1.0> | tribuchet-0.1.0> 56 | if libc::setns(fd, libc::CLONE_NEWNET) != 0 { tribuchet-0.1.0> | ^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find value `CLONE_NEWNET` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:56:42 tribuchet-0.1.0> | tribuchet-0.1.0> 56 | if libc::setns(fd, libc::CLONE_NEWNET) != 0 { tribuchet-0.1.0> | ^^^^^^^^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find function `unshare` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:132:22 tribuchet-0.1.0> | tribuchet-0.1.0> 132 | if libc::unshare(libc::CLONE_NEWNS) != 0 { tribuchet-0.1.0> | ^^^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find value `CLONE_NEWNS` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:132:36 tribuchet-0.1.0> | tribuchet-0.1.0> 132 | if libc::unshare(libc::CLONE_NEWNS) != 0 { tribuchet-0.1.0> | ^^^^^^^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find value `MS_REC` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:139:23 tribuchet-0.1.0> | tribuchet-0.1.0> 139 | libc::MS_REC | libc::MS_PRIVATE, tribuchet-0.1.0> | ^^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find value `MS_PRIVATE` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:139:38 tribuchet-0.1.0> | tribuchet-0.1.0> 139 | libc::MS_REC | libc::MS_PRIVATE, tribuchet-0.1.0> | ^^^^^^^^^^ tribuchet-0.1.0> | tribuchet-0.1.0> ::: /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:2166:1 tribuchet-0.1.0> | tribuchet-0.1.0> 2166 | pub const MAP_PRIVATE: c_int = 0x0002; tribuchet-0.1.0> | ---------------------------- similarly named constant `MAP_PRIVATE` defined here tribuchet-0.1.0> | tribuchet-0.1.0> help: a constant with a similar name exists tribuchet-0.1.0> | tribuchet-0.1.0> 139 - libc::MS_REC | libc::MS_PRIVATE, tribuchet-0.1.0> 139 + libc::MS_REC | libc::MAP_PRIVATE, tribuchet-0.1.0> | tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find value `MS_BIND` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:149:23 tribuchet-0.1.0> | tribuchet-0.1.0> 149 | libc::MS_BIND, tribuchet-0.1.0> | ^^^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find function `unshare` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:179:22 tribuchet-0.1.0> | tribuchet-0.1.0> 179 | if libc::unshare(libc::CLONE_NEWNS) != 0 { tribuchet-0.1.0> | ^^^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find value `CLONE_NEWNS` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:179:36 tribuchet-0.1.0> | tribuchet-0.1.0> 179 | if libc::unshare(libc::CLONE_NEWNS) != 0 { tribuchet-0.1.0> | ^^^^^^^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find value `MS_REC` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:186:23 tribuchet-0.1.0> | tribuchet-0.1.0> 186 | libc::MS_REC | libc::MS_PRIVATE, tribuchet-0.1.0> | ^^^^^^ not found in `libc` tribuchet-0.1.0> tribuchet-0.1.0> error[E0425]: cannot find value `MS_PRIVATE` in crate `libc` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:186:38 tribuchet-0.1.0> | tribuchet-0.1.0> 186 | libc::MS_REC | libc::MS_PRIVATE, tribuchet-0.1.0> | ^^^^^^^^^^ tribuchet-0.1.0> | tribuchet-0.1.0> ::: /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:2166:1 tribuchet-0.1.0> | tribuchet-0.1.0> 2166 | pub const MAP_PRIVATE: c_int = 0x0002; tribuchet-0.1.0> | ---------------------------- similarly named constant `MAP_PRIVATE` defined here tribuchet-0.1.0> | tribuchet-0.1.0> help: a constant with a similar name exists tribuchet-0.1.0> | tribuchet-0.1.0> 186 - libc::MS_REC | libc::MS_PRIVATE, tribuchet-0.1.0> 186 + libc::MS_REC | libc::MAP_PRIVATE, tribuchet-0.1.0> | tribuchet-0.1.0> tribuchet-0.1.0> error[E0061]: this function takes 4 arguments but 5 arguments were supplied tribuchet-0.1.0> --> crates/netbench/src/ns.rs:135:16 tribuchet-0.1.0> | tribuchet-0.1.0> 135 | if libc::mount( tribuchet-0.1.0> | ^^^^^^^^^^^ tribuchet-0.1.0> ... tribuchet-0.1.0> 140 | ptr::null(), tribuchet-0.1.0> | ----------- unexpected argument #5 of type `*const _` tribuchet-0.1.0> | tribuchet-0.1.0> note: expected `i32`, found `*const _` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:138:17 tribuchet-0.1.0> | tribuchet-0.1.0> 138 | ptr::null(), tribuchet-0.1.0> | ^^^^^^^^^^^ tribuchet-0.1.0> = note: expected type `i32` tribuchet-0.1.0> found raw pointer `*const _` tribuchet-0.1.0> note: function defined here tribuchet-0.1.0> --> /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:4674:12 tribuchet-0.1.0> | tribuchet-0.1.0> 4674 | pub fn mount( tribuchet-0.1.0> | ^^^^^ tribuchet-0.1.0> help: remove the extra argument tribuchet-0.1.0> | tribuchet-0.1.0> 138 ~ /* i32 */, tribuchet-0.1.0> 139 ~ libc::MS_REC | libc::MS_PRIVATE, tribuchet-0.1.0> | tribuchet-0.1.0> tribuchet-0.1.0> error[E0061]: this function takes 4 arguments but 5 arguments were supplied tribuchet-0.1.0> --> crates/netbench/src/ns.rs:145:16 tribuchet-0.1.0> | tribuchet-0.1.0> 145 | if libc::mount( tribuchet-0.1.0> | ^^^^^^^^^^^ tribuchet-0.1.0> ... tribuchet-0.1.0> 150 | ptr::null(), tribuchet-0.1.0> | ----------- unexpected argument #5 of type `*const _` tribuchet-0.1.0> | tribuchet-0.1.0> note: expected `i32`, found `*const _` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:148:17 tribuchet-0.1.0> | tribuchet-0.1.0> 148 | ptr::null(), tribuchet-0.1.0> | ^^^^^^^^^^^ tribuchet-0.1.0> = note: expected type `i32` tribuchet-0.1.0> found raw pointer `*const _` tribuchet-0.1.0> note: function defined here tribuchet-0.1.0> --> /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:4674:12 tribuchet-0.1.0> | tribuchet-0.1.0> 4674 | pub fn mount( tribuchet-0.1.0> | ^^^^^ tribuchet-0.1.0> help: remove the extra argument tribuchet-0.1.0> | tribuchet-0.1.0> 148 ~ /* i32 */, tribuchet-0.1.0> 149 ~ libc::MS_BIND, tribuchet-0.1.0> | tribuchet-0.1.0> tribuchet-0.1.0> error[E0061]: this function takes 4 arguments but 5 arguments were supplied tribuchet-0.1.0> --> crates/netbench/src/ns.rs:182:16 tribuchet-0.1.0> | tribuchet-0.1.0> 182 | if libc::mount( tribuchet-0.1.0> | ^^^^^^^^^^^ tribuchet-0.1.0> ... tribuchet-0.1.0> 187 | ptr::null(), tribuchet-0.1.0> | ----------- unexpected argument #5 of type `*const _` tribuchet-0.1.0> | tribuchet-0.1.0> note: expected `i32`, found `*const _` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:185:17 tribuchet-0.1.0> | tribuchet-0.1.0> 185 | ptr::null(), tribuchet-0.1.0> | ^^^^^^^^^^^ tribuchet-0.1.0> = note: expected type `i32` tribuchet-0.1.0> found raw pointer `*const _` tribuchet-0.1.0> note: function defined here tribuchet-0.1.0> --> /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:4674:12 tribuchet-0.1.0> | tribuchet-0.1.0> 4674 | pub fn mount( tribuchet-0.1.0> | ^^^^^ tribuchet-0.1.0> help: remove the extra argument tribuchet-0.1.0> | tribuchet-0.1.0> 185 ~ /* i32 */, tribuchet-0.1.0> 186 ~ libc::MS_REC | libc::MS_PRIVATE, tribuchet-0.1.0> | tribuchet-0.1.0> tribuchet-0.1.0> error[E0061]: this function takes 4 arguments but 5 arguments were supplied tribuchet-0.1.0> --> crates/netbench/src/ns.rs:192:16 tribuchet-0.1.0> | tribuchet-0.1.0> 192 | if libc::mount( tribuchet-0.1.0> | ^^^^^^^^^^^ tribuchet-0.1.0> ... tribuchet-0.1.0> 197 | opts.as_ptr().cast(), tribuchet-0.1.0> | -------------------- unexpected argument #5 of type `*const _` tribuchet-0.1.0> | tribuchet-0.1.0> note: expected `i32`, found `*const i8` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:195:17 tribuchet-0.1.0> | tribuchet-0.1.0> 195 | ty.as_ptr(), tribuchet-0.1.0> | ^^^^^^^^^^^ tribuchet-0.1.0> = note: expected type `i32` tribuchet-0.1.0> found raw pointer `*const i8` tribuchet-0.1.0> note: expected `*mut c_void`, found `usize` tribuchet-0.1.0> --> crates/netbench/src/ns.rs:196:17 tribuchet-0.1.0> | tribuchet-0.1.0> 196 | 0, tribuchet-0.1.0> | ^ tribuchet-0.1.0> = note: expected raw pointer `*mut c_void` tribuchet-0.1.0> found type `usize` tribuchet-0.1.0> note: function defined here tribuchet-0.1.0> --> /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:4674:12 tribuchet-0.1.0> | tribuchet-0.1.0> 4674 | pub fn mount( tribuchet-0.1.0> | ^^^^^ tribuchet-0.1.0> help: if you meant to create a null pointer, use `std::ptr::null_mut()` tribuchet-0.1.0> | tribuchet-0.1.0> 196 - 0, tribuchet-0.1.0> 196 + std::ptr::null_mut(), tribuchet-0.1.0> | tribuchet-0.1.0> help: remove the extra argument tribuchet-0.1.0> | tribuchet-0.1.0> 195 ~ /* i32 */, tribuchet-0.1.0> 196 ~ /* *mut c_void */, tribuchet-0.1.0> | tribuchet-0.1.0> tribuchet-0.1.0> Some errors have detailed explanations: E0061, E0425. tribuchet-0.1.0> For more information about an error, try `rustc --explain E0061`. tribuchet-0.1.0> error: could not compile `netbench` (bin "netbench") due to 17 previous errors tribuchet-0.1.0> warning: build failed, waiting for other jobs to finish... error: build of '/nix/store/ljrx20a3zz0mdwlxzv9s2iklnsl865ar-tribuchet-0.1.0.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/ljrx20a3zz0mdwlxzv9s2iklnsl865ar-tribuchet-0.1.0.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/dbyldz4i4d78nv3qv4v4w52clcc7f38y-tribuchet-0.1.0 Last 25 log lines: > | > 196 | 0, > | ^ > = note: expected raw pointer `*mut c_void` > found type `usize` > note: function defined here > --> /nix/store/437y0cid064k7x0xd5c7xkknsx75b1rj-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/libc-0.2.189/src/unix/bsd/apple/mod.rs:4674:12 > | > 4674 | pub fn mount( > | ^^^^^ > help: if you meant to create a null pointer, use `std::ptr::null_mut()` > | > 196 - 0, > 196 + std::ptr::null_mut(), > | > help: remove the extra argument > | > 195 ~ /* i32 */, > 196 ~ /* *mut c_void */, > | > > Some errors have detailed explanations: E0061, E0425. > For more information about an error, try `rustc --explain E0061`. > error: could not compile `netbench` (bin "netbench") due to 17 previous errors > warning: build failed, waiting for other jobs to finish... For full logs, run: nix log /nix/store/ljrx20a3zz0mdwlxzv9s2iklnsl865ar-tribuchet-0.1.0.drv error: Cannot build '/nix/store/ljrx20a3zz0mdwlxzv9s2iklnsl865ar-tribuchet-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/dbyldz4i4d78nv3qv4v4w52clcc7f38y-tribuchet-0.1.0