CI run for rad:z6QuhJTtgFCZGyQZhRMZmZKJ3SVG
Triggered by
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z6QuhJTtgFCZGyQZhRMZmZKJ3SVG",
"name": "rad-ci",
"description": "Emulate Radicle CI locally",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
]
},
"action": "Created",
"patch": {
"id": "a4c5ab3b6d33c64007d2e1fe8ac1524ff8425188",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"title": "chore: nix flake please",
"state": {
"status": "open",
"conflicts": []
},
"before": "06f54befc423230cbb0f4b91000116b1c20f34b6",
"after": "823ad1e703513c59d421018537774d69d42eb0d9",
"commits": [
"823ad1e703513c59d421018537774d69d42eb0d9",
"951b3fb61e1e26fa10d20bdecb6978df4adfc0b3"
],
"target": "06f54befc423230cbb0f4b91000116b1c20f34b6",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "a4c5ab3b6d33c64007d2e1fe8ac1524ff8425188",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"description": "",
"base": "a038e597ba7e746fc133cf4d83179a5084a1e5df",
"oid": "2aac1c960fbca6a0528ca02890fb9ba83bf5877a",
"timestamp": 1742391180
},
{
"id": "7b46fc94db91c79b0b906fad1f93d6175f4a6aa5",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"description": "Changes:\n- Actually add the Nix flake",
"base": "06f54befc423230cbb0f4b91000116b1c20f34b6",
"oid": "951b3fb61e1e26fa10d20bdecb6978df4adfc0b3",
"timestamp": 1743411672
},
{
"id": "8fb678ebe50302e25c1c7d2f4ed5a988e7b577f1",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"description": "fix(rust-toolchain.toml): drop rust-src component\n\nIt's breaking a build under Ambient, and not technically needed for\n`rad-ci`, even if it's nice to have.\n\nSigned-off-by: Lars Wirzenius <liw@liw.fi>",
"base": "06f54befc423230cbb0f4b91000116b1c20f34b6",
"oid": "823ad1e703513c59d421018537774d69d42eb0d9",
"timestamp": 1743413867
}
]
}
}
Run log
[2025-03-31T09:38:14Z INFO ambient] ambient starts
[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01HBdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00003 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Secondary,Master,0x0): Not Found
BdsDxe: loading Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0)
BdsDxe: starting Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0)
[0m[30m[47mWelcome to GRUB!
[0m[37m[40m[0m[30m[40m[2J[01;01H[0m[37m[40mINFO: Extracting tar archive from /dev/vdb
./
./plan.yaml
./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
ambient-execute-plan starts
RunnablePlan::from_file: filename=plan.yaml
steps:
- action: mkdir
pathname: /workspace
- action: mkdir
pathname: /workspace/artifacts
- action: tar_extract
archive: /dev/vdc
directory: /workspace/src
- action: tar_extract
archive: /dev/vdf
directory: /workspace/deps
- action: tar_extract
archive: /dev/vde
directory: /workspace/cache
- action: spawn
argv:
- find
- /workspace
- '-maxdepth'
- '2'
- '-ls'
- action: cargo_fmt
- action: cargo_clippy
- action: tar_create
archive: /dev/vde
directory: /workspace/cache
- action: tar_create
archive: /dev/vdd
directory: /workspace/artifacts
executor_drive: /dev/vdb
source_drive: /dev/vdc
artifact_drive: /dev/vdd
cache_drive: /dev/vde
deps_drive: /dev/vdf
workspace_dir: /workspace
source_dir: /workspace/src
deps_dir: /workspace/deps
cache_dir: /workspace/cache
artifacts_dir: /workspace/artifacts
RUN: Action Mkdir {
pathname: "/workspace",
}
RUN: Action finished OK
RUN: Action Mkdir {
pathname: "/workspace/artifacts",
}
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
RUN: Action finished OK
RUN: Action Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
cwd=/workspace/src (exists? true)
extra_env=[]
1572865 4 drwxr-xr-x 6 root root 4096 Mar 31 09:38 /workspace
1572866 4 drwxr-xr-x 2 root root 4096 Mar 31 09:38 /workspace/artifacts
1572973 4 drwxr-xr-x 3 root root 4096 Mar 31 09:37 /workspace/deps
1572975 0 -rw-r--r-- 1 root root 0 Mar 4 09:47 /workspace/deps/.package-cache
1572974 196 -rw-r--r-- 1 root root 200704 Mar 31 09:37 /workspace/deps/.global-cache
1572976 4 drwxr-xr-x 5 root root 4096 Mar 5 14:21 /workspace/deps/registry
1612282 4 drwxr-xr-x 3 root root 4096 Mar 4 09:47 /workspace/cache
1612284 4 drwxr-xr-x 7 root root 4096 Mar 4 09:47 /workspace/cache/debug
1612283 4 -rw-r--r-- 1 root root 1032 Mar 26 07:59 /workspace/cache/.rustc_info.json
1572867 4 drwxr-xr-x 6 root root 4096 Mar 31 09:37 /workspace/src
1572868 4 -rw-r--r-- 1 root root 22 Mar 31 09:37 /workspace/src/.gitignore
1572870 4 drwxr-xr-x 2 root root 4096 Mar 31 09:37 /workspace/src/.radicle
1572873 4 drwxr-xr-x 8 root root 4096 Mar 31 09:37 /workspace/src/.git
1572961 4 -rw-r--r-- 1 root root 503 Mar 31 09:37 /workspace/src/Makefile
1572968 12 -rw-r--r-- 1 root root 9723 Mar 31 09:37 /workspace/src/LICENSE-APACHE
1572963 4 -rw-r--r-- 1 root root 290 Mar 31 09:37 /workspace/src/rad-ci.subplot
1572872 4 -rw-r--r-- 1 root root 807 Mar 31 09:37 /workspace/src/Cargo.toml
1572965 4 -rw-r--r-- 1 root root 10 Mar 31 09:37 /workspace/src/.envrc
1572971 4 -rw-r--r-- 1 root root 82 Mar 31 09:37 /workspace/src/rad-ci.yaml
1572972 8 -rw-r--r-- 1 root root 6597 Mar 31 09:37 /workspace/src/rad-ci.md
1572966 4 -rw-r--r-- 1 root root 3006 Mar 31 09:37 /workspace/src/flake.nix
1572948 4 drwxr-xr-x 3 root root 4096 Mar 31 09:37 /workspace/src/debian
1572869 4 -rw-r--r-- 1 root root 1095 Mar 31 09:37 /workspace/src/NEWS.md
1572947 4 -rw-r--r-- 1 root root 2465 Mar 31 09:37 /workspace/src/flake.lock
1572967 4 -rw-r--r-- 1 root root 481 Mar 31 09:37 /workspace/src/rad-ci.py
1572969 4 -rw-r--r-- 1 root root 49 Mar 31 09:37 /workspace/src/rust-toolchain.toml
1572970 112 -rw-r--r-- 1 root root 111269 Mar 31 09:37 /workspace/src/Cargo.lock
1572962 4 -rw-r--r-- 1 root root 1874 Mar 31 09:37 /workspace/src/README.md
1572964 4 -rw-r--r-- 1 root root 1079 Mar 31 09:37 /workspace/src/LICENSE-MIT
1572959 4 drwxr-xr-x 2 root root 4096 Mar 31 09:37 /workspace/src/src
RUN: Action finished OK
RUN: Action CargoFmt
SPAWN: argv=["cargo", "fmt", "--check"]
cwd=/workspace/src (exists? true)
extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")]
[0m[1minfo: [0msyncing channel updates for '1.84-x86_64-unknown-linux-gnu'
[0m[1m[31merror: [0mcould not download file from 'https://static.rust-lang.org/dist/channel-rust-1.84.toml.sha256' to '/root/.rustup/tmp/foutke2_u53sgroj_file': failed to make network request: error sending request for url (https://static.rust-lang.org/dist/channel-rust-1.84.toml.sha256): client error (Connect): dns error: failed to lookup address information: Temporary failure in name resolution: failed to lookup address information: Temporary failure in name resolution
ERROR: Action failed: command failed: ["cargo", "fmt", "--check"]
ERROR: command failed: ["cargo", "fmt", "--check"]
EXIT CODE: 1
[2025-03-31T09:38:14Z INFO ambient] ambient ends successfully