CI run for rad:z2i9UF8soK1X6L9hae8UcQPSvdHjW

Radicle repository id rad:z2i9UF8soK1X6L9hae8UcQPSvdHjW

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "patch",
  "repository": {
    "id": "rad:z2i9UF8soK1X6L9hae8UcQPSvdHjW",
    "name": "html-page",
    "description": "Rust types for HTML",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
    ]
  },
  "action": "Created",
  "patch": {
    "id": "cf79026f5a5321f0b1c236a567c76b59045dedff",
    "author": {
      "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "alias": "liw"
    },
    "title": "ci: add .radicle/ambient.yaml",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "ebf61d9e34b6157345afcc3c79552ed2933dee2a",
    "after": "7176722a9d641406af4c6f08cc7b83ea705f799b",
    "commits": [
      "7176722a9d641406af4c6f08cc7b83ea705f799b",
      "312143beb55a5a72e2fbfb9ae4b8527f23810355",
      "ad389036aba36fb3cf0ae5a5f31b2163a7d77eb9"
    ],
    "target": "ebf61d9e34b6157345afcc3c79552ed2933dee2a",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "cf79026f5a5321f0b1c236a567c76b59045dedff",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "Signed-off-by: Lars Wirzenius <liw@liw.fi>\nSponsored-by: author\n\n\nbuild: replace check with Makefile\n\nSigned-off-by: Lars Wirzenius <liw@liw.fi>\nSponsored-by: author\n\n\nchore: fix problems with idiomatic Rust found by clippy\n\nSigned-off-by: Lars Wirzenius <liw@liw.fi>\nSponsored-by: author",
        "base": "ebf61d9e34b6157345afcc3c79552ed2933dee2a",
        "oid": "7176722a9d641406af4c6f08cc7b83ea705f799b",
        "timestamp": 1751094561
      }
    ]
  }
}

Run log

[2025-06-28T07:10:03Z 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_build
- 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=[]
  3538945      4 drwxr-xr-x   6 root     root         4096 Jun 28 07:09 /workspace
  3539070      4 drwxr-xr-x   2 root     root         4096 Jun 28 07:09 /workspace/cache
  3539005      4 drwxr-xr-x   3 root     root         4096 Jun 28 07:09 /workspace/deps
  3539008      0 -rw-r--r--   1 root     root            0 Jun 28 07:09 /workspace/deps/.package-cache
  3539006      0 -rw-r--r--   1 root     root            0 Jun 28 07:09 /workspace/deps/.package-cache-mutate
  3539007     56 -rw-r--r--   1 root     root        57344 Jun 28 07:09 /workspace/deps/.global-cache
  3539009      4 drwxr-xr-x   5 root     root         4096 Jun 28 07:09 /workspace/deps/registry
  3538946      4 drwxr-xr-x   2 root     root         4096 Jun 28 07:09 /workspace/artifacts
  3538947      4 drwxr-xr-x   5 root     root         4096 Jun 28 07:09 /workspace/src
  3538956      4 drwxr-xr-x   8 root     root         4096 Jun 28 07:09 /workspace/src/.git
  3538952      4 -rw-r--r--   1 root     root         1830 Jun 28 07:09 /workspace/src/README.md
  3538955      4 -rw-r--r--   1 root     root          176 Jun 28 07:09 /workspace/src/deny.toml
  3539003      4 -rw-r--r--   1 root     root          152 Jun 28 07:09 /workspace/src/Makefile
  3538948      4 drwxr-xr-x   2 root     root         4096 Jun 28 07:09 /workspace/src/.radicle
  3538954      4 -rw-r--r--   1 root     root          274 Jun 28 07:09 /workspace/src/Cargo.toml
  3539004      4 -rw-r--r--   1 root     root          612 Jun 28 07:09 /workspace/src/Cargo.lock
  3538950      4 drwxr-xr-x   2 root     root         4096 Jun 28 07:09 /workspace/src/src
  3538953      4 -rw-r--r--   1 root     root            8 Jun 28 07:09 /workspace/src/.gitignore
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 utf8-width v0.1.7
    Checking html-escape v0.2.13
    Checking html-page v0.4.0 (/workspace/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.97s
RUN: Action finished OK
RUN: Action CargoBuild
SPAWN: argv=["cargo", "build", "--offline", "--locked", "--workspace", "--all-targets"]
       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 utf8-width v0.1.7
   Compiling html-escape v0.2.13
   Compiling html-page v0.4.0 (/workspace/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.20s
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")]
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
     Running unittests src/lib.rs (/workspace/cache/debug/deps/html_page-d7a3b86544e07551)

running 29 tests
test test::can_add_attribute_to_element ... ok
test test::boolean_attribute_can_be_serialized ... ok
test test::add_child_to_element ... ok
test test::attribute_can_be_serialized ... ok
test test::can_add_boolean_attribute_to_element ... ok
test test::can_add_class_to_element ... ok
test test::can_add_same_class_twice_to_element ... ok
test test::can_create_element_with_attribute ... ok
test test::can_create_element_with_boolan_attribute ... ok
test test::can_two_classes_to_element ... ok
test test::can_unset_attribute_in_element ... ok
test test::creates_classy_element ... ok
test test::dangerous_attribute_value_is_esacped ... ok
test test::dangerous_text_is_escaped ... ok
test test::element_adds_first_class ... ok
test test::element_adds_second_class ... ok
test test::element_can_be_serialized ... ok
test test::element_has_correct_tag ... ok
test test::element_has_no_attributes_initially ... ok
test test::element_has_no_children_initially ... ok
test test::element_has_no_class_initially ... ok
test test::element_has_no_location_initially ... ok
test test::element_returns_no_value_for_missing_attribute ... ok
test test::element_with_location ... ok
test test::unset_attribute_is_unset ... ok
test test::visits_all_children ... ok
test test_element::empty_br ... ok
test test_element::empty_p ... ok
test test_tag::can_self_close ... ok

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

   Doc-tests html_page

running 4 tests
test src/lib.rs - HtmlPage (line 30) ... ok
test src/lib.rs - TextVisitor (line 752) ... ok
test src/lib.rs - Visitor (line 696) ... ok
test src/lib.rs - (line 12) ... ok

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

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-06-28T07:10:03Z INFO  ambient] ambient ends successfully