these 12 derivations will be built: /nix/store/ramp8ch5iplx9x3qzghpqai2dmfxag4x-niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu.drv /nix/store/ha4g1pmhzasc039lc9lpai5i7f5hnn1b-niks3-aarch64-unknown-linux-gnu-1.6.1.drv /nix/store/icmrsyqlahm5c3fa666js1cvlrgyycmw-niks3-server-1.4.0-go-modules.drv /nix/store/sf55vy7lp3z7fjrndwarxr4xglh5y46b-niks3-server-1.4.0.drv /nix/store/22qs95jzq1g71h54j4wp3z6yd3lkk5r2-niks3-server-customisation-layer.drv /nix/store/nw74i6vmdch2jv8a7qkcwgcgxdnwbmd3-excludePaths.drv /nix/store/y06ycjrmh6mq352g7y7kw2vxp4jwhl3h-layers.json.drv /nix/store/8mvld3lk4kyhwb4pd09147976v4f50r6-niks3-server-conf.json.drv /nix/store/zqax316455llgh7f7q8ss5fl9fpaxk1k-stream-niks3-server.drv /nix/store/a4yq5awxh1mirvrqnxk5hb1gamxgiak4-niks3-server.tar.drv /nix/store/ryc1j48nvin57q2klaqvs9ka73kds82d-images.drv /nix/store/l1wicwdayh7aqxn92vlzr07vzi5vl9qw-niks3-server-docker.drv building '/nix/store/kg8wr9ivk89pjcl70fvdp1lgv5dvy50z-niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu.drv' on 'ssh-ng://customer@mac02' building '/nix/store/kg8wr9ivk89pjcl70fvdp1lgv5dvy50z-niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu.drv' niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> Running phase: unpackPhase niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> unpacking source archive /nix/store/vhdx63xyxrbcy9cjcanq9lcd8ij652l9-source niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> source root is source niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> Running phase: patchPhase niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> Running phase: updateAutotoolsGnuConfigScriptsPhase niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> Running phase: configurePhase niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> Running phase: buildPhase niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> go: downloading golang.org/x/time v0.15.0 niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> go: downloading github.com/klauspost/compress v1.18.6 niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> go: downloading golang.org/x/sync v0.21.0 niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> go: downloading golang.org/x/sys v0.46.0 niks3-1.6.1-go-modules-aarch64-unknown-linux-gnu> Running phase: installPhase building '/nix/store/ha4g1pmhzasc039lc9lpai5i7f5hnn1b-niks3-aarch64-unknown-linux-gnu-1.6.1.drv' on 'ssh-ng://customer@mac02' building '/nix/store/ha4g1pmhzasc039lc9lpai5i7f5hnn1b-niks3-aarch64-unknown-linux-gnu-1.6.1.drv' niks3-aarch64-unknown-linux-gnu-1.6.1> Running phase: unpackPhase niks3-aarch64-unknown-linux-gnu-1.6.1> unpacking source archive /nix/store/vhdx63xyxrbcy9cjcanq9lcd8ij652l9-source niks3-aarch64-unknown-linux-gnu-1.6.1> source root is source niks3-aarch64-unknown-linux-gnu-1.6.1> Running phase: patchPhase niks3-aarch64-unknown-linux-gnu-1.6.1> Running phase: updateAutotoolsGnuConfigScriptsPhase niks3-aarch64-unknown-linux-gnu-1.6.1> Running phase: configurePhase niks3-aarch64-unknown-linux-gnu-1.6.1> Running phase: buildPhase niks3-aarch64-unknown-linux-gnu-1.6.1> Building subPackage ./cmd/niks3 building '/nix/store/sf55vy7lp3z7fjrndwarxr4xglh5y46b-niks3-server-1.4.0.drv' on 'ssh-ng://customer@mac02' niks3-aarch64-unknown-linux-gnu-1.6.1> Running phase: installPhase niks3-aarch64-unknown-linux-gnu-1.6.1> Running phase: fixupPhase niks3-aarch64-unknown-linux-gnu-1.6.1> shrinking RPATHs of ELF executables and libraries in /nix/store/kmscqzxpmi4d4y6zvn1x7s7kx3ag5il3-niks3-aarch64-unknown-linux-gnu-1.6.1 niks3-aarch64-unknown-linux-gnu-1.6.1> shrinking /nix/store/kmscqzxpmi4d4y6zvn1x7s7kx3ag5il3-niks3-aarch64-unknown-linux-gnu-1.6.1/bin/niks3 niks3-aarch64-unknown-linux-gnu-1.6.1> checking for references to /nix/var/nix/builds/nix-18893-3497546345/ in /nix/store/kmscqzxpmi4d4y6zvn1x7s7kx3ag5il3-niks3-aarch64-unknown-linux-gnu-1.6.1... niks3-aarch64-unknown-linux-gnu-1.6.1> patching script interpreter paths in /nix/store/kmscqzxpmi4d4y6zvn1x7s7kx3ag5il3-niks3-aarch64-unknown-linux-gnu-1.6.1 niks3-aarch64-unknown-linux-gnu-1.6.1> stripping (with command aarch64-unknown-linux-gnu-strip and flags -S) in /nix/store/kmscqzxpmi4d4y6zvn1x7s7kx3ag5il3-niks3-aarch64-unknown-linux-gnu-1.6.1/bin building '/nix/store/sf55vy7lp3z7fjrndwarxr4xglh5y46b-niks3-server-1.4.0.drv' niks3-server-1.4.0> Running phase: unpackPhase niks3-server-1.4.0> unpacking source archive /nix/store/0vr8m2k4ivk8vgdkwkmhx8vrlj3sx2ph-source niks3-server-1.4.0> source root is source niks3-server-1.4.0> Running phase: patchPhase niks3-server-1.4.0> Running phase: updateAutotoolsGnuConfigScriptsPhase niks3-server-1.4.0> Running phase: configurePhase niks3-server-1.4.0> Running phase: buildPhase niks3-server-1.4.0> Building subPackage ./cmd/niks3-server niks3-server-1.4.0> Running phase: installPhase niks3-server-1.4.0> Running phase: fixupPhase niks3-server-1.4.0> checking for references to /nix/var/nix/builds/nix-19911-1265517294/ in /nix/store/r484raz4bb23k61iw1lpsq0rszkfdb7z-niks3-server-1.4.0... niks3-server-1.4.0> _: line 2: patchelf: command not found niks3-server-1.4.0> patching script interpreter paths in /nix/store/r484raz4bb23k61iw1lpsq0rszkfdb7z-niks3-server-1.4.0 niks3-server-1.4.0> stripping (with command strip and flags -S) in /nix/store/r484raz4bb23k61iw1lpsq0rszkfdb7z-niks3-server-1.4.0/bin building '/nix/store/22qs95jzq1g71h54j4wp3z6yd3lkk5r2-niks3-server-customisation-layer.drv' on 'ssh-ng://customer@mac02' building '/nix/store/22qs95jzq1g71h54j4wp3z6yd3lkk5r2-niks3-server-customisation-layer.drv' niks3-server-customisation-layer> /nix/store/w2v62vmblf7s83mybhf8imxc2pigzsr7-busybox-static-aarch64-unknown-linux-musl-1.37.0/bin: niks3-server-customisation-layer> busybox: Keeping existing link to /nix/store/4x97h4pnl350vqn8hq9q0wany7psxjw2-busybox-static-aarch64-unknown-linux-musl-1.37.0/bin/busybox niks3-server-customisation-layer> default.script: Keeping existing link to /nix/store/4x97h4pnl350vqn8hq9q0wany7psxjw2-busybox-static-aarch64-unknown-linux-musl-1.37.0/default.script building '/nix/store/nw74i6vmdch2jv8a7qkcwgcgxdnwbmd3-excludePaths.drv' on 'ssh-ng://customer@mac02' building '/nix/store/nw74i6vmdch2jv8a7qkcwgcgxdnwbmd3-excludePaths.drv' building '/nix/store/y06ycjrmh6mq352g7y7kw2vxp4jwhl3h-layers.json.drv' on 'ssh-ng://customer@mac02' building '/nix/store/y06ycjrmh6mq352g7y7kw2vxp4jwhl3h-layers.json.drv' layers.json> structuredAttrs is enabled building '/nix/store/8mvld3lk4kyhwb4pd09147976v4f50r6-niks3-server-conf.json.drv' on 'ssh-ng://customer@mac02' building '/nix/store/8mvld3lk4kyhwb4pd09147976v4f50r6-niks3-server-conf.json.drv' niks3-server-conf.json> { niks3-server-conf.json> "architecture": "arm64", niks3-server-conf.json> "config": { niks3-server-conf.json> "Entrypoint": [ niks3-server-conf.json> "/bin/niks3-server" niks3-server-conf.json> ], niks3-server-conf.json> "ExposedPorts": { niks3-server-conf.json> "5751": {} niks3-server-conf.json> } niks3-server-conf.json> }, niks3-server-conf.json> "os": "linux", niks3-server-conf.json> "store_dir": "/nix/store", niks3-server-conf.json> "from_image": null, niks3-server-conf.json> "store_layers": [ niks3-server-conf.json> [ niks3-server-conf.json> "/nix/store/d8b0n9qmlsdj6xhv1s67k494z4x9yb91-mailcap-2.1.54" niks3-server-conf.json> ], niks3-server-conf.json> [ niks3-server-conf.json> "/nix/store/7n3pbc1vc5gi9fnmapfl1cjsnlzb5zk8-iana-etc-20251215" niks3-server-conf.json> ], niks3-server-conf.json> [ niks3-server-conf.json> "/nix/store/kx24yc5whqwxpqgi5nw2zxh8d0syjbhq-nss-cacert-static-aarch64-unknown-linux-musl-3.123" niks3-server-conf.json> ], niks3-server-conf.json> [ niks3-server-conf.json> "/nix/store/f36b0m4kq2pj3ibf1s74iqvmhrky9chz-libgcc-aarch64-unknown-linux-gnu-15.2.0" niks3-server-conf.json> ], niks3-server-conf.json> [ niks3-server-conf.json> "/nix/store/4x97h4pnl350vqn8hq9q0wany7psxjw2-busybox-static-aarch64-unknown-linux-musl-1.37.0" niks3-server-conf.json> ], niks3-server-conf.json> [ niks3-server-conf.json> "/nix/store/klc90kbqghhp57qazsqh0mkjpzvj7gb7-tzdata-2026b" niks3-server-conf.json> ], niks3-server-conf.json> [ niks3-server-conf.json> "/nix/store/r484raz4bb23k61iw1lpsq0rszkfdb7z-niks3-server-1.4.0" niks3-server-conf.json> ], niks3-server-conf.json> [ niks3-server-conf.json> "/nix/store/9gx8jkz0lxlqx8qrf0lqbw6g8x4hknnk-glibc-aarch64-unknown-linux-gnu-2.42-61" niks3-server-conf.json> ], niks3-server-conf.json> [ niks3-server-conf.json> "/nix/store/kmscqzxpmi4d4y6zvn1x7s7kx3ag5il3-niks3-aarch64-unknown-linux-gnu-1.6.1" niks3-server-conf.json> ] niks3-server-conf.json> ], niks3-server-conf.json> "customisation_layer": "/nix/store/73r5grsqna0jlvbsryk2ycqb0hk8fxmb-niks3-server-customisation-layer", niks3-server-conf.json> "repo_tag": "niks3-server:1.4.0-aarch64-linux", niks3-server-conf.json> "created": "1970-01-01T00:00:01+00:00", niks3-server-conf.json> "mtime": "1970-01-01T00:00:01+00:00", niks3-server-conf.json> "uid": "0", niks3-server-conf.json> "gid": "0", niks3-server-conf.json> "uname": "root", niks3-server-conf.json> "gname": "root" niks3-server-conf.json> } building '/nix/store/zqax316455llgh7f7q8ss5fl9fpaxk1k-stream-niks3-server.drv' on 'ssh-ng://customer@mac02' building '/nix/store/zqax316455llgh7f7q8ss5fl9fpaxk1k-stream-niks3-server.drv' building '/nix/store/a4yq5awxh1mirvrqnxk5hb1gamxgiak4-niks3-server.tar.drv' on 'ssh-ng://customer@mac02' building '/nix/store/a4yq5awxh1mirvrqnxk5hb1gamxgiak4-niks3-server.tar.drv' niks3-server.tar> No 'fromImage' provided niks3-server.tar> Creating layer 1 from paths: ['/nix/store/d8b0n9qmlsdj6xhv1s67k494z4x9yb91-mailcap-2.1.54'] niks3-server.tar> Creating layer 2 from paths: ['/nix/store/7n3pbc1vc5gi9fnmapfl1cjsnlzb5zk8-iana-etc-20251215'] niks3-server.tar> Creating layer 3 from paths: ['/nix/store/kx24yc5whqwxpqgi5nw2zxh8d0syjbhq-nss-cacert-static-aarch64-unknown-linux-musl-3.123'] niks3-server.tar> Creating layer 4 from paths: ['/nix/store/f36b0m4kq2pj3ibf1s74iqvmhrky9chz-libgcc-aarch64-unknown-linux-gnu-15.2.0'] niks3-server.tar> Creating layer 5 from paths: ['/nix/store/4x97h4pnl350vqn8hq9q0wany7psxjw2-busybox-static-aarch64-unknown-linux-musl-1.37.0'] niks3-server.tar> Creating layer 6 from paths: ['/nix/store/klc90kbqghhp57qazsqh0mkjpzvj7gb7-tzdata-2026b'] niks3-server.tar> Creating layer 7 from paths: ['/nix/store/r484raz4bb23k61iw1lpsq0rszkfdb7z-niks3-server-1.4.0'] niks3-server.tar> Creating layer 8 from paths: ['/nix/store/9gx8jkz0lxlqx8qrf0lqbw6g8x4hknnk-glibc-aarch64-unknown-linux-gnu-2.42-61'] niks3-server.tar> Creating layer 9 from paths: ['/nix/store/kmscqzxpmi4d4y6zvn1x7s7kx3ag5il3-niks3-aarch64-unknown-linux-gnu-1.6.1'] niks3-server.tar> Creating layer 10 with customisation... niks3-server.tar> Adding manifests... niks3-server.tar> Done. building '/nix/store/ryc1j48nvin57q2klaqvs9ka73kds82d-images.drv' on 'ssh-ng://customer@mac02' building '/nix/store/ryc1j48nvin57q2klaqvs9ka73kds82d-images.drv' building '/nix/store/l1wicwdayh7aqxn92vlzr07vzi5vl9qw-niks3-server-docker.drv' on 'ssh-ng://customer@mac02' building '/nix/store/l1wicwdayh7aqxn92vlzr07vzi5vl9qw-niks3-server-docker.drv' niks3-server-docker> Running phase: installPhase niks3-server-docker> image_refs=() niks3-server-docker> +++ image_refs=() niks3-server-docker> for platform in $src/*; do niks3-server-docker> ref_url="ocidir://images:$(basename $platform)" niks3-server-docker> image_refs+=("--ref" "$ref_url") niks3-server-docker> regctl image import "$ref_url" "$platform" niks3-server-docker> done niks3-server-docker> +++ for platform in $src/* niks3-server-docker> ++++ basename /nix/store/hvnlf76539cx3amh83hzx87pckr8jfhl-images/aarch64-linux niks3-server-docker> +++ ref_url=ocidir://images:aarch64-linux niks3-server-docker> +++ image_refs+=("--ref" "$ref_url") niks3-server-docker> +++ regctl image import ocidir://images:aarch64-linux /nix/store/hvnlf76539cx3amh83hzx87pckr8jfhl-images/aarch64-linux niks3-server-docker> regctl index create "ocidir://images:latest" "${image_refs[@]}" niks3-server-docker> +++ regctl index create ocidir://images:latest --ref ocidir://images:aarch64-linux niks3-server-docker> regctl image export "ocidir://images:latest" --name "niks3-server:latest" > $out niks3-server-docker> +++ regctl image export ocidir://images:latest --name niks3-server:latest niks3-server-docker> +++ date +%s niks3-server-docker> ++ endTime=1780993940 niks3-server-docker> ++ showPhaseFooter installPhase 1780993934 1780993940 niks3-server-docker> ++ local phase=installPhase niks3-server-docker> ++ local startTime=1780993934 niks3-server-docker> ++ local endTime=1780993940 niks3-server-docker> ++ local delta=6 niks3-server-docker> ++ (( delta < 30 )) niks3-server-docker> ++ return niks3-server-docker> ++ '[' installPhase = unpackPhase ']' niks3-server-docker> exitHandler niks3-server-docker> + exitHandler niks3-server-docker> + exitCode=0 niks3-server-docker> + set +e niks3-server-docker> + '[' -n '' ']' niks3-server-docker> + (( 0 != 0 )) niks3-server-docker> + runHook exitHook niks3-server-docker> + local hookName=exitHook niks3-server-docker> + shift niks3-server-docker> + local 'hooksSlice=exitHooks[@]' niks3-server-docker> + local hook niks3-server-docker> + for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"} niks3-server-docker> + _logHook exitHook '_callImplicitHook 0 exitHook' niks3-server-docker> + [[ -z 2 ]] niks3-server-docker> + local hookKind=exitHook niks3-server-docker> + local 'hookExpr=_callImplicitHook 0 exitHook' niks3-server-docker> + shift 2 niks3-server-docker> + declare -F '_callImplicitHook 0 exitHook' niks3-server-docker> + type -p '_callImplicitHook 0 exitHook' niks3-server-docker> + [[ _callImplicitHook 0 exitHook != _callImplicitHook* ]] niks3-server-docker> + _eval '_callImplicitHook 0 exitHook' niks3-server-docker> + declare -F '_callImplicitHook 0 exitHook' niks3-server-docker> + eval '_callImplicitHook 0 exitHook' niks3-server-docker> _callImplicitHook 0 exitHook niks3-server-docker> ++ _callImplicitHook 0 exitHook niks3-server-docker> ++ local def=0 niks3-server-docker> ++ local hookName=exitHook niks3-server-docker> ++ declare -F exitHook niks3-server-docker> ++ type -p exitHook niks3-server-docker> ++ '[' -n '' ']' niks3-server-docker> ++ return 0 niks3-server-docker> + return 0 niks3-server-docker> + return 0 post-build step Upload coverage to codecov: ok Skipping codecov: project=Mic92/niks3 attr=aarch64-darwin.package-niks3-docker