CI run for rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M

Radicle repository id rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "patch",
  "repository": {
    "id": "rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M",
    "name": "radicle-job",
    "description": "Radicle Job Collaborative Object",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM"
    ]
  },
  "action": "Updated",
  "patch": {
    "id": "d9f4dad05a4e468898bb7374c4c8a77e569548aa",
    "author": {
      "id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
      "alias": "fintohaps"
    },
    "title": "feat: add program to manipulate and inspect job COBs",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "574129a2d0008294818aa99ba99b3ad64ffdaeab",
    "after": "8530300d045448b7b7173d8a5280d18e493edbbb",
    "commits": [
      "8530300d045448b7b7173d8a5280d18e493edbbb",
      "841ea446c09563b642ae805f3626d6eac5884e69",
      "4e85d1cef3bd6d06ed4c2ad99cf0f8701c2a32bf",
      "0c82a9a934564c825dbdc2d9b3d38ae314d217f0"
    ],
    "target": "574129a2d0008294818aa99ba99b3ad64ffdaeab",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "d9f4dad05a4e468898bb7374c4c8a77e569548aa",
        "author": {
          "id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
          "alias": "fintohaps"
        },
        "description": "Signed-off-by: Lars Wirzenius <liw@liw.fi>",
        "base": "574129a2d0008294818aa99ba99b3ad64ffdaeab",
        "oid": "d461a00210ebeb84c1b2bc90829eaeed5864867f",
        "timestamp": 1752642019
      },
      {
        "id": "d9fe84e7d65aa7649d7c7a40f7fa0b45da72bc13",
        "author": {
          "id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
          "alias": "fintohaps"
        },
        "description": "Apply suggestions from Richard Levitte",
        "base": "574129a2d0008294818aa99ba99b3ad64ffdaeab",
        "oid": "f90f72b43758799c0b63b2cb7d8e658c1b5f46a9",
        "timestamp": 1752654773
      },
      {
        "id": "7ec1c77e42c048bf9a0b2f562b55a3af78ceb7e0",
        "author": {
          "id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
          "alias": "fintohaps"
        },
        "description": "Changes:\n- Introduce `FindByCommit` iterator\n- Introduce `display` module\n- Refactoring of CLI",
        "base": "574129a2d0008294818aa99ba99b3ad64ffdaeab",
        "oid": "20ee99575112021548a2d68df15175ef2e21603d",
        "timestamp": 1752754680
      },
      {
        "id": "2d82eaa6ab2b2d06195ba2ec974da3943d276171",
        "author": {
          "id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
          "alias": "fintohaps"
        },
        "description": "",
        "base": "574129a2d0008294818aa99ba99b3ad64ffdaeab",
        "oid": "576c9a42284ed9e86b6fc1b05a81f870dc8a35b1",
        "timestamp": 1752814887
      },
      {
        "id": "7be52ad3291c6339c2d34be4791544f0da9456f6",
        "author": {
          "id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
          "alias": "fintohaps"
        },
        "description": "",
        "base": "574129a2d0008294818aa99ba99b3ad64ffdaeab",
        "oid": "ff28254d4037c6168e86e08c447b9430565e06f9",
        "timestamp": 1752815088
      },
      {
        "id": "152d304310d62613d37237777ec963267e176061",
        "author": {
          "id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
          "alias": "fintohaps"
        },
        "description": "Changes:\n- Remove optional UUID for `rad job run`\n- Rename Error to RadJobError\n- Improve wording of doc strings",
        "base": "574129a2d0008294818aa99ba99b3ad64ffdaeab",
        "oid": "ae7c5bc543d22468eba2747043a496583e465b3b",
        "timestamp": 1752830466
      },
      {
        "id": "193cf2685657d31704e857d83e451e8ad170b6ab",
        "author": {
          "id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
          "alias": "fintohaps"
        },
        "description": "Changes:\n- Re-attribution of commit",
        "base": "574129a2d0008294818aa99ba99b3ad64ffdaeab",
        "oid": "8530300d045448b7b7173d8a5280d18e493edbbb",
        "timestamp": 1752831372
      }
    ]
  }
}

Run log

[2025-07-18T09:37:01Z 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: Block devices
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
vda    254:0    0   100G  0 disk 
├─vda1 254:1    0   953M  0 part 
└─vda2 254:2    0  99.1G  0 part /
vdb    254:16   0   950K  1 disk 
vdc    254:32   0   440K  1 disk 
vdd    254:48   0   9.3G  0 disk 
vde    254:64   0  46.6G  0 disk 
vdf    254:80   0 196.1M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-07-18 09:36 ./
-rw-r--r-- _rad/_rad       859 2025-07-18 09:36 ./plan.yaml
-rwxr-xr-x _rad/_rad    963160 2025-07-18 09:36 ./run-ci
INFO: Extracted files:
  3670022      4 drwxr-xr-x   2 1001     1001         4096 Jul 18 09:36 .
  3670026    944 -rwxr-xr-x   1 1001     1001       963160 Jul 18 09:36 ./run-ci
  3670023      4 -rw-r--r--   1 1001     1001          859 Jul 18 09:36 ./plan.yaml
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: 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=[]
   786433      4 drwxr-xr-x   6 root     root         4096 Jul 18 09:36 /workspace
   786554      4 drwxr-xr-x   3 root     root         4096 Jul 18 09:36 /workspace/deps
   786558      4 drwxr-xr-x   5 root     root         4096 Jun 10 07:43 /workspace/deps/registry
   786556     92 -rw-r--r--   1 root     root        94208 Jul 18 09:36 /workspace/deps/.global-cache
   786557      0 -rw-r--r--   1 root     root            0 Jun 10 07:42 /workspace/deps/.package-cache
   786555      0 -rw-r--r--   1 root     root            0 Jun 30 06:39 /workspace/deps/.package-cache-mutate
   797829      4 drwxr-xr-x   3 root     root         4096 Jun 10 07:43 /workspace/cache
   797830      4 drwxr-xr-x   7 root     root         4096 Jun 10 07:43 /workspace/cache/debug
   805876      4 -rw-r--r--   1 root     root         1034 Jul 18 09:21 /workspace/cache/.rustc_info.json
   786435      4 drwxr-xr-x   5 root     root         4096 Jul 18 09:36 /workspace/src
   786449      4 drwxr-xr-x   8 root     root         4096 Jul 18 09:36 /workspace/src/.git
   786553     52 -rw-r--r--   1 root     root        53010 Jul 18 09:36 /workspace/src/Cargo.lock
   786444      4 -rw-r--r--   1 root     root           10 Jul 18 09:36 /workspace/src/.envrc
   786448      4 -rw-r--r--   1 root     root          953 Jul 18 09:36 /workspace/src/Cargo.toml
   786436      4 drwxr-xr-x   2 root     root         4096 Jul 18 09:36 /workspace/src/.radicle
   786552      4 -rw-r--r--   1 root     root         2465 Jul 18 09:36 /workspace/src/flake.lock
   786446      4 -rw-r--r--   1 root     root         3086 Jul 18 09:36 /workspace/src/flake.nix
   786438      4 drwxr-xr-x   3 root     root         4096 Jul 18 09:36 /workspace/src/src
   786445      8 -rw-r--r--   1 root     root         5059 Jul 18 09:36 /workspace/src/README.md
   786447      4 -rw-r--r--   1 root     root            8 Jul 18 09:36 /workspace/src/.gitignore
   786434      4 drwxr-xr-x   2 root     root         4096 Jul 18 09:36 /workspace/artifacts
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")]
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 radicle-job v0.1.0 (/workspace/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s
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 radicle-job v0.1.0 (/workspace/src)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 4.65s
     Running unittests src/lib.rs (/workspace/cache/debug/deps/radicle_job-528e906409a708b9)

running 4 tests
test test::runs_insertion_order_iteration ... ok
test test::missing_commit ... ok
test test::idempotent_create ... ok
test test::e2e ... ok

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

     Running unittests src/bin/rad-job.rs (/workspace/cache/debug/deps/rad_job-fbbe8358c835cccb)

running 0 tests

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

   Doc-tests radicle_job

running 1 test
test src/lib.rs - (line 13) ... ok

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

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-18T09:37:01Z INFO  ambient] ambient ends successfully