CI run for rad:z2JoUsqMzzJCDEVWxSWe2NgCNR1qP

Radicle repository id rad:z2JoUsqMzzJCDEVWxSWe2NgCNR1qP

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "patch",
  "repository": {
    "id": "rad:z2JoUsqMzzJCDEVWxSWe2NgCNR1qP",
    "name": "liw-hello",
    "description": "Sample program for blog post about Radicle and its CI",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
    ]
  },
  "action": "Updated",
  "patch": {
    "id": "0089c41957d24b5833c88adf057daf9c0265b7ae",
    "author": {
      "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "alias": "liw"
    },
    "title": "feat: change default greeting in honor of Buffy",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "29dea29fb9b1585074a9603529b910cbcdafc678",
    "after": "1a3affd7a7d2d404202985d211cc54a32f147490",
    "commits": [
      "1a3affd7a7d2d404202985d211cc54a32f147490",
      "31c1fb693ed9e507f1f74ff3e31c95918173c438",
      "aebfd4adcdeadaee926ba0a2735ecfaaaab080d7"
    ],
    "target": "29dea29fb9b1585074a9603529b910cbcdafc678",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "0089c41957d24b5833c88adf057daf9c0265b7ae",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "Signed-off-by: Lars Wirzenius <liw@liw.fi>\nSponsored-by: author\n\n\nci: add Ambient CI configuration\n\nSigned-off-by: Lars Wirzenius <liw@liw.fi>\nSponsored-by: author",
        "base": "29dea29fb9b1585074a9603529b910cbcdafc678",
        "oid": "31c1fb693ed9e507f1f74ff3e31c95918173c438",
        "timestamp": 1751441162
      },
      {
        "id": "4b94e228aeb9a6e6f143ee76e1e4d32920f791c0",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "fix: tests to work with new default\n\nSigned-off-by: Lars Wirzenius <liw@liw.fi>\nSponsored-by: author",
        "base": "29dea29fb9b1585074a9603529b910cbcdafc678",
        "oid": "1a3affd7a7d2d404202985d211cc54a32f147490",
        "timestamp": 1751442018
      }
    ]
  }
}

Run log

[2025-07-02T07:40:30Z INFO  ambient] ambient starts
[=3h[=3hBdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00005 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,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)
Welcome to GRUB!


INFO: 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_clippy
- action: cargo_test
- 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=[]
  1048577      4 drwxr-xr-x   6 root     root         4096 Jul  2 07:40 /workspace
  1048639      4 drwxr-xr-x   2 root     root         4096 Jul  2 07:31 /workspace/cache
  1048579      4 drwxr-xr-x   5 root     root         4096 Jul  2 07:40 /workspace/src
  1048585      4 -rw-r--r--   1 root     root           80 Jul  2 07:40 /workspace/src/Cargo.toml
  1048582      4 drwxr-xr-x   2 root     root         4096 Jul  2 07:40 /workspace/src/src
  1048637      4 -rw-r--r--   1 root     root          153 Jul  2 07:40 /workspace/src/Cargo.lock
  1048580      4 drwxr-xr-x   2 root     root         4096 Jul  2 07:40 /workspace/src/.radicle
  1048584      4 -rw-r--r--   1 root     root            8 Jul  2 07:40 /workspace/src/.gitignore
  1048586      4 drwxr-xr-x   8 root     root         4096 Jul  2 07:40 /workspace/src/.git
  1048578      4 drwxr-xr-x   2 root     root         4096 Jul  2 07:40 /workspace/artifacts
  1048638      4 drwxr-xr-x   2 root     root         4096 Jul  2 07:31 /workspace/deps
RUN: Action finished OK
RUN: Action CargoClippy
SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
       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")]
    Checking liw-hello v0.1.0 (/workspace/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s
RUN: Action finished OK
RUN: Action CargoTest
SPAWN: argv=["cargo", "test", "--offline", "--locked", "--workspace"]
       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")]
   Compiling liw-hello v0.1.0 (/workspace/src)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
     Running unittests src/main.rs (/workspace/cache/debug/deps/liw_hello-9c44d33bbe6cdc80)

running 3 tests
test test::default ... ok
test test::sets_greeting ... ok
test test::sets_whom ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

RUN: Action finished OK
RUN: Action TarCreate {
    archive: "/dev/vde",
    directory: "/workspace/cache",
}
RUN: Action finished OK
RUN: Action TarCreate {
    archive: "/dev/vdd",
    directory: "/workspace/artifacts",
}
RUN: Action finished OK
ambient-execute-plan ends
EXIT CODE: 0
[2025-07-02T07:40:30Z INFO  ambient] ambient ends successfully