rad:z27Mx16VDZt2nwGygkyPCbK9ppuB radicle-devcontainer-ci91794942a7f809575570061866f606c2414ee76adid:key:z6MkiaGEHcXc9v3ou5ZvfnRC8xBrGoEFWqvPQPTLEU8bUt8C)main{
"request": "trigger",
"version": 1,
"event_type": "push",
"repository": {
"id": "rad:z27Mx16VDZt2nwGygkyPCbK9ppuB",
"name": "radicle-devcontainer-ci",
"description": "Radicle CI broker adapter that runs jobs in a repository's devcontainer",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkiaGEHcXc9v3ou5ZvfnRC8xBrGoEFWqvPQPTLEU8bUt8C"
]
},
"pusher": {
"id": "did:key:z6MkiaGEHcXc9v3ou5ZvfnRC8xBrGoEFWqvPQPTLEU8bUt8C",
"alias": "nolan"
},
"before": "91794942a7f809575570061866f606c2414ee76a",
"after": "91794942a7f809575570061866f606c2414ee76a",
"branch": "main",
"commits": [
"91794942a7f809575570061866f606c2414ee76a"
]
}
$ rad clone rad:z27Mx16VDZt2nwGygkyPCbK9ppuB .
✓ Creating checkout in ./... ✓ Remote nolan@z6MkiaGEHcXc9v3ou5ZvfnRC8xBrGoEFWqvPQPTLEU8bUt8C added ✓ Remote-tracking branch nolan@z6MkiaGEHcXc9v3ou5ZvfnRC8xBrGoEFWqvPQPTLEU8bUt8C/main created for z6MkiaGEHcXc9v3ou5ZvfnRC8xBrGoEFWqvPQPTLEU8bUt8C ✓ Repository successfully cloned under /var/lib/radicle-ci/adapters/devcontainer/devcontainer/state/10a1c359-d15d-4011-82ae-6aefdaeb12ac/w/ ╭─────────────────────────────────────────────────────────────────────────╮ │ radicle-devcontainer-ci │ │ Radicle CI broker adapter that runs jobs in a repository's devcontainer │ │ 0 issues · 0 patches │ ╰─────────────────────────────────────────────────────────────────────────╯ Run `cd ./.` to go to the repository directory.
$ git config advice.detachedHead false
$ git checkout 91794942a7f809575570061866f606c2414ee76a
HEAD is now at 9179494 fix: support missing inputs list for unconditional caching
#!/usr/bin/env bash
set -xeuo pipefail
mise install
eval "$(mise activate bash --shims)"
cargo fmt --check
cargo clippy --all-targets
cargo test
# The Determinate installer's profile hook doesn't run in this non-login
# shell, and there is no nix daemon under --init none.
export PATH=/nix/var/nix/profiles/default/bin:$PATH
export NIX_REMOTE=local
nix fmt -- --ci
# Evaluates the NixOS module and its invariants. Must precede flake check:
# that command evaluates with a read-only store and fails on naersk's
# filtered sources ("path ... is not valid") until an ordinary eval has
# registered them.
nix eval --raw .#checks.x86_64-linux.nixos-module.drvPath
nix flake check --no-build
# Prove the module-rendered settings parse as the Rust Config: extract the
# 'ci' instance's config from the nixos-module check's JSON (valid YAML
# input, since YAML is a JSON superset) and run it through the adapter's
# own validator. Catches Nix<->Rust schema drift with no extra nix builds.
nix eval --raw .#checks.x86_64-linux.nixos-module.text --apply 'text: builtins.toJSON (builtins.fromJSON text).ci.config' > target/nixos-module-ci.yaml
cargo run -- --config target/nixos-module-ci.yaml config
# Full broker + adapter end-to-end test in NixOS VMs. Only worth running
# with hardware acceleration; hosts without /dev/kvm skip it (they cannot
# reach this point anyway while runArgs passes the device unconditionally).
if [ -e /dev/kvm ]; then
nix build -L .#checks.x86_64-linux.e2e
fi
mounting radicle-ci-cache-0f21906dcab9-2b3df4dad4fd479c at /workspaces/w/target mounting radicle-ci-cache-0f21906dcab9-37614f8a2c9b734f at /nix
$ /nix/store/ik0xcys4cqjr4hdywzinrylm9sm48bvc-devcontainer-0.87.0/bin/devcontainer up --docker-path /nix/store/h111xm96sylafdn3kgixgxyfs7af600r-podman-5.8.2/bin/podman --workspace-folder /var/lib/radicle-ci/adapters/devcontainer/devcontainer/state/10a1c359-d15d-4011-82ae-6aefdaeb12ac/w --id-label devcontainer.local_folder=/var/lib/radicle-ci/adapters/devcontainer/devcontainer/state/10a1c359-d15d-4011-82ae-6aefdaeb12ac/w --id-label xyz.radicle.ci.run=10a1c359-d15d-4011-82ae-6aefdaeb12ac --mount type=volume,source=radicle-ci-cache-0f21906dcab9-2b3df4dad4fd479c,target=/workspaces/w/target --mount type=volume,source=radicle-ci-cache-0f21906dcab9-37614f8a2c9b734f,target=/nix
[2026-07-07T13:05:01.846Z] @devcontainers/cli 0.87.0. Node.js v24.16.0. linux 6.18.37 x64.
(node:2673554) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)
[2026-07-07T13:05:02.252Z] Resolving Feature dependencies for 'ghcr.io/devcontainers/features/rust:1'...
[2026-07-07T13:05:03.842Z] Resolving Feature dependencies for 'ghcr.io/devcontainers-extra/features/mise:1'...
[2026-07-07T13:05:04.645Z] Soft-dependency 'ghcr.io/devcontainers/features/common-utils' is not required. Removing from installation order...
[2026-07-07T13:05:04.645Z] Soft-dependency 'ghcr.io/devcontainers-extra/features/gh-release' is not required. Removing from installation order...
[2026-07-07T13:05:05.281Z] Files to omit: ''
[2026-07-07T13:05:05.808Z] Files to omit: ''
[2026-07-07T13:05:05.838Z] Start: Run: /nix/store/h111xm96sylafdn3kgixgxyfs7af600r-podman-5.8.2/bin/podman buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 --build-context dev_containers_feature_content_source=/tmp/devcontainercli-radicle/container-features/0.87.0-1783429502250 --build-arg _DEV_CONTAINERS_BASE_IMAGE=debian:13 --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-radicle/container-features/0.87.0-1783429502250/Dockerfile.extended -t vsc-w-19694b3639ed3d7a4c1ae588071c8947fe7547aad8aaf9cd3a60de487ec049d5-features /tmp/devcontainercli-radicle/empty-folder
[2026-07-07T13:05:05.920Z] [1/2] STEP 1/4: FROM debian:13 AS dev_containers_feature_content_normalize
[2026-07-07T13:05:08.233Z] [1/2] STEP 2/4: USER root
[2026-07-07T13:05:08.235Z] --> Using cache 66603368ba0af0aad9e7659dc6bf66628388a3512261f9fcf4aecb484ea71283
--> 66603368ba0a
[2026-07-07T13:05:08.246Z] [1/2] STEP 3/4: COPY --from=dev_containers_feature_content_source devcontainer-features.builtin.env /tmp/build-features/
[2026-07-07T13:05:08.433Z] --> Using cache 450ba763ed74bd2163500474d232a4a5c52c74fdbb0aafa8c2c9383e37296556
--> 450ba763ed74
[2026-07-07T13:05:08.450Z] [1/2] STEP 4/4: RUN chmod -R 0755 /tmp/build-features/
[2026-07-07T13:05:08.452Z] --> Using cache fa697464e89584f4d3cacdfb6aa5dc186cf0dcfb4b9bd31307b62c099783afe1
--> fa697464e895
[2026-07-07T13:05:08.461Z] [2/2] STEP 1/13: FROM debian:13 AS dev_containers_target_stage
[2026-07-07T13:05:10.317Z] [2/2] STEP 2/13: USER root
[2026-07-07T13:05:10.318Z] --> Using cache 66603368ba0af0aad9e7659dc6bf66628388a3512261f9fcf4aecb484ea71283
--> 66603368ba0a
[2026-07-07T13:05:10.323Z] [2/2] STEP 3/13: RUN mkdir -p /tmp/dev-container-features
[2026-07-07T13:05:10.324Z] --> Using cache bafa148706fee6c949e424a3c61d893722f4e10f5b86f65551f5b2b970ea5d5d
--> bafa148706fe
[2026-07-07T13:05:10.332Z] [2/2] STEP 4/13: COPY --from=dev_containers_feature_content_normalize /tmp/build-features/ /tmp/dev-container-features
[2026-07-07T13:05:10.514Z] --> Using cache db84ec134af7f940977d484b0923488e94e31410ee0e492b5d896cb5876fe047
--> db84ec134af7
[2026-07-07T13:05:10.534Z] [2/2] STEP 5/13: RUN echo "_CONTAINER_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env && echo "_REMOTE_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env
[2026-07-07T13:05:10.536Z] --> Using cache 9624121ed1daaa154a4684fc2067caecc2c8474f79414cab012102caedb60827
--> 9624121ed1da
[2026-07-07T13:05:10.545Z] [2/2] STEP 6/13: RUN --mount=type=bind,from=dev_containers_feature_content_source,source=mise_0,target=/tmp/build-features-src/mise_0 cp -ar /tmp/build-features-src/mise_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/mise_0 && cd /tmp/dev-container-features/mise_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/mise_0
[2026-07-07T13:05:10.553Z] --> Using cache 6494a69032064ec7cf816993cf24ccd7aab27abc3c4062ca77ad3f2474625cbd
--> 6494a6903206
[2026-07-07T13:05:10.560Z] [2/2] STEP 7/13: ENV CARGO_HOME="/usr/local/cargo"
[2026-07-07T13:05:10.560Z] --> Using cache 453aa63748492e197c51b44ea58aed91297e883c4444ac678138a9dacdab9ef5
--> 453aa6374849
[2026-07-07T13:05:10.566Z] [2/2] STEP 8/13: ENV RUSTUP_HOME="/usr/local/rustup"
[2026-07-07T13:05:10.567Z] --> Using cache 8bd587404275f55bd1a75f012bd0c54016093b400c92bc62a5b407cf59d74267
--> 8bd587404275
[2026-07-07T13:05:10.572Z] [2/2] STEP 9/13: ENV PATH="/usr/local/cargo/bin:${PATH}"
[2026-07-07T13:05:10.573Z] --> Using cache abd0f6576b8a9e36cc64d5adfa26a8c257867fdb5fd6f3b8a8f59f0821e3df65
--> abd0f6576b8a
[2026-07-07T13:05:10.578Z] [2/2] STEP 10/13: RUN --mount=type=bind,from=dev_containers_feature_content_source,source=rust_1,target=/tmp/build-features-src/rust_1 cp -ar /tmp/build-features-src/rust_1 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/rust_1 && cd /tmp/dev-container-features/rust_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/rust_1
[2026-07-07T13:05:10.580Z] --> Using cache 4dc1aff3e936316e4d61519899caec26b7aa5fc0481d5de23ac973be9b675e6f
--> 4dc1aff3e936
[2026-07-07T13:05:10.585Z] [2/2] STEP 11/13: ARG _DEV_CONTAINERS_IMAGE_USER=root
[2026-07-07T13:05:10.585Z] --> Using cache e96a495c7b1ac9c3a9b725b59bd604e0fdb9b38711c43b0ce4a46979b96b8470
[2026-07-07T13:05:10.585Z] --> e96a495c7b1a
[2026-07-07T13:05:10.591Z] [2/2] STEP 12/13: USER $_DEV_CONTAINERS_IMAGE_USER
[2026-07-07T13:05:10.591Z] --> Using cache b4fe84370f55480c8f874879ea8ac20fc7f4e35b8df041f6cb442105ff3f0cc2
--> b4fe84370f55
[2026-07-07T13:05:10.598Z] [2/2] STEP 13/13: LABEL devcontainer.metadata="[ {\"id\":\"ghcr.io/devcontainers-extra/features/mise:1\"}, {\"id\":\"ghcr.io/devcontainers/features/rust:1\",\"capAdd\":[\"SYS_PTRACE\"],\"securityOpt\":[\"seccomp=unconfined\"],\"customizations\":{\"vscode\":{\"extensions\":[\"vadimcn.vscode-lldb\",\"rust-lang.rust-analyzer\",\"tamasfe.even-better-toml\"],\"settings\":{\"files.watcherExclude\":{\"**/target/**\":true},\"github.copilot.chat.codeGeneration.instructions\":[{\"text\":\"This dev container includes Rust, common Rust utilities, and needed dependencies pre-installed and available on the `PATH`, along with the Rust language extension for Rust development.\"}]}}}}, {\"postCreateCommand\":\"sh .devcontainer/post-create.sh\"} ]"
[2026-07-07T13:05:10.599Z] --> Using cache 1f141192719e6ebcc40a0c7fc97882ddc6c0ca968f76ac430cd4b0514bc1f2c9
[2/2] COMMIT vsc-w-19694b3639ed3d7a4c1ae588071c8947fe7547aad8aaf9cd3a60de487ec049d5-features
[2026-07-07T13:05:10.629Z] --> 1f141192719e
[Warning] one or more build args were not consumed: [BUILDKIT_INLINE_CACHE _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE]
[2026-07-07T13:05:10.629Z] Successfully tagged localhost/vsc-w-19694b3639ed3d7a4c1ae588071c8947fe7547aad8aaf9cd3a60de487ec049d5-features:latest
Successfully tagged localhost/vsc-w-3dbf61905667b3ffd0fe70cb279479133b9777f0d5396b739a80f00d42a82e99-features:latest
[2026-07-07T13:05:10.629Z] Successfully tagged localhost/vsc-w-2184ab699f123f06eb77d125f333850bd2489eac0749b7383d3d6ea77d9aa9c4-features:latest
[2026-07-07T13:05:10.666Z] 1f141192719e6ebcc40a0c7fc97882ddc6c0ca968f76ac430cd4b0514bc1f2c9
[2026-07-07T13:05:10.679Z] Start: Run: /nix/store/h111xm96sylafdn3kgixgxyfs7af600r-podman-5.8.2/bin/podman run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=/var/lib/radicle-ci/adapters/devcontainer/devcontainer/state/10a1c359-d15d-4011-82ae-6aefdaeb12ac/w,target=/workspaces/w --mount type=volume,src=radicle-ci-cache-0f21906dcab9-2b3df4dad4fd479c,dst=/workspaces/w/target --mount type=volume,src=radicle-ci-cache-0f21906dcab9-37614f8a2c9b734f,dst=/nix -l devcontainer.local_folder=/var/lib/radicle-ci/adapters/devcontainer/devcontainer/state/10a1c359-d15d-4011-82ae-6aefdaeb12ac/w -l xyz.radicle.ci.run=10a1c359-d15d-4011-82ae-6aefdaeb12ac --security-opt label=disable --device=/dev/kvm --cap-add SYS_PTRACE --security-opt seccomp=unconfined --entrypoint /bin/sh vsc-w-19694b3639ed3d7a4c1ae588071c8947fe7547aad8aaf9cd3a60de487ec049d5-features -c echo Container started
[2026-07-07T13:05:10.944Z] Container started
[2026-07-07T13:05:11.489Z] Running the postCreateCommand from devcontainer.json...
[2026-07-07T13:05:11.698Z] existing Nix install found; restoring system files instead of reinstalling
{"outcome":"success","containerId":"c8dbc1da8dd4243894dff52e074b909297edac99061624755c065a4b56abf5a7","remoteUser":"root","remoteWorkspaceFolder":"/workspaces/w"}
gave the workspace (owner uid 979) to the container user (uid 0) for the run
$ /nix/store/ik0xcys4cqjr4hdywzinrylm9sm48bvc-devcontainer-0.87.0/bin/devcontainer exec --docker-path /nix/store/h111xm96sylafdn3kgixgxyfs7af600r-podman-5.8.2/bin/podman --workspace-folder /var/lib/radicle-ci/adapters/devcontainer/devcontainer/state/10a1c359-d15d-4011-82ae-6aefdaeb12ac/w --id-label devcontainer.local_folder=/var/lib/radicle-ci/adapters/devcontainer/devcontainer/state/10a1c359-d15d-4011-82ae-6aefdaeb12ac/w --id-label xyz.radicle.ci.run=10a1c359-d15d-4011-82ae-6aefdaeb12ac /bin/sh -c echo "radicle-ci-ownership uid=$(id -u) gid=$(id -g) owner=$(stat -c %u .) group=$(stat -c %g .)"
radicle-ci-ownership uid=0 gid=0 owner=979 group=974
$ /nix/store/h111xm96sylafdn3kgixgxyfs7af600r-podman-5.8.2/bin/podman exec --user 0 c8dbc1da8dd4243894dff52e074b909297edac99061624755c065a4b56abf5a7 chown -R 0:0 /workspaces/w
$ /nix/store/ik0xcys4cqjr4hdywzinrylm9sm48bvc-devcontainer-0.87.0/bin/devcontainer exec --docker-path /nix/store/h111xm96sylafdn3kgixgxyfs7af600r-podman-5.8.2/bin/podman --workspace-folder /var/lib/radicle-ci/adapters/devcontainer/devcontainer/state/10a1c359-d15d-4011-82ae-6aefdaeb12ac/w --id-label devcontainer.local_folder=/var/lib/radicle-ci/adapters/devcontainer/devcontainer/state/10a1c359-d15d-4011-82ae-6aefdaeb12ac/w --id-label xyz.radicle.ci.run=10a1c359-d15d-4011-82ae-6aefdaeb12ac --remote-env RADICLE_CI_RUN_ID=10a1c359-d15d-4011-82ae-6aefdaeb12ac --remote-env RADICLE_CI_EVENT=push --remote-env RADICLE_CI_COMMIT=91794942a7f809575570061866f606c2414ee76a --remote-env RADICLE_CI_REPOSITORY=rad:z27Mx16VDZt2nwGygkyPCbK9ppuB --remote-env RADICLE_CI_AUTHOR=did:key:z6MkiaGEHcXc9v3ou5ZvfnRC8xBrGoEFWqvPQPTLEU8bUt8C --remote-env RADICLE_CI_AUTHOR_ALIAS=nolan --remote-env RADICLE_CI_BRANCH=main /bin/sh -c script="$(mktemp)" && cat >"$script" && chmod +x "$script" && exec "$script"
[2026-07-07T13:05:12.817Z] Error: Dev container config (/var/lib/radicle-ci/adapters/devcontainer/devcontainer/state/10a1c359-d15d-4011-82ae-6aefdaeb12ac/w/.devcontainer/devcontainer.json) not found.
at iu (/nix/store/ik0xcys4cqjr4hdywzinrylm9sm48bvc-devcontainer-0.87.0/libexec/dist/spec-node/devContainersSpecCLI.js:671:6125)
at async d5 (/nix/store/ik0xcys4cqjr4hdywzinrylm9sm48bvc-devcontainer-0.87.0/libexec/dist/spec-node/devContainersSpecCLI.js:671:3985)
at async /nix/store/ik0xcys4cqjr4hdywzinrylm9sm48bvc-devcontainer-0.87.0/libexec/dist/spec-node/devContainersSpecCLI.js:485:1917
$ /nix/store/h111xm96sylafdn3kgixgxyfs7af600r-podman-5.8.2/bin/podman exec --user 0 c8dbc1da8dd4243894dff52e074b909297edac99061624755c065a4b56abf5a7 chown -R 979:974 /workspaces/w
$ /nix/store/h111xm96sylafdn3kgixgxyfs7af600r-podman-5.8.2/bin/podman rm --force c8dbc1da8dd4243894dff52e074b909297edac99061624755c065a4b56abf5a7
c8dbc1da8dd4243894dff52e074b909297edac99061624755c065a4b56abf5a7