CI run for rad:z3dhWQMH8J6nX3Qo97o5oSFMTfgyr

Radicle repository id rad:z3dhWQMH8J6nX3Qo97o5oSFMTfgyr

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "patch",
  "repository": {
    "id": "rad:z3dhWQMH8J6nX3Qo97o5oSFMTfgyr",
    "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": "fd552417cc9a66c6aac1b6c8c717996bea741bfd",
    "author": {
      "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "alias": "liw"
    },
    "title": "ci: add configuration Radicle + Ambient",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "c3f02b43830578c93edd83a23ee2902899fdb159",
    "after": "17cda244d2e78bdeffd0647b20f315726bebf605",
    "commits": [
      "17cda244d2e78bdeffd0647b20f315726bebf605",
      "d19c8983607edb1b46831b3e82f733e51543726f",
      "54d2c9c91d98383ffad1fa483591faab6dd21f3c"
    ],
    "target": "c3f02b43830578c93edd83a23ee2902899fdb159",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "fd552417cc9a66c6aac1b6c8c717996bea741bfd",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "feat: change greeting",
        "base": "c3f02b43830578c93edd83a23ee2902899fdb159",
        "oid": "d19c8983607edb1b46831b3e82f733e51543726f",
        "timestamp": 1751608836
      },
      {
        "id": "3180ddd9839a8fe29132ee90826bada3eab6aeb0",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "chore: include Cargo.lock in repository",
        "base": "c3f02b43830578c93edd83a23ee2902899fdb159",
        "oid": "17cda244d2e78bdeffd0647b20f315726bebf605",
        "timestamp": 1751609141
      }
    ]
  }
}

Run log

[2025-07-04T06:06:23Z 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  4 06:06 /workspace
  1048643      4 drwxr-xr-x   2 root     root         4096 Jul  4 06:00 /workspace/cache
  1048579      4 drwxr-xr-x   5 root     root         4096 Jul  4 06:05 /workspace/src
  1048585      4 -rw-r--r--   1 root     root           80 Jul  4 06:05 /workspace/src/Cargo.toml
  1048582      4 drwxr-xr-x   2 root     root         4096 Jul  4 06:05 /workspace/src/src
  1048641      4 -rw-r--r--   1 root     root          153 Jul  4 06:05 /workspace/src/Cargo.lock
  1048580      4 drwxr-xr-x   2 root     root         4096 Jul  4 06:05 /workspace/src/.radicle
  1048584      4 -rw-r--r--   1 root     root            8 Jul  4 06:05 /workspace/src/.gitignore
  1048586      4 drwxr-xr-x   8 root     root         4096 Jul  4 06:05 /workspace/src/.git
  1048578      4 drwxr-xr-x   2 root     root         4096 Jul  4 06:06 /workspace/artifacts
  1048642      4 drwxr-xr-x   2 root     root         4096 Jul  4 06:00 /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 5.66s
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 5.09s
     Running unittests src/main.rs (/workspace/cache/debug/deps/liw_hello-9c44d33bbe6cdc80)

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

failures:

---- test::sets_greeting stdout ----

thread 'test::sets_greeting' panicked at src/main.rs:50:9:
assertion `left == right` failed
  left: "hi world"
 right: "hi partner"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- test::sets_whom stdout ----

thread 'test::sets_whom' panicked at src/main.rs:56:9:
assertion `left == right` failed
  left: "hello there"
 right: "howdy there"


failures:
    test::sets_greeting
    test::sets_whom

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

error: test failed, to rerun pass `--bin liw-hello`
ERROR: Action failed: command failed: ["cargo", "test", "--offline", "--locked", "--workspace"]
ERROR: command failed: ["cargo", "test", "--offline", "--locked", "--workspace"]
EXIT CODE: 1
[2025-07-04T06:06:23Z INFO  ambient] ambient ends successfully