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": "b9d8df7d33df0db25f05a6696935eb0e6f82ae57",
  "after": "b9d8df7d33df0db25f05a6696935eb0e6f82ae57",
  "branch": "main",
  "commits": [
    "b9d8df7d33df0db25f05a6696935eb0e6f82ae57"
  ]
}

Run log

[2025-07-26T05:21:57Z 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   700K  1 disk 
vdd    254:48   0   9.3G  0 disk 
vde    254:64   0  46.6G  0 disk 
vdf    254:80   0 204.5M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-07-26 05:17 ./
-rw-r--r-- _rad/_rad       859 2025-07-26 05:17 ./plan.yaml
-rwxr-xr-x _rad/_rad   2888312 2025-07-26 05:17 ./run-ci
INFO: Extracted files:
  2514271      4 drwxr-xr-x   2 1001     1001         4096 Jul 26 05:17 .
  2514273   2824 -rwxr-xr-x   1 1001     1001      2888312 Jul 26 05:17 ./run-ci
  2514272      4 -rw-r--r--   1 1001     1001          859 Jul 26 05:17 ./plan.yaml
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-07-26T05:17:45Z TRACE ambient_execute_plan] ambient-execute-plan starts
[2025-07-26T05:17:45Z DEBUG ambient_execute_plan] ambient-execute-plan starts
[2025-07-26T05:17:45Z INFO  ambient_execute_plan] ambient-execute-plan starts
[2025-07-26T05:17:45Z WARN  ambient_execute_plan] ambient-execute-plan starts
[2025-07-26T05:17:45Z 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-26T05:17:45Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
        pathname: "/workspace",
    }
RUN: Action finished OK
RUN: Action Mkdir {
    pathname: "/workspace/artifacts",
}
[2025-07-26T05:17:45Z 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-26T05:17:45Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-07-26T05:17:45Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-07-26T05:17:45Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdf",
    directory: "/workspace/deps",
}
[2025-07-26T05:17:45Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-07-26T05:17:45Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-07-26T05:18:02Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vde",
    directory: "/workspace/cache",
}
[2025-07-26T05:18:02Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-07-26T05:18:02Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-07-26T05:20:24Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action Spawn {
    argv: [
        "find",
        "/workspace",
        "-maxdepth",
        "2",
        "-ls",
    ],
}
[2025-07-26T05:20:24Z 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 26 05:18 /workspace
  2633225      4 drwxr-xr-x   3 root     root         4096 Jun  7 11:04 /workspace/cache
  2641495      4 -rw-r--r--   1 root     root         1033 Jul 20 03:38 /workspace/cache/.rustc_info.json
  2633226      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 26 05:17 /workspace/artifacts
  2621443      4 drwxr-xr-x   5 root     root         4096 Jul 26 05:16 /workspace/src
  2621454      4 -rw-r--r--   1 root     root         3086 Jul 26 05:16 /workspace/src/flake.nix
  2621455      4 -rw-r--r--   1 root     root            8 Jul 26 05:16 /workspace/src/.gitignore
  2621457      4 drwxr-xr-x   8 root     root         4096 Jul 26 05:16 /workspace/src/.git
  2621453      8 -rw-r--r--   1 root     root         5059 Jul 26 05:16 /workspace/src/README.md
  2621444      4 drwxr-xr-x   2 root     root         4096 Jul 26 05:16 /workspace/src/.radicle
  2621456      4 -rw-r--r--   1 root     root          957 Jul 26 05:16 /workspace/src/Cargo.toml
  2621446      4 drwxr-xr-x   3 root     root         4096 Jul 26 05:16 /workspace/src/src
  2621452      4 -rw-r--r--   1 root     root           10 Jul 26 05:16 /workspace/src/.envrc
  2621710     56 -rw-r--r--   1 root     root        53696 Jul 26 05:16 /workspace/src/Cargo.lock
  2621709      4 -rw-r--r--   1 root     root         2465 Jul 26 05:16 /workspace/src/flake.lock
  2621711      4 drwxr-xr-x   4 root     root         4096 Jul 26 05:16 /workspace/deps
  2621712      0 -rw-r--r--   1 root     root            0 Jun 28 04:02 /workspace/deps/.package-cache-mutate
  2621741      4 drwxr-xr-x   5 root     root         4096 Jun  7 11:03 /workspace/deps/registry
  2621713      4 drwxr-xr-x   4 root     root         4096 Jun  7 11:03 /workspace/deps/git
  2621739     92 -rw-r--r--   1 root     root        94208 Jul 26 05:16 /workspace/deps/.global-cache
  2621740      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-26T05:20:24Z 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-26T05:20:27Z 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")]
   Compiling serde v1.0.219
   Compiling typeid v1.0.3
    Checking git-ref-format-core v0.3.1
    Checking url v2.5.4
    Checking indexmap v2.9.0
    Checking erased-serde v0.4.6
    Checking git-ref-format v0.3.1
    Checking nonempty v0.9.0
    Checking serde-untagged v0.1.7
    Checking serde_json v1.0.140
    Checking bytesize v2.0.1
    Checking git2 v0.19.0
    Checking localtime v1.3.1
    Checking uuid v1.16.0
    Checking radicle-git-ext v0.8.1
    Checking radicle-crypto v0.12.0
    Checking radicle-cob v0.14.0
    Checking radicle v0.16.1
    Checking radicle-job v0.1.0 (/workspace/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.13s
RUN: Action finished OK
RUN: Action CargoTest
[2025-07-26T05:20:57Z 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 serde v1.0.219
   Compiling typeid v1.0.3
   Compiling url v2.5.4
   Compiling git-ref-format-core v0.3.1
   Compiling indexmap v2.9.0
   Compiling erased-serde v0.4.6
   Compiling git-ref-format v0.3.1
   Compiling nonempty v0.9.0
   Compiling serde-untagged v0.1.7
   Compiling git2 v0.19.0
   Compiling serde_json v1.0.140
   Compiling bytesize v2.0.1
   Compiling localtime v1.3.1
   Compiling uuid v1.16.0
   Compiling radicle-git-ext v0.8.1
   Compiling radicle-crypto v0.12.0
   Compiling radicle-cob v0.14.0
   Compiling radicle v0.16.1
   Compiling radicle-job v0.1.0 (/workspace/src)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 22.23s
     Running unittests src/lib.rs (/workspace/cache/debug/deps/radicle_job-b4519a6d1d1792ff)

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-cd80eeded871044b)

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.07s

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