CI run for radicle-job

Radicle repository id rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M",
    "name": "radicle-job",
    "description": "Radicle Job Collaborative Object",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
    "alias": "ci0"
  },
  "before": "8530300d045448b7b7173d8a5280d18e493edbbb",
  "after": "8530300d045448b7b7173d8a5280d18e493edbbb",
  "branch": "main",
  "commits": [
    "8530300d045448b7b7173d8a5280d18e493edbbb"
  ]
}

Run log

[2025-07-20T03:38:31Z 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   2.8M  1 disk 
vdc    254:32   0   490K  1 disk 
vdd    254:48   0   9.3G  0 disk 
vde    254:64   0  46.6G  0 disk 
vdf    254:80   0 202.5M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-07-20 03:34 ./
-rw-r--r-- _rad/_rad       859 2025-07-20 03:34 ./plan.yaml
-rwxr-xr-x _rad/_rad   2888312 2025-07-20 03:34 ./run-ci
INFO: Extracted files:
  2514271      4 drwxr-xr-x   2 1001     1001         4096 Jul 20 03:34 .
  2514273   2824 -rwxr-xr-x   1 1001     1001      2888312 Jul 20 03:34 ./run-ci
  2514272      4 -rw-r--r--   1 1001     1001          859 Jul 20 03:34 ./plan.yaml
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-07-20T03:35:17Z TRACE ambient_execute_plan] ambient-execute-plan starts
[2025-07-20T03:35:17Z DEBUG ambient_execute_plan] ambient-execute-plan starts
[2025-07-20T03:35:17Z INFO  ambient_execute_plan] ambient-execute-plan starts
[2025-07-20T03:35:17Z WARN  ambient_execute_plan] ambient-execute-plan starts
[2025-07-20T03:35:17Z ERROR ambient_execute_plan] 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",
}
[2025-07-20T03:35:17Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
        pathname: "/workspace",
    }
RUN: Action finished OK
RUN: Action Mkdir {
    pathname: "/workspace/artifacts",
}
[2025-07-20T03:35:17Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
        pathname: "/workspace/artifacts",
    }
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdc",
    directory: "/workspace/src",
}
[2025-07-20T03:35:17Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-07-20T03:35:17Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-07-20T03:35:17Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdf",
    directory: "/workspace/deps",
}
[2025-07-20T03:35:17Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-07-20T03:35:17Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-07-20T03:35:29Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vde",
    directory: "/workspace/cache",
}
[2025-07-20T03:35:29Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-07-20T03:35:29Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-07-20T03:37:33Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action Spawn {
    argv: [
        "find",
        "/workspace",
        "-maxdepth",
        "2",
        "-ls",
    ],
}
[2025-07-20T03:37:33Z DEBUG ambient_ci::action] Plan::execute: Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
       cwd=/workspace/src (exists? true)
       extra_env=[]
  2621441      4 drwxr-xr-x   6 root     root         4096 Jul 20 03:35 /workspace
  2632923      4 drwxr-xr-x   3 root     root         4096 Jun  7 11:04 /workspace/cache
  2641171      4 -rw-r--r--   1 root     root         1034 Jul 19 03:13 /workspace/cache/.rustc_info.json
  2632924      4 drwxr-xr-x   7 root     root         4096 Jun  7 11:04 /workspace/cache/debug
  2621442      4 drwxr-xr-x   2 root     root         4096 Jul 20 03:35 /workspace/artifacts
  2621443      4 drwxr-xr-x   5 root     root         4096 Jul 20 03:34 /workspace/src
  2621454      4 -rw-r--r--   1 root     root         3086 Jul 20 03:34 /workspace/src/flake.nix
  2621455      4 -rw-r--r--   1 root     root            8 Jul 20 03:34 /workspace/src/.gitignore
  2621457      4 drwxr-xr-x   8 root     root         4096 Jul 20 03:34 /workspace/src/.git
  2621453      8 -rw-r--r--   1 root     root         5059 Jul 20 03:34 /workspace/src/README.md
  2621444      4 drwxr-xr-x   2 root     root         4096 Jul 20 03:34 /workspace/src/.radicle
  2621456      4 -rw-r--r--   1 root     root          953 Jul 20 03:34 /workspace/src/Cargo.toml
  2621446      4 drwxr-xr-x   3 root     root         4096 Jul 20 03:34 /workspace/src/src
  2621452      4 -rw-r--r--   1 root     root           10 Jul 20 03:34 /workspace/src/.envrc
  2621621     52 -rw-r--r--   1 root     root        53010 Jul 20 03:34 /workspace/src/Cargo.lock
  2621620      4 -rw-r--r--   1 root     root         2465 Jul 20 03:34 /workspace/src/flake.lock
  2621622      4 drwxr-xr-x   4 root     root         4096 Jul 20 03:34 /workspace/deps
  2621623      0 -rw-r--r--   1 root     root            0 Jun 28 04:02 /workspace/deps/.package-cache-mutate
  2621652      4 drwxr-xr-x   5 root     root         4096 Jun  7 11:03 /workspace/deps/registry
  2621624      4 drwxr-xr-x   4 root     root         4096 Jun  7 11:03 /workspace/deps/git
  2621650     92 -rw-r--r--   1 root     root        94208 Jul 20 03:34 /workspace/deps/.global-cache
  2621651      0 -rw-r--r--   1 root     root            0 Jun  7 11:03 /workspace/deps/.package-cache
RUN: Action finished OK
RUN: Action CargoFmt
[2025-07-20T03:37:33Z DEBUG ambient_ci::action] Plan::execute: 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
[2025-07-20T03:37:36Z DEBUG ambient_ci::action] Plan::execute: 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 12.06s
RUN: Action finished OK
RUN: Action CargoTest
[2025-07-20T03:37:49Z DEBUG ambient_ci::action] Plan::execute: 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 14.23s
     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 3.42s

RUN: Action finished OK
RUN: Action TarCreate {
    archive: "/dev/vde",
    directory: "/workspace/cache",
}
[2025-07-20T03:38:07Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-07-20T03:38:07Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
        filename: Some(
            "/dev/vde",
        ),
        root: Some(
            "/workspace/cache",
        ),
        size: None,
    }
[2025-07-20T03:38:07Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true
[2025-07-20T03:38:07Z TRACE ambient_ci::vdrive] create archive file /dev/vde
[2025-07-20T03:38:07Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true
[2025-07-20T03:38:07Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as .
[2025-07-20T03:38:23Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde
RUN: Action finished OK
RUN: Action TarCreate {
    archive: "/dev/vdd",
    directory: "/workspace/artifacts",
}
[2025-07-20T03:38:23Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
        archive: "/dev/vdd",
        directory: "/workspace/artifacts",
    }
[2025-07-20T03:38:23Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
        filename: Some(
            "/dev/vdd",
        ),
        root: Some(
            "/workspace/artifacts",
        ),
        size: None,
    }
[2025-07-20T03:38:23Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true
[2025-07-20T03:38:23Z TRACE ambient_ci::vdrive] create archive file /dev/vdd
[2025-07-20T03:38:23Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true
[2025-07-20T03:38:23Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as .
[2025-07-20T03:38:23Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd
RUN: Action finished OK
ambient-execute-plan ends
EXIT CODE: 0
[2025-07-20T03:38:31Z INFO  ambient] ambient ends successfully